11-08-2011 05:48 PM - edited 03-10-2019 12:16 PM
I just tested IP SLA with tracking on a 3750 12.2(46)SE. And the configuration was simple enough and tested
fine for redundant static routing:
ip sla 10
icmp-echo 10.10.99.2
ip sla schedule 10 life forever start-time now
track 401 rtr 10
Then I tried to do the same on a 3560 switch running 12.2(55)SE3. ip sla went in fine. But when I went
to put in the track I was presented with "list boolean and" (for example) after the track and the identifier.
I tossed in the ip sla "10" as the object. But shopw track shows the boolean AND as down. I don't
get why the track feature is different in two switches so close in IOS version. How do I get the 3560
to track the ip sla as my 3750 does? Thanks.
ip sla 10
icmp-echo 10.10.7.1
timeout 2000
frequency 3
ip sla schedule 10 life forever start-time now
track 471 list boolean and
object 10
!
c3560-1#sho track
Track 471
List boolean and
Boolean AND is Down
1 change, last change 00:06:51
object 10 (Undefined)
11-08-2011 10:31 PM
Hi,
Boolean AND / OR is generally used when you have 2 or more objects by which you want to track.
Try changing boolean expression to OR instead of AND.
Secondly solution would be go for RTR Reachability or state in track.
HTH,
Smitesh
11-09-2011 01:26 PM
This is what worked:
c3560-1(config)#track 471 ip sla 10
mccx-c3560-1#show track
Track 471
IP SLA 10 state
State is Up
1 change, last change 00:00:13
Latest operation return code: OK
Latest RTT (millisecs) 7
11-09-2011 11:15 PM
Yeah,
I forgot to mention that it will be IP SLA and not RTR.
HTH,
Smitesh
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