There are at least three good ways to run an Embedded Event Manager policy every time a device boots up. Two of the methods involve using timer policies while one uses a syslog policy. These methods will work for any device running EEM 2.0 or higher. See https://supportforums.cisco.com/docs/DOC-8799 on how to determine your version of EEM. Let's look at the syslog policy first.
When a device boots, it will generate a %SYS-5-RESTART syslog message. EEM can intercept this message and take your required boot up actions. The following are example event registration lines for this method.
The second method involves using a countdown timer. When the timer policy is registered it will begin to countdown the specified number of seconds. At boot time, the policy will be read from the startup configuration and registered with EEM. At that point, the timer begins. The advantage of this approach is that you can inject some delay after the device comes online before the EEM policy runs. However, there is a down side. When you configure this policy, it will countdown to zero then run. If you'd rather not have this run after first configuring it, download the startup-config, and add the commands to register your policy. Then copy that configuration back into the startup-config.
The following are example event registration lines for this method. They will run the policy ten seconds after the device boots and configures itself.
event timer countdown time 10
::cisco::eem::event_register_timer countdown time 10
The final example uses a cron timer with a special cron-entry. A policy registered in such a way will generally run within a minute after the device is booted. The following are example event registration lines for this method.
Hello I have Avocent DSR2020 and use it to control VGA of my servers.My question is can I use this KVM to control RJ45 Console port of Cisco NEXUS switch?And if I can do I need some avocent module or just use RJ45 rollover cable Thank you
I finally found a function for the compliance tool and wanted to use it. I experimented with it earlier this year on a PI 3.4 installation. But considered it hard and stiff to use, and didn't get the expected results. Sinds that time I installed a ne...
Hello, we have running two Cat 4510 with four SUP8-E. The SUPs in slot 6 in both chassis are stopped in ROMMON and VSL was working fine and all ports are up and correctly aggregated.In chassis 1 are ports Te1/5/1 and 1/6/1 bundled in etherchannel 64....
Hi, The VDSL controller on the cisco is configured withoperating mode autoCurrently client use following profile:Trained Mode: G.993.2 (VDSL2) Profile 35bDoes the migration from VDSL profile to G.Fast will cause the resynchronization of the...