controller Cellular 0 gsm sim max-retry 5 gsm failovertimer 5 gsm gps mode standalone no cdp run ! track 10 ip sla 10 ! track 20 ip sla 20 ! track 30 ip sla 30 reachability
interface Cellular0 description <[ 3G Interface ]> ip ddns update dyndns ip address negotiated ip access-group INTERNET_IN in ip access-group INTERNET_OUT out no ip redirects no ip unreachables no ip proxy-arp ip flow ingress ip nat outside ip inspect INTERNET_FW out ip virtual-reassembly in encapsulation slip dialer in-band dialer idle-timeout 0 dialer string hspa-R7 dialer string 3G-SIM dialer-group 1 async mode interactive crypto map CLIENTMAP
ip sla auto discovery ip sla 10 icmp-echo 18.104.22.168 frequency 480 timeout 15000 ip sla schedule 10 life forever start-time now ip sla 20 icmp-echo 22.214.171.124 frequency 300 timeout 15000 ip sla schedule 20 life forever start-time now ip sla 30 icmp-echo 126.96.36.199 frequency 1800 ip sla schedule 30 life forever start-time now logging history debugging dialer-list 1 protocol ip permit
line 3 exec-timeout 0 0 script dialer 3G-SIM modem InOut no exec transport input all rxspeed 21600000 txspeed 5760000
You don't need to do some of this. Try this applet instead:
event manager applet 3G-FAIL event track 10 state down action 1.1 if $_track_state eq "down" action 1.2 cli command "enable" action 1.4 cli command "clear interface cellular 0" action 1.5 cli command "cellular 0 gsm sim activate slot 0" action 1.6 end event manager applet 3G-failover event track 20 state down action 2.1 if $_track_state eq "down" action 2.2 cli command "enable" action 2.4 cli command "clear interface cellular 0" action 2.5 cli command "cellular 0 gsm sim activate slot 1" action 2.6 end event manager applet 3G-Loss event track 30 state down action 3.1 if $_track_state eq "down" action 3.2 reload action 3.6 end
I'm also not sure the track 30 is doing what you want. Just because the IPSLA collector runs every 1800 seconds, doesn't mean that a failure has anything do with 1800 seconds. Meaning, that if the collector happens to run at the moment Google is unreachable, then the router will reload. Is that what you want?
Okay. It's just the way you have the IPSLA config now, if Google is unreachable for five seconds, the router reloads. The other collectors wouldn't even have a chance to timeout. I think you want to add a timeout parameter to collector 30.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.