12-01-2010 12:00 AM
Hi all,
I am pretty new to EEM. I want to run a job to shutsdown interface gi0/2 if interface goes 0/0 goes down.
A "show event manager history events" shows it was successfull but the actions are not taking place.
That's what I have configured
event manager applet local-int
event tag shutdown syslog pattern "LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down"
action 1 cli command "enable"
action 2 cli command "conf t"
action 3 cli command "interface gi0/2"
action 4 cli command "shut"
I am manually shutting down gi0/0 to test but nothing is happening with gi0/2.
Can anyone please shed some lights?
sh event manager history events
No. Job Id Proc Status Time of Event Event Type Name
1 1 Actv success Wed Dec 1 20:02:12 2010 syslog applet: local-int
2 2 Actv success Wed Dec 1 20:11:16 2010 syslog applet: local-int
Thanks
12-01-2010 06:10 AM
Please enable "debug event manager cli" and re-run the test. Post the debug information.
12-01-2010 02:57 PM
Thanks. The command was very useful.
I added the "event manager session cli username USER".
Cheers
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: