04-10-2023 11:12 PM
Im not sure if this still work with the iosxe 17 but the eem applet is not triggering. Se below.
track 99 ip sla 99 reachability
ip sla 99
icmp-echo 10.10.10.1
frequency 5
ip sla schedule 99 life forever start-time now
event manager applet test
event syslog pattern "99 ip sla 99 reachability Up->Down"
action 1.0 cli command "enable"
action 2.0 cli command "conf t"
action 3.0 cli command "int gi 1/0/1"
action 4.0 cli command "shut"
Solved! Go to Solution.
04-10-2023 11:51 PM
Hello,
it looks like you have no spaces between 'Up' '->' 'Down' ?
Make sure your syslog pattern match looks like this:
event syslog pattern "99 ip sla 99 reachability Up -> Down" <-- spaces between Up --> Down
04-10-2023 11:51 PM
Hello,
it looks like you have no spaces between 'Up' '->' 'Down' ?
Make sure your syslog pattern match looks like this:
event syslog pattern "99 ip sla 99 reachability Up -> Down" <-- spaces between Up --> Down
04-11-2023 12:54 AM
In addition what was suggested -- have you run manually is the EEM Script runs? what is the show logging output shows?
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