07-05-2012 05:49 PM - edited 03-04-2019 04:53 PM
Hello Expert,
Would you please tell me about IP SLA ?
I would like to shut down the interface by IP SLA.
I investigated by google teacher. The google theacher said that the EEM can it.
But, I don't want to use the EEM. If possible, I want to use only the IP SLA.
The following example use the EEM. Are there any other way?
example)----------------------------------------------------------------------------------------------------
ip sla monitor 1
type echo protocol ipIcmpEcho 10.110.0.1
tos 184
timeout 10000
frequency 15
ip sla monitor schedule 1 life forever start-time now
track 1 rtr 1 reachability
delay down 20 up 20
event manager applet shutdown-f0/0
event syslog pattern "%TRACKING-5-STATE: 1 rtr 1 reachability Up->Down"
action 1.0 cli command "enable"
action 1.1 cli command "conf t"
action 1.2 cli command "interface FastEthernet0/0"
action 1.3 cli command "shut"
event manager applet noshutdown-f0/0
event syslog pattern "%TRACKING-5-STATE: 1 rtr 1 reachability Down->Up"
action 1.0 cli command "enable"
action 1.1 cli command "conf t"
action 1.2 cli command "interface FastEthernet0/0"
action 1.3 cli command "no shut"
----------------------------------------------------------------------------------------------------
Regards,
Takuro.
Solved! Go to Solution.
07-06-2012 12:24 AM
Hi,
The only way to do this is either with EEM or with a Tcl script but surely not with IP sla alone.
Regards.
Alain.
Don't forget to rate helpful posts.
07-06-2012 12:24 AM
Hi,
The only way to do this is either with EEM or with a Tcl script but surely not with IP sla alone.
Regards.
Alain.
Don't forget to rate helpful posts.
07-06-2012 12:32 AM
Hello,
Thank you for advice.
Thank you again for your kindness.
Regards.
Takuro,
07-06-2012 04:01 AM
You should tell us what you want to achieve. Perhals your problem can be solved with something else. Or a simple tracking-config could also be enough.
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