Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

IP SLA Track and Multiple time.

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.

3 REPLIES
New Member

Re: IP SLA Track and Multiple time.

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#

New Member

Re: IP SLA Track and Multiple time.

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

!

Silver
687
Views
0
Helpful
3
Replies
CreatePlease to create content