EEM Applet does not fire TCL script after expiration of the countdown

We use currently EEM Applet below than securities has BGP route and if this path fails, it starts a countdown of 45 min, once the countdown expires, the router reloads. If the BGP route restores it will remove the countdown applet.

I'm trying to change this applet to reproduce the same type of behavior, but instead to recharge after 45 minutes, I am changing the cell parameters via Script TCL or other means besides.

Is this possible? Can someone direct me how to proceed?

Cisco 1941 Version 15.4 (3) M2

event handler applet track down
Description "this applet will add the countdown applet when BGP 10.66.66.66 road goes down."
Event track 10 down state
command action 1.0 cli 'enable '.
Action 2.0 cli command "config t.
Action 3.0 cli command "event manager applet countdown."
action 3.1 cli command "description This cmdlet is the countdown and will cause the router reload after 2700 seconds if BGP route is always down.
Action 3.2 cli command "event timer countdown 2700".
action 3.3 cli command "reload action 1.0.
Action 4.0 cli command "end".
command action 4.1 cli 'enable '.
Action 4.2 cli command "wr mem".
Event Manager applet track-up
Description "this cmdlet will delete the countdown applet when restores BGP route to 10.66.66.66.
Event State track 10 upwards
command action 1.0 cli 'enable '.
Action 2.0 cli command "config t.
action 3.0 cli command "no event manager applet countdown."
Action 4.0 cli command "end".
!

This is the applet changed, with that I have had the most success. The issue I'm running into is, sound without waiting 60 seconds (for testing I reduced to 1 minute) to run the tcl script. From my limited understanding, I discovered that, after the countdown event - the applet requires an action immediately after but does not accept a command like 'tclsh Cell.tcl' cli as 'action '. »

event handler applet track down
Event track 10 down state
command action 1.0 cli 'enable '.
Action 1.1, «config t» cli command
Action 1.3 cli command "event manager applet countdown."
action 1.4 cli command 'event timer countdown 30 '.
action 1.5 cli command "action 1.0 wait 30.
Action 1.6 cli command "end".
Action 1.7 cli command "tclsh Cell.tcl.
Event Manager applet track-up
Event State track 10 upwards
command action 1.0 cli 'enable '.
Action 2.0 cli command "config t.
action 3.0 cli command "no event manager applet countdown."
Action 4.0 cli command "end".

It is the TCL script that I use to run cellular changes.

tclsh
puts [open "flash: Cell.tcl' w +] {}
ios_config "interface 1/0/0" "shut".
ios_config "0/1/0 lte tech gsm cell".
ios_config "interface 1/0/0" 'no shut '.
After 10000
ios_config "interface 1/0/0" "shut".
ios_config exec 'cell auto 0/1/0 lte tech '.
ios_config "interface 1/0/0" 'no shut '.
}
tclquit

Thank you
Robert

These cmdlets will not accomplish what you want.  I also recommend never call EEM tclsh.  You don't need to do.  Use EEM MCI in native mode, or in your case, just use pure applets.  Take a look at https://supportforums.cisco.com/document/12723951/how-introduce-large-de... .  If you follow this example and put your config CLI commands in the countdown applet, you will be able to achieve what you want.

Tags: Cisco Network

Similar Questions

  • Nodemanager does not restart managed server after reboot of the Linux operating system

    Running Linux 2.6.18, Sun JDK 1.6.0_14 and WebLogic 10.3, we have a functioning correctly nodemanager watch a single managed server. If I kill-9, the managed server, the nodemanager immediately triggers a new. If, however, restart us the box, the nodemanager will start cleanly and does not start the managed server. He seems to believe the node should be kept low and indicates its status UNKNOWN.

    I saw where is a problem known on Windows boxes, easily worked around by providing the Xrs setting - for the start settings for the managed server. (Section 5 of the config doc General nodemanager.) I do not, however, where there a just as clean solution for Linux.

    Things I've tried:
    + When I put the server for DEBUGGING, it shows no sign of a stop signal is received. It is dumping loads of cluster messages, etc., in the newspaper and then suddenly just log ends so he is going to die by kill-9. If the nodemanager works at this time, he might try to restart the managed server and save it somewhere as failed permanently.
    + The nodemanager saves only the INFO level and connects to evidence to decide to leave the node down. (DEBUGGING is an invalid LogLevel, so that's all I have.)
    + A signal to restart sent our AdminServer (on another Linux machine) begins the node managed through the nodemanager. Nothing unusual happens or is connected.

    I'm curious to see things:
    + Is it possible to see what state the nodemanager believes the managed server to be?
    + Is there some value in some doc somewhere who could tell that the server does not have to be restarted?
    + Y at - it is not an action of customer NodeManager log? I see nothing in domain.log or AdminServer.log except when the NM is down.

    Thank you

    Kevin

    ListenPort = 5556
    ListenBacklog = 50
    SecureListener = true
    AuthenticationEnabled = true
    NativeVersionEnabled = false
    CrashRecoveryEnabled = true
    JavaHome = / appl/java/jre
    StartScriptEnabled = false
    StopScriptEnabled = false
    StartScriptName = startWebLogic.sh
    StopScriptName =
    LogFile=/appl/bea/wlserver_10.3/common/nodemanager/logs/nodemanager.log
    LogLevel = INFO
    LogLimit = 0
    LogCount = 1

    You can set NativeVersionEnabled to true. We have faced this in windows that was corrected by changing this property. A few notes on this program:

    Faced with this interesting question in Windows 2008 environment. Managed servers were lit by the Manager of knots and it was expected that a reboot of the system after a crash, the node Manager will restore the State of the managed servers in the State it was before the accident. Node Manager is configured to run as a windows service. As a result, he started after server restart. But individual managed servers were not start-up. Interestingly, for managed servers started by the Manager of the nodes there no .lck file in the folder/data / NodeManger.

    To resolve this problem always, set the following properties in the nodemanager.properties on the base of node maager directory.

    CrashRecoveryEnabled = true / * this default is set to false. This must be enabled for an automatic restart after accident at work * /.

    NativeVersionEnabled = true / * this is by default set to true, and it must be configured as such. If disable you this option on platforms for which weblogic provide JNI native libraries (for example in Windows 2008) then this custom create the .lck file and so node Manager cannot restart the server managed after the crash.

    Note: According to the documentation official .lck files are necessary for managers to auto restart weblogic node after system crash

    Official documentation:

    Once the system is restarted, Node Manager checks each managed domain specified in the nodemanager.domains file to determine if there are server instances were not stopped. This is determined by the presence of all the lock files that are created by Node Manager when a WebLogic Server process is created. This lock file contains the process identifier for the WebLogic Server startup script. If the lock file exists, but the process ID is not running, Node Manager will attempt to automatically restart the server.

    If the process is running, Node Manager performs an additional check to access the management running servlet in the process to verify that the process corresponding to the process ID is a WebLogic Server instance.

    Once the system is restarted, Node Manager checks each managed domain specified in the nodemanager.domains file to determine if there are server instances were not stopped. This is determined by the presence of all the lock files that are created by Node Manager when a WebLogic Server process is created. This lock file contains the process identifier for the WebLogic Server startup script. If the lock file exists, but the process ID is not running, Node Manager will attempt to automatically restart the server. If the process is running, Node Manager performs an additional check to access the management running servlet in the process to verify that the process corresponding to the process ID is a WebLogic Server instance.

    */

  • Virtual keyboard does not hide my iPad after connecting to the Bluetooth keyboard

    After my last update for IOS 9.2 on my IPad. The virtual keyboard does not hide after being connected to the IPad keyboard. All the world is facing this problem?

    If so, what is the resolution?

    Never mind doing a complete reset of all my settings started working now.

    Resolution that worked for me:

    Settings-> General-> reset-> reset all settings

    It takes a few minutes to recharge but after which everything seems to work very well.

  • Why XP does not display Japanese characters after you add the language pack?

    I installed XP on a new drive after a virus killed the other installation of it.  I noticed that XP did not display the titles to my Japanese music.  I tried to install the language pack, but he's really changed anything.  They were clearly visible on my old version before it crashed. Any suggestions?

    Imran M.

    Thanks for your reply!

    I need Japanese for display on all browsers (IE 8.0) and Opera, and I need it to appear inside Windows Media Player. (version 11).

    I do not download language files.  I only installed the language pack from my drive XP (service pack 2).

    Today, however, I started my computer and some "automatic updates" waiting to be installed.  I went ahead and install.  Afterwards, I checked WMP and all my Japanese music correctly displayed in Japanese.  (I don't know why).  Then, I went to IE and jumped a couple of Japanese pages and found that they were showing the language correctly.

    Then... I don't know how to solve the problem itself, but things seem to work the way I need them for.  It is a little frustrating not knowing how the problem has been fixed, in which case it should never show himself again, but no real sense to worry about this.

    Thanks for your help!

  • Soft does not work on BB10 after APK to the bar of conversion.

    Hello

    I am able to convert the apk to prohibit the file, after conversion when I try to install the file on the device BB10 bar I get an "Unexpected error" error with the error code 100 and crashing. And the same apk works very well on Android.

    Please find the attached zip file consisting of .apk and .bar file.

    Kind regards

    NGO.

    BlackBerry OS 10.2.1 supported Android 4.1, Jelly Bean.  Is your apk the appropriate level of the API?

  • After reducing my sidebar, it does not appear more open after clicking on the bookmark or history buttons.

    I tried to uninstall and reinstall Firefox, but it doesn't seem to work. Neither did start in safe mode, because there is no way to open the sidebar in SafeMode (I knew) that would allow me to test.

    Yes, but start with extensions that involve the sidebar - like All-One-Sidebar if you have this extension installed.

  • CFLocation does not launch new Script

    I have 2 servers, both running RHEL 5, Coldfusion 8, and PostGreSQL 8.4.

    I scriptA1.cfm on a server that has a single line of code: a cflocation with the URL of scriptB1.cfm tag that resides on the server B.  It works fine: I run scriptA1.cfm on a server and he calls (via the cflocation) scriptB1.cfm on ServerB, which displays a form user clicks submit and the rest of the scriptB1.cfm runs correctly.

    However, what I really want is for the process on the server B runs automatically after a similar process on the server A finishes, unless the user to click on submit or anything in between.  So I added a tag of cflocation at the end of scriptA2.cfm on server A, with a URL that calls scriptB2.cfm on ServerB.  scriptB2.cfm does not have a form to submit, he just immediately starts to run a process that updates a database.  When I run scriptB2.cfm directly from Server B, it works very well.  However, it does not work when it is called from the server A: scriptA2.cfm works correctly on a server and updates its database on server A and then it is supposed to call scriptB2.cfm on server B, but nothing happens.  It does not give an error, it seems that it just never works (Journal of both sides to a table of database when processes start and end and I never see this connection to Server B).

    Why the cflocation does not work in a situation and not the other?  I see no error in one of the coldfusion does one side or the other to explain what is happening.  Thanks in advance for your suggestions.

    Julie

    jdavenport11 wrote:

    ... what I really want, it's for the process on the server B runs automatically after the end of a process similar to a server, without the user to click on submit or anything in between.  So I added a tag of cflocation at the end of scriptA2.cfm on server A, with a URL that calls scriptB2.cfm on ServerB.  scriptB2.cfm does not have a form to submit, he just immediately starts to run a process that updates a database...

    ... After continuing looking for issues with cflocation, I found a hint that if he follows a cfflush, the cflocation is ignored.  I took the cfflush off the calling script, and then the 2nd script was called by the cflocation and practised.  While this works, I would like to know if there is an alternative, because I really need this cfflush here (it of a very long process and would show the progression of the user on the screen as it is running).

    From your description, redirect seems an inappropriate solution. You are the person who wants to do business with Server B. There is no interest for the customer.

    Your needs, I suggest so that you let the user to A server. Then just use cfhttp to run the page on the server B. For example, by placing something like that at the end of scriptA2.cfm

    method http://www.myOtherDomain.com/scriptB2.cfm' = 'get' / >

  • Checking update Java plug-in does not show latest version after update same

    Checking update Java plug-in does not show latest version after update same

    You exit and then restart your browser after Java update in order for the right version of Java to display the Plugin Check page. I felt it necessary to do so.

    See also:

    Other - you should check your Plugins and update as needed.

  • iTunes does not recognize my devices after the last update

    iTunes does not recognize my devices after the last update. Has crossed all suggestions from the support page (uninstalling/reinstalling driver USB, remove Lockdown folder and so on) but still no joy. iPhone continues to ask if I want to trust to the connected computer, responding 'Yes' has no effect.

    Help, please

    Thank you

    Cyana

    Found this solution here:

    Re: Does not recognize devices in iTunes on PC

    works very well

  • Firefox 4 does not save form data after sending form and pressing the previous button

    Firefox 4 does not save form data after sending form and pressing the back button... It's very annoying that it erases all data. It worked fine on FF3.

    See:

    • Firefox or tools > Options > privacy > History: "don't forget to search and form history."
  • Canon 70 D my internal flash does not fire. It is broken or do I have an error in the settings.

    My Canon 70 D internal flash does not fire. I'm not sure if I made a mistake in my settings.  I usually shoot with a distance of exile 580 flash on the slave. The custom internal flash now or trigger a pre-Flash. So I think that it's broken by need help to rule out any possible error in the settings... Thank you

    CCTeen wrote:
    All these answers are in the correct sessions. If the "bulb" can break on the flash?

    Yes, certainly.

    High value Multi Shot Noise reduction option ISO NR will also disable flash, however.  To check this option too.

    If in doubt, perform a reset to the default values.  Now I'm really out clues .  You will need to send it.

  • The editor Lite Cinema 4 d does not open of in After Effects.

    The editor Lite Cinema 4 d does not open of in After Effects. I am able to create new files of MAXON Cinema 4 d from the file > new menu and comes from the file > export menu. I am able to use cinema 4 d effect on a layer to display a file 'c4d' next to a composition. But when I click on Edition > edit the Original option of a '.cd4' drop my mouse icon changes to "pending" for a second, as if he's going to open something, but then nothing happens.

    I'll double check the path of the cinema 4 d application Lite.
    I temporarily increased for 'control' permissions on the following folders

    • Program files (x 86) \Adobe
    • \Users\[user]\AppData\Roaming\Adobe
    • \Users\[user]\Documents\Adobe

    I am running:
    After Effects CC 13.7.1.6.
    Windows 10 PC
    Processor is Intel i7 - 4770 k @ 3.50 GHz
    16 GB OF RAM
    GeForce GTX 970

    I found a solution for anyone to live something similar: launch After Effects in as long as administrator and then C4D Lite will launch AE Edit--> Edit Original

  • I'm unable to install Adobe software licenses after the connection. It is said that it does not recognize my username after login.

    I'm unable to install Adobe software licenses after the connection. It is said that it does not recognize my username after login.

    Yes.  and?

  • My Photoshop CC 2015 does not work correctly. After I edited some photos and I want to meet one of them, the program Terminates? After reboot, the program charges all files again...

    My Photoshop CC 2015 does not work correctly. After I edited some photos and I want to meet one of them, the program Terminates? After reboot, the program charges all files again...

    Hello

    Make sure that Photoshop is closed.

    1 - go to this place C:\Users\user name\AppData\Roaming\Adobe\Adobe 2015\AutoRecover CC in Photoshop

    You will be able to see all the. PSD file that opens automatically when Photoshop is open, delete or move all the files in this folder.

    2 - restart Photoshop and go to edit > preferences > performance UN check the gpu processor use and restart Photoshop.

    It should be working fine now.

    Thank you

  • I AM A77V flash does not fire

    For some reason any the flash does not fire on my camera. I have been through all the settings, I can find that might be related, but to no avail. It triggers the Red beam focus, but will not flash or even allow the shutter turn on flash mode.

    Please set up the device for repair or service will be required. Here is the link https://eservice.sony.com/webrma/web/index.do

    Thanks ricky.

Maybe you are looking for

  • My printer does not work on Firefox?

    My printer does not work on Firefox? It works on explore?

  • Satellite A205 - commissioning and removal/insertion of batteries

    My Satellite A205-S4607 will be two years old in May 2009 (bought from a retailer). Have been reasonably satisfied with the equipment, but in the few months several times I had to start questions. But the solution so far, fortunately, turns out to be

  • Gray of WIFI on home network

    Hello I have problems to connect to my home network. Wifi phones turns well, gets an IP address and looks perfect. However, grey wifi strength meter and phone outside and there is no connectivity to the internet on the phone. The wireless network is

  • 2519 LabVIEW error could not load the component of PDM file

    Hello I have LabVIEW 2014 for Linux and have successfully installed on OpenSUSE 13.1 without any problem. The problem I see is with PDM, I placed down and "Open TDMS" followed by "TDMS" close it provided my path to my TMP folder and I see the followi

  • new tab key for Quatation marks for laptop keyboard?

    One of the main keyboard covers (for the quatation mark / frame them broke my laptop ASPIRE 5741 of G.)  Can someone tell me how to get a new one, or should I junk cell phone and buy a new laptop due to lack of key cover?  Help, please!