06-30-2013 07:32 PM - edited 03-04-2019 08:20 PM
Greeting.
I'd like to configure IP SLA Track and Multiple time.
the special requirement is:
the track should be multiple times, that means, if the first track fails, the track status is still up, if the track fails 3 times, the track status is down.
that is similar with ospf hello process, one time hello missing doesn't cause network converging.
Below configuration doesn't work. it's one time track ( the first track fails, the track status is donw)
Does anyone know how to configure?
ip sla 123
icmp-echo 123.1.1.1 source-ip 3.1.1.1
request-data-size 128
verify-data
threshold 500
timeout 2000
frequency 10
ip sla schedule 123 life forever start-time now
!
track 10 ip sla 123 reachability
ip route 1.0.0.0 255.0.0.0 2.2.2.1 track 10
ip route 1.0.0.0 255.0.0.0 2.2.2.2 10
Thanks in advance.
07-01-2013 12:54 PM
Hi If you set track delay then it will fine I guess.
track 10 ip sla 123 reachability
delay down 40 up 40
R3#sh track
Track 10
Response Time Reporter 123 reachability
Reachability is Up, delayed Down (4 secs remaining)
3 changes, last change 00:04:40
Delay up 40 secs, down 40 secs
Latest operation return code: OK
Latest RTT (millisecs) 32
Tracked by:
STATIC-IP-ROUTING 0
R3#
R3#sh track
Track 10
Response Time Reporter 123 reachability
Reachability is Up, delayed Down (1 sec remaining)
3 changes, last change 00:04:44
Delay up 40 secs, down 40 secs
Latest operation return code: OK
Latest RTT (millisecs) 32
Tracked by:
STATIC-IP-ROUTING 0
R3#
R3#
R3#sh ip route static | i 0.0.0.0/0
S* 0.0.0.0/0 [1/0] via 2.2.2.1
R3#
R3#sh track
Track 10
Response Time Reporter 123 reachability
Reachability is Down
4 changes, last change 00:00:01
Delay up 40 secs, down 40 secs
Latest operation return code: Timeout
Tracked by:
STATIC-IP-ROUTING 0
R3#
R3#
R3#
R3#sh ip route static | i 0.0.0.0/0
S* 0.0.0.0/0 [1/0] via 2.2.2.2
R3#
R3#sh track
Track 10
Response Time Reporter 123 reachability
Reachability is Down, delayed Up (2 sec remaining)
2 changes, last change 00:11:40
Delay up 40 secs, down 40 secs
Latest operation return code: Unknown
Tracked by:
STATIC-IP-ROUTING 0
R3#sh track
Track 10
Response Time Reporter 123 reachability
Reachability is Down, delayed Up (1 sec remaining)
2 changes, last change 00:11:45
Delay up 40 secs, down 40 secs
Latest operation return code: Unknown
Tracked by:
STATIC-IP-ROUTING 0
R3#
R3#sh track
Track 10
Response Time Reporter 123 reachability
Reachability is Up
3 changes, last change 00:00:01
Delay up 40 secs, down 40 secs
Latest operation return code: OK
Latest RTT (millisecs) 111
Tracked by:
STATIC-IP-ROUTING 0
R3#
R3#sh ip route static | i 0.0.0.0/0
S* 0.0.0.0/0 [1/0] via 2.2.2.1
R3#
07-03-2013 02:07 PM
Hi you can also use Boolean track with a OR.
When track object 5 is down and track object 6 is up at that time track 10 won’t go down.
When track object 6 is down and track object 5 is up at that time track 10 won’t go down.
Track 10 will go down when both the track object 5 & 6 is down.
ip sla 123
icmp-echo 123.1.1.1 source-ip 3.1.1.1
request-data-size 128
verify-data
threshold 500
timeout 2000
frequency 10
ip sla schedule 123 life forever start-time now
!
ip sla 124
icmp-echo 4.2.2.2 source-ip 3.1.1.1
request-data-size 128
verify-data
threshold 500
timeout 2000
frequency 10
ip sla schedule 124 life forever start-time now
!
track 5 ip sla 123 reachability
!
track 6 ip sla 124 reachability
!
!
track 10 list boolean or
object 5
object 6
!
07-04-2013 11:25 AM
You can add threshold features:
Here is another link that shows some example
http://packetpushers.net/using-ip-sla-delay-feature-to-safely-monitor-lossy-links/
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: