EEM not running ping/trace command

MIBS, SMMPv1, SMMPv2, SMMPv3 and management
Guest

EEM not running ping/trace command

Post by Guest » Sun Mar 12, 2006 5:50 pm


Hi GuysDoes anyone know how to get EEM to run a ping/trace?Nothing is displayed in the flash if i use the following configevent manager applet BGPDOWNevent syslog pattern "received from neighbor"action 1.0 cli command "enable"action 1.1 cli command "ping 172.19.43.9 | append flash:ping_to_peer.txt"If i change it to a regular show commmad it worksevent manager applet BGPDOWNevent syslog pattern "received from neighbor"action 1.0 cli command "enable"action 1.1 cli command "show arp | append flash:arp_entries.txt"Thanks in advance

Alt+MAlt+N
Guest

Re:EEM not running ping/trace command

Post by Guest » Sun Mar 12, 2006 7:11 pm


The ping command is not valid.  You cannot use a pipe on a ping command.  If you were to try this command manually, it would fail.You could convert this applet to a Tcl policy which could be made to do what you want.  The attached policy should work for you.  

compy
Hello I'm new here
Posts: 1
Joined: Mon Aug 11, 2014 2:08 am

Re: EEM not running ping/trace command

Post by compy » Mon Aug 11, 2014 2:12 am

I dont see any attached policy :geek: :geek:

Post Reply