Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

EEM applet does not support extended ping ?

Hi does anybody know if EEM applet does not support any extended Ping in a cli action ?

This works:

action 1000 cli command "ping ip 10.161.255.5"

These statements does not work ?

action 1000 cli command "ping ip 10.161.255.5 repeat 10 source Loopback0"

action 1000 cli command "ping vrf TESTVRF ip 10.161.255.5 repeat 20 source Loopback0"

I  found another possibility how to achive extended ping in EEM like following

event manager applet ping

event none sync yes

action 100 cli command "enable"

action 101 cli command "ping" pattern "[ip]"

action 102 cli command "ip" pattern "address"

action 103 cli command "10.161.255.5" pattern "count"

action 104 cli command "20" pattern "size"

action 105 cli command "100" pattern "seconds"

action 106 cli command "2" pattern "commands"

action 107 cli command "y" pattern "interface"

action 108 cli command "Loopback0" pattern "service"

action 109 cli command "0" pattern "header"

action 110 cli command "no" pattern "data"

action 111 cli command "no" pattern "pattern"

action 112 cli command "0xABCD" pattern "Verbose"

action 113 cli command " " pattern "size"

action 114 cli command "n" event manager applet ping

bu there is also no way to specify the VRF ?

Any Ideas ?

Thx

Hubert

1 REPLY
New Member

EEM applet does not support extended ping ?

Hi found failure,

extended ping needs to be executed in priviledged mode, so need to enable in advance , then it works

thx Bruno for the hint

Hubert

447
Views
0
Helpful
1
Replies