12-05-2008 03:51 AM
Hi Guys
Does anyone know how to get EEM to run a ping/trace?
Nothing is displayed in the flash if i use the following config
event manager applet BGPDOWN
event 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 works
event manager applet BGPDOWN
event 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
Solved! Go to Solution.
12-05-2008 10:46 AM
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.
12-05-2008 10:46 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide