cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
741
Views
0
Helpful
1
Replies
Highlighted
Beginner

EEM - RELOAD MODEM - WHEN TRACK IS DOWN

Hello, I want to reset the modem, after some time when the ICMP it does not respond.

 

I did a fail, and the track is down when the regexp detect "...", if I wait until the Count is 15, it works, and the modem will be reset.

but if I cancel the fail and regexp detect  other pattern diferente "..." in this case "!!!", it does not work, never enter to ########elseif $_regexp_result ne 1########

 

 

event manager applet RELOAD_MODEM_4
event track 200 state down maxrun 100000
action 001 cli command "enable"
action 002 set Count "0"
action 003 while $Count lt 15
action 004 wait 10
action 005 puts "Count = $Count"
action 006 cli command "ping 148.245.106.252 repeat 3"
action 007 regexp "..." "$_cli_result"
action 008 if $_regexp_result eq 1
action 009 increment Count 1
action 010 puts "WHILE-1"
action 011 elseif $_regexp_result ne 1
action 012 increment Count 200
action 013 puts "WHILE-2"
action 014 end
action 015 end
action 016 puts "ANTES DE IF = $Count"
action 017 if $Count le 20
action 018 puts "DURANTE DE IF"
action 019 cli command "sh clock | append flash:LISTO.TXT"
action 020 cli command "test cellular 0 modem-reset"
action 021 end
action 022 puts "DESPUES DE IF"

 

 

 

###########################DEBUG #################################

 


Router_Spoke#no debug all
All possible debugging has been turned off
Router_Spoke#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router_Spoke(config)#no event manager applet RELOAD_MODEM_4
%EEM: No such applet RELOAD_MODEM_4
Router_Spoke(config)#event manager applet RELOAD_MODEM_4
Router_Spoke(config-applet)# event track 200 state down maxrun 100000
Router_Spoke(config-applet)# action 001 cli command "enable"
Router_Spoke(config-applet)# action 002 set Count "0"
Router_Spoke(config-applet)# action 003 while $Count lt 15
Router_Spoke(config-applet)# action 004 wait 10
Router_Spoke(config-applet)# action 005 puts "Count = $Count"
Router_Spoke(config-applet)# action 006 cli command "ping 148.245.106.252 repeat 3"
Router_Spoke(config-applet)# action 007 regexp "..." "$_cli_result"
Router_Spoke(config-applet)# action 008 if $_regexp_result eq 1
Router_Spoke(config-applet)# action 009 increment Count 1
Router_Spoke(config-applet)# action 010 puts "WHILE-1"
Router_Spoke(config-applet)# action 011 elseif $_regexp_result ne 1
Router_Spoke(config-applet)# action 012 increment Count 200
Router_Spoke(config-applet)# action 013 puts "WHILE-2"
Router_Spoke(config-applet)# action 014 end
Router_Spoke(config-applet)# action 015 end
Router_Spoke(config-applet)# action 016 puts "ANTES DE IF = $Count"
Router_Spoke(config-applet)# action 017 if $Count le 20
Router_Spoke(config-applet)# action 018 puts "DURANTE DE IF"
Router_Spoke(config-applet)# action 019 cli command "sh clock | append flash:LISTO.TXT"
Router_Spoke(config-applet)# action 020 cli command "test cellular 0 modem-reset"
Router_Spoke(config-applet)# action 021 end
Router_Spoke(config-applet)# action 022 puts "DESPUES DE IF"
Router_Spoke(config-applet)#
Router_Spoke(config-applet)#ip route 148.245.106.252 255.255.255.255 192.168.0.1
Router_Spoke(config)#end
Router_Spoke#debug event manager all
009402: .Jun 6 13:08:19: %SYS-5-CONFIG_I: Configured from console by oswaldo on vty0 (189.211.38.195)
009403: .Jun 6 13:08:43: %TRACK-6-STATE: 200 ip sla 200 state Up -> Dow
All possible Embedded Event Manager debugging has been turned on
Router_Spoke#
Router_Spoke#
Router_Spoke#sh track
Track 11
IP SLA 11 reachability
Reachability is Down
7 changes, last change 06:41:29
Delay up 180 secs, down 180 secs
Latest operation return code: Timeout
Track 77
IP SLA 77 reachability
Reachability is Down
1 change, last change 1d03h
Latest operation return code: Unknown
Track 200
IP SLA 200 state
State is Down
49 changes, last change 00:00:09
Delay up 10 secs, down 10 secs
Latest operation return code: Timeout
Tracked by:
EEM applet RELOAD_MODEM_4
Router_Spoke#
009404: .Jun 6 13:08:53.286: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009405: .Jun 6 13:08:53.286: check_eem_cli_policy_handler: command_string=show track
009406: .Jun 6 13:08:53.286: check_eem_cli_policy_handler: num_matches = 0, response_code = 1
009407: .Jun 6 13:08:53.286: fh_track_client_string: ref_num=557458312, string=applet RELOAD_MODEM_4
009408: .Jun 6 13:08:53.758: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Type escape sequence to abort.
009409: .Jun 6 13:08:53.758: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Sending 3, 100-byte ICMP Echos to 148.245.106.252, timeout is 2 seconds:
009410: .Jun 6 13:08:53.758: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : ...
009411: .Jun 6 13:08:53.758: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Success rate is 0 percent (0/3)
009412: .Jun 6 13:08:53.758: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Router_Spoke#
009413: .Jun 6 13:08:53.966: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 0
009414: .Jun 6 13:08:53.966: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009415: .Jun 6 13:08:53.966: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009416: .Jun 6 13:08:53.966: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009417: .Jun 6 13:08:59.998: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Type escape sequence to abort.
009418: .Jun 6 13:08:59.998: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Sending 3, 100-byte ICMP Echos to 148.245.106.252, timeout is 2 seconds:
009419: .Jun 6 13:08:59.998: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : ...
009420: .Jun 6 13:08:59.998: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Success rate is 0 percent (0/3)
009421: .Jun 6 13:08:59.998: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Router_Spoke#
009422: .Jun 6 13:08:59.998: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009423: .Jun 6 13:09:00.002: fh_fd_timer_process_async
009424: .Jun 6 13:09:09.997: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 1
009425: .Jun 6 13:09:09.997: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009426: .Jun 6 13:09:09.997: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009427: .Jun 6 13:09:09.997: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009428: .Jun 6 13:09:13.757: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009429: .Jun 6 13:09:13.757: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009430: .Jun 6 13:09:13.757: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009431: .Jun 6 13:09:16.024: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Type escape sequence to abort.
009432: .Jun 6 13:09:16.024: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Sending 3, 100-byte ICMP Echos to 148.245.106.252, timeout is 2 seconds:
009433: .Jun 6 13:09:16.024: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : ...
009434: .Jun 6 13:09:16.024: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Success rate is 0 percent (0/3)
009435: .Jun 6 13:09:16.024: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Router_Spoke#
009436: .Jun 6 13:09:16.024: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009437: .Jun 6 13:09:19.796: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Type escape sequence to abort.
009438: .Jun 6 13:09:19.796: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Sending 3, 100-byte ICMP Echos to 148.245.106.252, timeout is 2 seconds:
009439: .Jun 6 13:09:19.796: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : ...
009440: .Jun 6 13:09:19.796: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Success rate is 0 percent (0/3)
009441: .Jun 6 13:09:19.796: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#no debug all
All possible debugging has been turned off
Router_Spoke#
Router_Spoke#
009442: .Jun 6 13:09:26.024: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 2
Router_Spoke#
Router_Spoke#
009443: .Jun 6 13:09:26.024: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009444: .Jun 6 13:09:26.024: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009445: .Jun 6 13:09:26.024: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009446: .Jun 6 13:09:26.272: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009447: .Jun 6 13:09:26.272: check_eem_cli_policy_handler: command_string=no debug all
009448: .Jun 6 13:09:26.272: check_eem_cli_policy_handler: num_matches = 0, response_code = 1
009449: .Jun 6 13:09:32.051: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#sh ip sla
Router_Spoke#sh ip sla sum
IPSLAs Latest Operation Summary
Codes: * active, ^ inactive, ~ pending

ID Type Destination Stats Return Last
(ms) Code Run
-----------------------------------------------------------------------
*11 icmp-echo 11.215.15.165 - Timeout 27 seconds ag
o



*100 icmp-echo 148.245.106.252 - Timeout 27 seconds ag
o



*200 icmp-echo 148.245.106.252 - Timeout 12 seconds ag
o


Router_Spoke#sh track
Track 11
IP SLA 11 reachability
Reachability is Down
7 changes, last change 06:42:16
Delay up 180 secs, down 180 secs
Latest operation return code: Timeout
Track 77
IP SLA 77 reachability
Reachability is Down
1 change, last change 1d03h
Latest operation return code: Unknown
Track 200
IP SLA 200 state
State is Down
49 changes, last change 00:00:56
Delay up 10 secs, down 10 secs
Latest operation return code: Timeout
Tracked by:
EEM applet RELOAD_MODEM_4
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router_Spoke(config)#
Router_Spoke(config)#no
009450: .Jun 6 13:09:42.050: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 3ip route 148.245.106.252 255.255.255.255 192.168.0.1
Router_Spoke(config)#
Router_Spoke(config)#
Router_Spoke(config)#
Router_Spoke(config)#end
Router_Spoke#debug ev
009451: .Jun 6 13:09:45: %SYS-5-CONFIG_I: Configured from console by oswaldo on vty0 (189.211.38.195)
Router_Spoke#debug event
Router_Spoke#debug event
009452: .Jun 6 13:09:47.390: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1m
Router_Spoke#debug event
Router_Spoke#debug eventma
Router_Spoke#debug event ma
Router_Spoke#debug event manager a
Router_Spoke#debug event manager a
Router_Spoke#debug event manager al
Router_Spoke#debug event manager all
All possible Embedded Event Manager debugging has been turned on
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
009453: .Jun 6 13:09:57.389: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 4
009454: .Jun 6 13:09:57.389: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009455: .Jun 6 13:09:57.389: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009456: .Jun 6 13:09:57.389: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009457: .Jun 6 13:09:58.821: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Type escape sequence to abort.
009458: .Jun 6 13:09:58.821: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Sending 3, 100-byte ICMP Echos to 148.245.106.252, timeout is 2 seconds:
009459: .Jun 6 13:09:58.821: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : !!!
009460: .Jun 6 13:09:58.821: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Success rate is 100 percent (3/3), round-trip min/avg/max = 396/454/508 ms
009461: .Jun 6 13:09:58.821: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Router_Spoke#
009462: .Jun 6 13:09:58.821: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009463: .Jun 6 13:09:58: %TRACK-6-STATE: 200 ip sla 200 state Down -> Up
009464: .Jun 6 13:09:58.961: fh_track_object_changed: Track notification 200 state up
009465: .Jun 6 13:09:59.997: fh_fd_timer_process_async
009466: .Jun 6 13:10:00.001: fh_fd_timer_process_async
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
009467: .Jun 6 13:10:05.828: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009468: .Jun 6 13:10:05.828: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009469: .Jun 6 13:10:05.828: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009470: .Jun 6 13:10:07.560: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Type escape sequence to abort.
009471: .Jun 6 13:10:07.560: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Sending 3, 100-byte ICMP Echos to 148.245.106.252, timeout is 2 seconds:
009472: .Jun 6 13:10:07.560: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : !!!
009473: .Jun 6 13:10:07.560: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Success rate is 100 percent (3/3), round-trip min/avg/max = 460/573/640 ms
009474: .Jun 6 13:10:07.560: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Router_Spoke#
009475: .Jun 6 13:10:08.820: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 5
009476: .Jun 6 13:10:08.820: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009477: .Jun 6 13:10:08.820: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009478: .Jun 6 13:10:08.820: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009479: .Jun 6 13:10:10.552: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Type escape sequence to abort.
009480: .Jun 6 13:10:10.552: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Sending 3, 100-byte ICMP Echos to 148.245.106.252, timeout is 2 seconds:
009481: .Jun 6 13:10:10.552: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : !!!
009482: .Jun 6 13:10:10.552: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Success rate is 100 percent (3/3), round-trip min/avg/max = 480/572/620 ms
009483: .Jun 6 13:10:10.552: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Router_Spoke#
009484: .Jun 6 13:10:10.552: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009485: .Jun 6 13:10:20.587: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 6
009486: .Jun 6 13:10:20.587: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009487: .Jun 6 13:10:20.587: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009488: .Jun 6 13:10:20.587: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009489: .Jun 6 13:10:22.319: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Type escape sequence to abort.
009490: .Jun 6 13:10:22.319: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Sending 3, 100-byte ICMP Echos to 148.245.106.252, timeout is 2 seconds:
009491: .Jun 6 13:10:22.319: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : !!!
009492: .Jun 6 13:10:22.319: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Success rate is 100 percent (3/3), round-trip min/avg/max = 468/565/620 ms
009493: .Jun 6 13:10:22.319: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : OUT : Router_Spoke#
009494: .Jun 6 13:10:22.319: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#no debug all
All possible debugging has been turned off
Router_Spoke#
009495: .Jun 6 13:10:27.586: %HA_EM-6-LOG: RELOAD_MODEM_4 : DEBUG(cli_lib) : : IN : Router_Spoke#ping 148.245.106.252 repeat 3
009496: .Jun 6 13:10:27.586: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009497: .Jun 6 13:10:27.586: eem_no_scan flag set, skipping scan of command_string=ping 148.245.106.252 repeat 3
009498: .Jun 6 13:10:28.534: cli_history_entry_add: free_hist_list size=0, hist_list size=7
009499: .Jun 6 13:10:28.534: check_eem_cli_policy_handler: command_string=no debug all
009500: .Jun 6 13:10:28.534: check_eem_cli_policy_handler: num_matches = 0, response_code = 1
Router_Spoke#
Router_Spoke#
009501: .Jun 6 13:10:32.318: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 7
009502: .Jun 6 13:10:34.050: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009503: .Jun 6 13:10:44.049: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 8
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
009504: .Jun 6 13:10:45.689: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009505: .Jun 6 13:10:55.688: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 9
009506: .Jun 6 13:10:57.420: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009507: .Jun 6 13:11:07.419: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 10
009508: .Jun 6 13:11:09.155: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009509: .Jun 6 13:11:19.154: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 11
009510: .Jun 6 13:11:20.690: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009511: .Jun 6 13:11:30.717: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 12
009512: .Jun 6 13:11:32.249: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009513: .Jun 6 13:11:42.248: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 13
009514: .Jun 6 13:11:43.788: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009515: .Jun 6 13:11:53.787: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 14
009516: .Jun 6 13:11:55.819: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009517: .Jun 6 13:11:55.819: %HA_EM-6-LOG: RELOAD_MODEM_4: ANTES DE IF = 15
009518: .Jun 6 13:11:55.819: %HA_EM-6-LOG: RELOAD_MODEM_4: DURANTE DE IF
009519: .Jun 6 13:11:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel100, changed state to down
009520: .Jun 6 13:11:58: %LINK-5-CHANGED: Interface Cellular0, changed state to reset
009521: .Jun 6 13:11:59: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0, changed state to down
009522: .Jun 6 13:12:03: %LINK-3-UPDOWN: Interface Cellular0, changed state to down
009523: .Jun 6 13:12:04: %CISCO800-2-MODEM_DOWN: Cellular0 modem is now DOWN.
009524: .Jun 6 13:12:08.802: %HA_EM-6-LOG: RELOAD_MODEM_4: DESPUES DE IF
009525: .Jun 6 13:12:14: %TRACK-6-STATE: 200 ip sla 200 state Up -> Down
009526: .Jun 6 13:12:24.040: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 0
009527: .Jun 6 13:12:29: %CISCO800-2-MODEM_UP: Cellular0 modem is now UP.
009528: .Jun 6 13:12:30.096: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009529: .Jun 6 13:12:40.095: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 1
009530: .Jun 6 13:12:46.122: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009531: .Jun 6 13:12:56.122: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 2
009532: .Jun 6 13:13:02.149: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009533: .Jun 6 13:13:12.148: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 3
009534: .Jun 6 13:13:18.176: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009535: .Jun 6 13:13:28.175: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 4
009536: .Jun 6 13:13:34.222: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009537: .Jun 6 13:13:44.221: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 5
Router_Spoke#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router_Spoke(config)#
009538: .Jun 6 13:13:50.249: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1no event manager applet RELOAD_MODEM_4
Router_Spoke(config)#
Router_Spoke(config)#
Router_Spoke(config)#
Router_Spoke(config)#end
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
009539: .Jun 6 13:13:54: %SYS-5-CONFIG_I: Configured from console by oswaldo on vty0 (189.211.38.195)
009540: .Jun 6 13:14:00.260: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 6
009541: .Jun 6 13:14:00: %LINK-3-UPDOWN: Interface Cellular0, changed state to up
009542: .Jun 6 13:14:00: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel100, changed state to up
009543: .Jun 6 13:14:01: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0, changed state to up
009544: .Jun 6 13:14:02.892: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009545: .Jun 6 13:14:12.891: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 7
009546: .Jun 6 13:14:14.623: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009547: .Jun 6 13:14:19: %TRACK-6-STATE: 200 ip sla 200 state Down -> Up
009548: .Jun 6 13:14:24.622: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 8
009549: .Jun 6 13:14:26.254: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009550: .Jun 6 13:14:36.257: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 9
009551: .Jun 6 13:14:37.989: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009552: .Jun 6 13:14:47.988: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 10
009553: .Jun 6 13:14:49.520: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009554: .Jun 6 13:14:59.519: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 11
009555: .Jun 6 13:15:01.151: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009556: .Jun 6 13:15:11.150: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 12
009557: .Jun 6 13:15:12.682: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009558: .Jun 6 13:15:22.681: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 13
009559: .Jun 6 13:15:24.213: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009560: .Jun 6 13:15:34.212: %HA_EM-6-LOG: RELOAD_MODEM_4: Count = 14
009561: .Jun 6 13:15:36.144: %HA_EM-6-LOG: RELOAD_MODEM_4: WHILE-1
009562: .Jun 6 13:15:36.144: %HA_EM-6-LOG: RELOAD_MODEM_4: ANTES DE IF = 15
009563: .Jun 6 13:15:36.144: %HA_EM-6-LOG: RELOAD_MODEM_4: DURANTE DE IF
009564: .Jun 6 13:15:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel100, changed state to down
009565: .Jun 6 13:15:38: %LINK-5-CHANGED: Interface Cellular0, changed state to reset
009566: .Jun 6 13:15:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0, changed state to down
009567: .Jun 6 13:15:43: %LINK-3-UPDOWN: Interface Cellular0, changed state to down
009568: .Jun 6 13:15:44: %CISCO800-2-MODEM_DOWN: Cellular0 modem is now DOWN.
009569: .Jun 6 13:15:49.119: %HA_EM-6-LOG: RELOAD_MODEM_4: DESPUES DE IF
009570: .Jun 6 13:15:54: %TRACK-6-STATE: 200 ip sla 200 state Up -> Down
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
009571: .Jun 6 13:16:09: %CISCO800-2-MODEM_UP: Cellular0 modem is now UP.
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#
Router_Spoke#

1 REPLY 1
Highlighted
Beginner

Its works... tks

 

regexp "\.\.\." "$_cli_result"

Content for Community-Ad