09-23-2022 08:39 AM
Hello,
I'm new to cisco routers and I am trying to solve an issue. I have an IR829 router with an AT&T sim-card for cellular connection. When I configure the cellular interface and establish a connection, I receive an auto assigned IP address. Whenever the router is powered down or reloaded, it does not automatically receive another IP address from the cellular connection until I manually tell it to. It just stays unassigned leaving me unable to communicate to the router through cellular. Is there a way to have it automatically establish the connection without any interaction on the command or is this not possible?
Thanks
Solved! Go to Solution.
09-23-2022 09:35 AM
09-23-2022 08:43 AM
until I manually tell it to.
menas are you manually intiating this to work ? what command ?
in that case you can use EEM Script to reset the cellular connetion based on the status.
09-23-2022 09:01 AM - last edited on 09-25-2022 10:42 PM by Translator
So for example, I go into the Cellular 1/0 interface and do
shut >> no shut
to have it go down and back up. After this, its assigned an IP from the cellular network.
I haven't looked into EEM Scripts but if it can do the following above, then I'll use that.
09-23-2022 09:35 AM
09-23-2022 01:26 PM
The eem scripting worked! Thank you so much.
09-23-2022 01:51 PM - last edited on 09-25-2022 10:43 PM by Translator
Hello,
since you say you need this only when the router reboots or is reloaded, you could also use the scripts below:
event manager applet Bounce_Cell_On-Boot
event syslog pattern "SYS-5-RESTART"
event timer countdown time 30
action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "interface Cellular0"
action 4.0 cli command "shutdown"
action 5.0 cli command "interface Cellular0"
action 6.0 cli command "no shutdown"
action 7.0 cli end
event manager applet Bounce_Cell_On-Boot
event timer cron cron-entry "@reboot"
event timer countdown time 30
action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "interface Cellular0"
action 4.0 cli command "shutdown"
action 5.0 cli command "interface Cellular0"
action 6.0 cli command "no shutdown"
action 7.0 cli end
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide