- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 05:13 AM
Hello,
I need to load some license related commands every time the computer is powered off and back on. I have thought about using event manager but I have not only used it with IP SLA to implement bck and in this case I would not know how to apply it.
Thank you very much in advance
Greetings to all
Solved! Go to Solution.
- Labels:
-
WAN
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 06:46 AM
Hello,
which commands do you need to run ?
Here is a basic EEM script that would run each time the syslog pattern is matched. You can add the commands you need:
event manager applet LIC_INFO
event syslog pattern "%SYS-5-RESTART: System restarted"
action 1.0 cli command "enable"
action 2.0 cli command "sh lic"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 05:19 AM
computer is powered off and back on
not sure we understand this, please explain more
below exmple give you how you can do that EEM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 05:22 AM
Hello
I have a Cisco Catalyst 9800-L wireless controller and there is a licensing issue that we are seeing with the cisco TAC. I need to execute some commands after controller restart and I have thought about using event manager.
Thank you very much for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 05:30 AM
Sure you can use below command syntax to excute :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 05:35 AM
Hello,
EEM can respond to syslog messages, and execute commands based on the occurrence of these syslog entries.
What log entry do you see when the controller restarts, and what commands do you want to execute ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 06:25 AM
Hi Georg
This entry for expample :
: %SYS-5-RESTART: System restarted --
Thank you very much in advance
Greetings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 06:46 AM
Hello,
which commands do you need to run ?
Here is a basic EEM script that would run each time the syslog pattern is matched. You can add the commands you need:
event manager applet LIC_INFO
event syslog pattern "%SYS-5-RESTART: System restarted"
action 1.0 cli command "enable"
action 2.0 cli command "sh lic"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2022 11:35 PM
Thank you very much for your help, the cisco tac has solved the incident, anyway I keep the information you have provided us.
Greetings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2022 12:47 AM
Hello,
curious to know what TAC has answered, can you share their solution ?
