Tap closed/no using ip sla with applet interface EEM

Hello

I have to come up with a script of 'close' a particular interface on a router (3945E running IOS 15.0) when a link falls down and also "not closed" after the link back to the top. That's what I have so far.

track 1 accessibility of sla 10 ip

delay 10 10

!

ALS IP 10

echo ICMP - 192.168.0.1 - interface source GigabitEthernet 0/1

frequency 30

Annex IP SLA 10 life never start-time now

!

drop-down link Event Manager applet

event track 1 State

action message 1.0 syslog ' response timed out; Link is down.

command action 1.1 cli 'enable '.

Action 1.2 "conf t" cli command

Action 1.3, command cli "g0/0 interface.

action 1.4 'closed' cli command

Action 1.5 cli command "end".

Action 1.6 syslog msg "stop GigabitEthernet 0/1 Interface.

Link-Up event manager applet

Event State track 1

message from syslog to action 1.0 "Ping received; Link's up. "

command action 1.1 cli 'enable '.

Action 1.2 "conf t" cli command

Action 1.3, command cli "g0/0 interface.

action 1.4 cli command 'no shut '.

Action 1.5 cli command "end".

Action 1.6 syslog msg 'Interface GigabitEthernet 0/1 upward.

I have to go to a remote site and get this working in a maintenance window short but unfortunately I have no way to test it and I don't want to go blind. So if someone could check that the script works with my version of the IOS, it'll be great.

This will work, but your syslog message seems to indicate that the wrong interface is shutting down.  You must also 'Manager event session cli USER username' If your router uses the AAA command authorization.

Tags: Cisco Network

Similar Questions

  • HP g60 with Windows Vista guard closing in use

    computer HP G60 (Vista) keeps closing in use. I am also attaching an external fan. How can I fix

    Hi Chesterhenlin,

    ·         How long have you been faced with this problem?

    ·         You did it all changes before the show?

    Follow the steps below for a possible solution:

    Method 1:

    Step 1: Start in safe mode and check if the problem persists.

     

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Step 2: If the problem does not occur in safe mode, you can put your system to boot (in normal mode) to solve the problem.

     

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2: The Advanced Boot Options screen lets you start Windows in advanced troubleshooting mode. You can access the menu by turning on your computer and pressing the F8 key before Windows starts.

    Starting in the advanced startup options and disable the auto reboot and capture the error message.

    Prevents Windows from automatically restarting if an error of Windows to fail. Choose that this option only if Windows is stuck in a loop where Windows fails, attempts to restart, and fails again repeatedly.

    Also, check the event viewer.

    What are the information in event logs? (Event Viewer)

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-information-appears-in-event-logs-Event-Viewer

    Hope this information helps.

  • Using Migration Assistant with no display

    I got my MacBook mid-2010 (2.4 GHz, 4 GB RAM, OS X El Capitan) for 2 years.

    It splits into two somewhere within 2 years.

    The MacBook was still usable, but it had to be on a desk. The screen was completely separate from the base. It still worked.

    I woke up a few days ago to find that someone had cut the display cable holding the MacBook set and turn on the screen.

    I bought an early-2011 13 "MacBook Pro to replace the dead MacBook. (Yes, I buy old Mac because the news is so expensive).

    Old Mac has been saved semi regularly, so I have an old backup to use for the new Mac. The problem is that just before the death of the former Mac, I downloaded a bunch of stuff that has not been saved. I really want the files that have not been backed up on my new MBP.

    Can I use Migration Wizard with an Ethernet cable and transfer of data from one, or Migration Assistant must be running on old Mac as well?

    I tried to connect (I'm sure that the computer is still running, it doesn't simply have a display) on the old Mac, plug the backup drive and I hope to do a backup hourly, but Time Machine did not only.

    Any suggestions would be GREATLY appreciated.

    If you use Ethernet or a wireless network to transfer data, Yes. If you can not download the files and file-sharing has not been activated on the old Mac, you must either get fixed display or put its internal drive in a closed Chamber.

    (143074)

  • Can I upgrade to iOS 10 using a Mac with OS (10.8.5) Mountain Lion?

    Can someone tell me if I can sync to my iPhone 6 with iTunes using a Mac with the (10.8.5) Mountain Lion?

    This is what Apple is the list for the iPhone 7 that runs iOS 10.

    http://www.Apple.com/iPhone-7/specs/

    • Sync with iTunes on a Mac or a PC requires:

    My daughter is running Lion on his MacBook Pro and was synchronize its iOS iOS 9.3.5 devices. The requirements for iOS 9 call for Cougar 10.8.5. It will never update via iTunes - always on WiFi - and I think that's how she got away with it. I don't know if it will work this time with iOS 10.

  • Try to add a page to a pages document. It worked until now but just finished page 13 with text and photos and cannot add another page, using macbook pro with El Capitan and the most recent version of the Pages.

    Try to add a page to a pages document. It worked until now but just finished page 13 with text and photos and cannot add another page, using macbook pro with El Capitan and the most recent version of the Pages.

    You have placed your beam to insert at the end of your text on page 13 and then apply Insert menu: Page Break? In the v5.6.2, Pages I just add a new page to a section of four pages to this approach.

  • I use an iMac with a wrong as a monitor graphics card?

    The graphics card on my iMac went wrong.  The logic board is OK and works otherwise OK.  Can I use the iMac with the graphics card bad as a second monitor in target disk Mode or use it as a monitor for a mac mini? The bad iMac is a model 2011 (of course!) with HDMI ports and Thunderbolt.

    I think you mean that the Display Mode target and any connection to the screen will have to pass by the graphics card. Whereas if you replace the bad graphics card, don't.

  • How to use spell checking with magic mouse

    How to use spell checking with magic mouse

    Hello

    The mouse is not intended to be used with the spell checker.

    The mouse settings available in system preferences > mouse

    Spelling and grammar can be checked in the Edit menu in most applications.

    In addition, shortcuts keyboard.

    Command:

    And the command;

  • Can I still use Internet Explorer with Mozilla Firefox

    Can I keep the two search engines installed and use them without causing any problems to my computer

    Change by a moderator. I changed the title of
    can I still use exporer with mozilla for
    Can I still use orerlExp Internet with Mozilla Firefox

    They are not search engines. They are called browsers, and Yes you can use Mozilla Firefox and Internet Explorer on the same computer at the same time. You can also add Google Chrome and a few others without causing problems for your computer.

    Most people are after the use of these alternative browsers, that they no longer wish to continue using Internet Explorer.

  • How to make a bootable USB using the disc with El Capitan utilities?

    Anyone know how to make a bootable USB key using the disc with El Capitan utilities?

    Try this its worked perfectly.

    http://www.Macworld.com/article/2981585/operating-systems/how-to-make-a-bootable - os-x-10-11-el-capitan-installer-drive.h...

  • I use 4 windows with multiple tabs, but I 'don't know why one of them (window) always close when I restar computer

    I use 4 windows with multiple tabs, but I 'don't know why one of them (window) always close when I restar computer

    Hello, by default the firefox session restore feature only allows you to save last 3 windows open. to change this, type on: config in the address bar of firefox (confirmed the message information where it appears) and search for the preference named browser.sessionstore.max_windows_undo. Double-click it and change its value to 4 (or more).

    http://KB.mozillazine.org/browser.sessionstore.max_windows_undo

  • Rotation of the photos in iPhoto I could simply use the trackpad with 2 fingers turning motion.  In pictures, it seems that I have to use the Edit menu, etc etc?

    In iPhoto, I could simply use the trackpad with 2 fingers rotating motion to change photos quickly to stand.  In the Photos but it seems I have to use the Edit menu, etc. etc.?

    command + r or command + option + r, depending on the direction you want.

    Also, right-click on the image to the same command, hold the option for the choice

  • I downloaded the new version and it says: you cannot use this application with this version of Mac os how can I download the older version?

    I downloaded the new version and it says: you cannot use this application with this version of Mac os how can I download the older version? My os is 10.4.11

    You can read this article: Firefox no longer works with Mac OS X 10.4 or PowerPC processors to read about the EOL for Mac 10.4 support and what the best options going forward.

  • I want to record with < alt > < s > in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    Question
    I want to record with < alt > < s > in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    edit, escaped mod < s > in order to avoid the line through question

    A web page can be defined a "accesskey" for an item. Unlike IE/Chrome/Safari, who use the Alt key only, Firefox requires pressing Alt and Shift to activate the element. In other words, try

    ALT + SHIFT + S

    and see if it works.

    I don't know of any way to change this so that the change is not necessary. There may be an add-on?

  • You can use my Mac with iOS

    You can use my Mac with iOS

    Hello ifixer2,

    Thank you for using communities of Apple Support.

    No, you need two or more Mac computers that meet the following requirements to use Back to My Mac:

    What you'll need

    To configure and use Back to My Mac, you need these things:

    • Two or more Mac computers that use the same account iCloud on OS X Lion v10.7.5 or later version.
    • A Terminal supported access AirPort (AirPort Extreme, AirPort Express or AirPort Time Capsule) or other Internet router that supports UPnP or NAT - PMP protocol, with the latest firmware available. AirPort base stations require version of firmware 7.6.1 or later for Back to My Mac.
    • Utility airPort 6.3 or later.
    • For screen sharing, a 300 Kbits/s-or-more rapid, bidirectional (high-low) Internet connection between computers. You may be able to use with slower connections to share files. If file sharing doesn't work as you think, check your settings and connections.
    • A firewall that allows remote connections. Some firewalls may prevent some back to my Mac connections. For example, when you're at home, don't maybe not able to connect you to your Mac at work. But when you're at work, you might be able to connect to your Mac at home. If you are not sure if the firewall will allow the back to my Mac connections, check with the network administrator for your organization.

    If you want to use an AirPort Extreme or airport Time Capsule to access files on a hard drive external, you need a Mac OS extended (journaled) formatted USB hard drive. When you use with Back to My Mac, your hard drive is displayed as the base under shared in the sidebar station Finder.

    Set up and use Back to My Mac

    Take care.

  • Can bookmarks be portable to multiple computers? Is it an option to connect and use my favorites with multiple computers and locations? Thank you

    Can bookmarks be portable to multiple computers? Is it an option to connect and use my favorites with multiple computers and locations? Thank you

    https://support.Mozilla.com/en-us/KB/what-Firefox-sync

Maybe you are looking for

  • password for a restore of backup?

    I'll have my iPhone 6 repaired and so after backing up the phone I tried reinstalling this backup on my spare iPhone 5.  It's iTunes asks me the password for my backup but I did not indicate an and so obviously have no idea of what the * your passwor

  • permanently deleted photos are REALLY gone?

    I accidentally deleted permanently 'iPhoto events' album of my iPhone > iCloud > Mac. I went from 8 000 to 2,000 photos. I've restored some of them of an old backup from time machine (March, 2013). My iCloud account clearly reflects the deletion. I w

  • File &gt; link E-mail with Gmail causes a footer to remove

    It's very weird. I have a footer of gmail and I'm connected to gmail in another tab, and when I compose, the footer shows and send it at the bottom of the message. fine. In the settings of Firefox under applications, I have Gmail mailto. This also wo

  • How to uninstall Firefox if Add/Remove Programs does not work?

    My Firefox is completely insensitive. I can't get a browser or anything like that. I just caught the application folder and thrown in the trash, because add/remove program did nothing. Also, I can not download the latest version of Firefox. He tries,

  • NOR-DAQmx Base: Thermocouples

    Hello. I use NEITHER-DAQmx Base for mac on LabVIEW 8.2 and I struggle to get the differential voltage for thermocouples type k of data acquisition that I use. The conversion is easy using the thermocouple vi, but somehow the pressure readings seem no