cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
949
Views
4
Helpful
2
Replies

EEM action - shutdown interface not working

muca
Level 3
Level 3

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

2 Replies 2

Svetlana Radzevich
Cisco Employee
Cisco Employee

Please enable "debug event manager cli" and re-run the test. Post the debug information.

Thanks. The command was very useful.

I added the "event manager session cli username USER".

Cheers

Getting Started

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: