IP SLA EEM to reload router after ping failure

Hi,
I have created the below configuration but it seems to be failing to trigger the reload. Anybody can please comment what is missing here?
track 1 ip sla 10 reachability
delay down 180 up 40  ***** this is in sec - since ping freq is 10 sec , after 18 ping failure and 3 mnts track reachability will be down - it will wait 40 sec before declaring UP *****
ip sla 10
icmp-echo 172.20.20.153
threshold 450  **** in millisec it is threshold value - no action will be taken ****
timeout 500  **** in millisec it is icmp timeout *****
frequency 10  *** icmp ping every 10 sec *****
ip sla schedule 10 life forever start-time now
event manager applet Router-Reload
event track 1 state down
action 1.0 syslog msg "Reply timed out; Router will Reload"
action 1.1 cli command "enable"
action 1.2 cli command "reload"

It worked. Thanks Joseph.
So what was the issue with my approach. Is it the sequence number?

Similar Messages

  • EEM applet to reload router after ip is unreachable over time

    Hi
    I am trying to create an EEM applet that will track the reachability of a group of  IP addresses. The condition needs to be as followed:
    If the IP addresses become unreachable for about an 1 hour 15 minutes then reload the router. I have looked at the delay command using the IP SLA option but it only delays up to 180 seconds. Any Ideas?

    The applet that tracks your IP SLA objects (I'm guessing you have a tracked object that tracks a list of other objects) should configure another timer applet that counts down the time you want.  For example:
    event manager applet track-down event track 3 state down action 1.0 cli command "enable" action 2.0 cli command "config t" action 3.0 cli command "event manager applet countdown" action 3.1 cli command "event timer countdown time 4500" action 3.2 cli command "action 1.0 reload" action 4.0 cli command "end"!event manager applet track-up event track 3 state up action 1.0 cli command "enable" action 2.0 cli command "config t" action 3.0 cli command "no event manager applet countdown" action 4.0 cli command "end"

  • EEM script to Reload router 1 Time if Dial Fails

    We have a script we use to track objects and if access to these objects fails we reload the router 1 time (see it below). We want to now apply the same script in a different capacity for another customer for dial. If the router fails to connect after trying to round robin thru 4 toll free 800 numbers then reload the router.
    event manager applet vpn_tunnel_rebooter
    event none
    action 1.0 cli command "enable"
    action 2.0 cli command "config t"
    action 3.0 cli command "no event manager applet vpn_tunnel_unreachable"
    action 4.0 cli command "end"
    action 5.0 cli command "write mem"
    action 6.0 reload
    event manager applet vpn_tunnel_up
    event track 456 state up
    action 001 cli command "enable"
    action 002 cli command "config t"
    action 003 cli command "event manager applet vpn_tunnel_unreachable"
    action 004 cli command "event track 456 state down"
    action 005 cli command "action 1.0 policy vpn_tunnel_rebooter"
    action 006 cli command "end"
    Any ideas on how we might accomplish this? I have very little EEM experience :)
    1) Current Object tracking tracks 3 objects, If access to all three is down we go into a 180 sec delay down timer. If they remain down we switch over to dial backup.
    2) We round robin between 4 dial numbers and if access to all 4 fails, we want to reload router "ONE" time
    3) When it comes back up and objects are still unavailable we attempt to dial the 4 numbers again and if it also fails to connect "DO NOT" reload this time.

    Okay, these policies should do what you want. They are all untested as I do not have a dial backup setup. First, you need to register the following applets:
    event manager applet remove-dial-backup-watch
    event syslog pattern "SYS-5-RESTART"
    action 1.0 cli command "enable"
    action 2.0 cli command "config t"
    action 3.0 cli command "no event manager policy tm_check_dial_backup.tcl"
    action 4.0 cli command "end"
    event manager applet watch-track-down
    event track 456 state down
    action 1.0 syslog msg "Track 456 is down, waiting to see if dial backup comes up"
    action 2.0 cli command "enable"
    action 3.0 cli command "config t"
    action 4.0 cli command "event manager policy tm_check_dial_backup.tcl"
    action 5.0 cli command "end"
    event manager applet watch-track-up
    event track 456 state up
    action 1.0 syslog msg "Track 456 is up, removing dial backup watcher"
    action 2.0 cli command "enable"
    action 3.0 cli command "config t"
    action 4.0 cli command "no event manager policy tm_check_dial_backup.tcl"
    action 5.0 cli command "end"
    Then, you need to set an environment variable for the Tcl policy:
    dial_backup_numbers : Comma-separated list of numbers to check
    For example:
    event manager environment dial_backup_numbers 18667143757,18003179379,18886601039,18004434603
    Then INSTALL but do NOT register the attached Tcl policy. That is, copy the attached Tcl policy to your EEM user policy directory, but do not register it.
    Then everything should just work.

  • EEM config to monitor ping failure

    Hello All,
    Excellent forum...
    I'm hoping someone can help me with my configuration...
    I'm looking at setting up EEM on my switch to basically bounce a few selected ports once their is an ICMP failure.
    Ideally i'll be conected to the device being monitored, and once their is a failure (ICMP failure), I'll like to trigger a reset on a few ports on the switch .
    Anyt help would be greatly appreciated.
    B.K

    You can use IP SLA, object tracking, and EEM for this.  For example:
    ip sla 1
    icmp-echo 10.1.1.1
    ip sla schedule 1 life forever start now
    track 1 ip sla 1 reachability
    event manager applet ping-watch
    event track 1 state down
    action 1.0 cli command "enable"
    action 2.0 cli command "config t"
    action 3.0 cli command "int range gi0/1 - 4"
    action 4.0 cli command "shut"
    action 5.0 cli command "end"

  • IP SLA EEM Combination Pt3

    Hi Community,
    I have made some modifications myself to the EEM. Can someone please take a look at the following IP SLA - EEM combination and let me know why it won't work?
    ip sla 102
    icmp-echo 180.80.8.4 source-ip 180.80.8.3
    request-data-size 24
    tos 30  
    timeout 60000
    threshold 200
    owner NetFlow
    ip sla schedule 102 life forever start-time pending ageout 60
    ip sla reaction-configuration 102 react timeout threshold-type immediate
    ip sla enable reaction-alerts
    event manager applet ISPCheck
    event ipsla operation-id 102 reaction-type timeout
    action 1.0 if $_ipsla_condition eq Occurred
    action 2.0  cli command "enable"
    action 3.0  info type routername
    action 4.0  cli command "show ip int brief"
    action 5.0  mail server "150.50.5.2" to "[email protected]" from "[email protected]" subject "Internet Gateway Down on: $_info_routername" body "$_cli_result"
    action 6.0 else
    action 7.0  syslog msg "Primary Internet Circuit UP"
    action 8.0  mail server "150.50.5.2" to "[email protected]" from "[email protected]" subject "Internet Gateway UP on: $_info_routername" body "$_cli_result"
    action 9.0 end
    Cheers
    Carlton

    What about it doesn't work?  Is the policy not triggering?  Is the IPSLA operation not transitioning state?

  • How do I set up security on my linksys router after the i...

    How do I set up security on my linksys router after the install of a net gear wireless pc adapter?

    Setting up your wireless connection in your router.
    1.Open Internet Explorer and type 192.168.1.1 into the address bar.
    2.You will now get a sign-in box, User Name = (Leave Blank)
                                                           Password = admin (all lower case letters)
    3.Once the set-up page opens, click on the Wireless Tab as youwill need to change the settings. A) Wireless Network Mode = Mixed
                  B) Wireless Network Name (SSID) = Choose any name and do not use Linksys.
                  C) Wireless Channel = 1, 6 or 11 is best, so see which work best for you.
                  D) Wireless SSID Broadcast = Enabled.
    4. Now go to the bottom of the page and click on save settings.
    5. Click on the Wireless Security Sub tab.
                  A) Security Mode: WPA
                  B) WPA Algorithms: TKIP + AES
                  C) WPA Shared Key:  Type 24 letters, and numbers using lower and upper case letters
                  D) Group Key Renewal: 3600
    6. Once again go to the bottom of the page and click on Save Settings.
    7. Now you can close out of this page.
    8. You will now need to enter the security info into your computer. I will now give you 2 links, depending which operating system you have, Vista or XP you will follow the one you have.
    Vista = http://www.home-network-help.com/wireless-adapter-configuration-in-vista.html
    XP = http://www.home-network-help.com/wireless-adapter.html
    Now try to make a wireless connection.
    Good Luck,
    Ttech

  • When I click on the button to download the new IOS software, I get a message saying that all the items on my iTouch will be removed.  Will I have to reload everything after updating the software?

    When I click on the button to download the new IOS software, I get a message saying that all the items on my iTouch will be removed.  Will I have to reload everything after updating the software?  Because I had to have my hard drive wiped a while back, I have items on my iTouch that are not in my iTunes.  Is there a way to copy everything on the iTouch into iTunes, if necessary, before I load the new software?

    It is possible to transfer purchases from your iPod back into iTunes before updating the OS. If you had any CDs from your personal collection, these you have to put back into iTunes manually. Hope this helps you & good luck!

  • No automatic connection to a wireless router after startup!

    After adding a new wireless router to my home network an iMac G5 does not automatically connect to the wireless network after startup.
    And so the story began: I'm running a wireless network for years without problems at my home. The wireless router is a Orinoco 102.11b with 128-Bit WEP encryption and I have 4 different Mac connected to it.
    Because I wanted to use the higher 54 MBit/s speed and a more secure encryption for my network I've installed a LINKSYS wireless router and configured it for 102.11g and WPA2.
    Everything worked fine except the automatic connection after restart on my iMac G5 running Mac OS 10.4.10. I can connect to the new wireless router but I have to do it manually after each restart. The password is therefore stored in the login keychain. The connection can be established automatically after sleep but not after startup...
    So I switchted the connection back to the old router and got unfortunately the same behaviour. The iMac does not connect any more automatically to the router after startup. I removed the new router from the network, deleted all wireless passwords from the system and login keychains, created new keychains, switched back and forth the preferred vs. automatic network selection, created new locations, changed the root password and so on...
    It seems that the new password entry in the system keychain causes an error in the password encryption of the system keychain which prevents the automatic connection to the network after startup. Replacing the keychains from my backup does not work either after I've once created a the system keychain.
    Is there any log file, which may proof my assumption or can give me some more information of the erroneous login process to the wireless network during startup.

    One thing that can work, try this, *please ignore the exact symptoms and connection and Hardware types*, it's worked for many others than the stated...
    http://docs.info.apple.com/article.html?artnum=304482

  • Wrt1900ac (I changed the local ip of the router after a power outage)

    I changed the local ip of the router after a power outage,which brings me a lot of trouble because I have everything set up based on a class C network (192.168.1.x) and I changed it to a ip Type A (10.xxx), someone happens the same there any solution ?

    Hi juanmanuelvazquez. Have you tried to do a hard reset to the unit and reinstall it from scratch?  I suggest that you do so as power interruption normally brings the router back to default settings thereby messing up the network. To do the proper reset, please press down the reset button at the back of the router for 30 seconds while the device is powered on. Release the button and unplug the device. Reinstall everything from scratch.
    Hope that helps.

  • Configuring IP SLA in cisco 3925 router.

    HI Team.we need to configuring IP SLA in cisco 3925 router with c3900-universalk9-mz.SPA.151-4.M4.bin ios. For Monitoring purpose. Earlier we have used the rtr command for the same. Now we are going with new Cisco 3925 router. with the above mentioned IOS. Pls suggest whether we can configure the IP SLA in the router with Licence. Or We need to buy the licence for the ame.
    Posted by WebUser Ramkumar Selvaraj from Cisco Support Community App

    Hi
    I think the command has been updated - rather than 'rtr responder' it's now 'ip sla responder'.
    I don't believe you need any particular feature set.
    Also, this is a 'Contact Center' forum - you would get more responses in other places.
    Regards
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • I can't find my harddrive when i try to reload OS after i relaced hard drive, How do i find it?

    How do I find my hard drive when i try to reload OS after i replaced it?

    Insert your Original OS X Install or Upgrade Disc and startup holding the Option Key. > Startup Manager: How to select a startup volume
    Startup from the Install Disk and open (depending on the install disc version) Utilities > Disk Utility.
    Next you will need to use Disk Utility to set the new drives Partition Map Scheme to GUID Partition Table and it's Format to Mac OS Extended (Journaled).
    Then you will need to reinstall the OS X either from your backup Clone, Time Machine or fresh from the Install Disc.
    Dennis

  • WRT54G, Firmware Version: 8.00.2, Stops routing after a day, Requires Power Cycle to Work Properly

    WRT54G, Firmware Version: 8.00.2, Stops routing after a day, requires a quick 10-15 second power cyc... work properly for a day or so before powering down again….
    I was using for years the BEFW11S4 Model without any issues before it finally failed. Due to loyalty, I went out over a month ago to purchase the current model. The problems did not pop-up until month of December… The issue had me thinking at first was the internet connection…
    Any advice on dealing with this issue… Is it a Software and/or Hardware? It appears to be a software related condition…
    For those other WRT54G users that appear to be having similar issues, regardless of the firmware, it would appear we all seem to be facing the same condition of resolving the issue after a power cycle…
    Is there anyone out there that has already resolved this issue (e.g. Configuration changes)? Does anyone have input that Linksys is actively working on this issue?
    Although I am sure we will find a solution, having to cycle the power is a bit disappointing since my older model had no such flaws with my current internet connection…
    Thanks for the support out there….

    If you have an Intel wireless card you can try this.  I came across this link on the forum a days ago and it seems to help.  The problem is that my problem was much more intermittent than some people are experiencing.  It mainly seemed to appear when undocked the computer or if there was a power outage during the day.  I would be interested to see if it works for you or if I'm just chasing my tail.  I've seen other suggestions for changing the thresholds in the router which may be related.
    http://www.intel.com/support/wireless/wlan/sb/cs-006205.htm

  • Linksys Easy Link Advisor for WRT310N Wireless Router after upgrading to Windows 7 (64bit)

    I can't reinstall Linksys Easy Link Advisor for WRT310N Wireless Router after upgrading to Windows 7 (64bit).  When I went to Linksys site for solution for new drivers, it asked me for Hardware Version Number.  This model doesn't show one.  Any thoughts?
    Thanks!

    Sabertooth is right. If you are able to go online from your Router then you don't need to install LELA software on your Computer.

  • I have a MacBookPro with Yosemite and Safari won't recognize the router after sleep unless I restart the computer.

    I have a MacBookPro with Yosemite and Safari won't recognize the router after sleep unless I restart the computer.
    OS X 10.10.1. 
    Safari Version 8.0 (10600.1.25.1)
    WiFi router connects with mail but not Safari

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Featurs appin the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    - Try on another computer to help determine if computer or iPod problem

  • RE1000 power light blinking after power failure

    I've tried the 8 sec reset and the 30-30-30 reset but can't get the light to stop blinking and so can't connect to the unit. It was working fine before the power went out. Any suggestions?

    I had the same issue after a power outage today. I online live chat with an agent for about 15 minutes until he provided me three options all about that I would have to pay extra to get it replaced or fixed because mine was just out of warranty yesterday. I was lucky enough because mine RE1000 was not dead completely. I followed the instructions in this community and restored its service successfully.
    Here is what I did.
    1. Reset the extender by 30-30-30 method. The LED still blinked after reset.
    2. Turned off wifi on my laptop and assign a static IP on my laptop: 192.168.1.x. Ping RE's default gateway 192.168.1.1 with an Ethernet connection. It returned good result.
    3. Log on Web Admin Page and I was prompted to upload its firmware. Followed the screen instruction to upload the firmware that I already downloaded previously. Waited until everything was finished and it rebooted. Volla. It was back to life.
    I guess it might have lost the firmware somehow after power failure. Is there a battery inside the extender to power the flash rom?
    Here are few instructions I followed up:
    http://kb.linksys.com/Linksys/ukp.aspx?vw=1&docid=ca96fc48798d43489b4d16f9d77c14f9_Guidelines_in_Man...
    http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=25153
    http://kb.linksys.com/Linksys/ukp.aspx?vw=1&docid=7e4956723e074191bdf33777314ddfd8_3998.xml&pid=80&r...
    Cisco/Linksys/Berkin, you **bleep**. It is not that easy to rob my money what I earn by hard work.
    Thanks for all advice and good luck.

Maybe you are looking for

  • Transferring from Old HDD to SSD

    So, while I'm not a beginner with software development on Linux or using standard UNIX tools, I am very new with ArchLinux. I've been running a setup of mine for a few months on a hard drive in my old Fujitsu T5010 laptop. I bought a Crucial 256 GB S

  • How i retrieve the default setting for my browser ?

    when i download any file from firefox browser there a small box that ask you if you want to from your browser to do the same action for files like the file you are downloaded automatically, i did that and i wont to retrieve the old sitting i tried to

  • MacBook Pro + Quicktime Pro = None?

    Hi there, Got my MacBookPro 17" lately and only now i realized the QT is not Pro... any ideas?

  • Quality Notifications - Items / tasks / activities / overview / causes / ..

    Hi PLM specialists, I do have a question concerning quality notification, type F2 - vendor error. I do get the following tabs: reference objects, subject, processing: that's clear. But there are also these tabs: items, tasks, activities. The tab item

  • Output on Condition

    I have in two columns as Operation, Station. Input Operation  Station 10              a 10              1 10              2        11              1 11              2 12              1 12              3 14              2 15              1 15