[c-nsp] EEM - action syslog working but action cli command working
Rishi Kochar
irsk.inc at gmail.com
Fri Jun 12 18:20:10 EDT 2009
Hi
I am trying to develop a small EEM applet to test shut a port when an event
on the port occurs.
The script i have written is
event manager applet EMSHUT
event syslog occurs 1 pattern <my pattern>
action 1.0 syslog priority emergencies msg "HELLO"
action 1.1 cli command "enable"
action 1.2 cli command "conf t"
action 1.3 cli command "voice-port 0/1/1"
action 1.4 cli command "shut"
This script is printing HELLO in syslogs but wont shut down the voice-port.
Any help on this will be highly appreciated
Thanks
Inder
More information about the cisco-nsp
mailing list