cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1672
Views
0
Helpful
5
Replies

IP SLA Configuration

RS19
Level 4
Level 4

I have the below existing configuration in my router

Configuration:

track 101 ip sla 1 reachability                   (Tracking 101 enabled for SLA 1)
delay down 45 up 180

 

ip sla 1
icmp-echo x.x.x.x source-interface GigabitEthernet0/1       (SLA enabled to monitor IP x.x.x.x from source inter G0/1)
frequency 15
ip sla schedule 1 life forever start-time now

 

ip route 0.0.0.0 0.0.0.0 x.x.x.1 track 101    (Floating static route enabled with tracking 101)
ip route 0.0.0.0 0.0.0.0 y.y.y.y 10

 

The above works fine without any issue. But would like to add additional SLA parameter to the above.

Ex -
track 102 interface GigabitEthernet0/1 line-protocol

I want to track interface Gi0/1 line protocol status as well. If protocol status goes down I want to achieve the same action of floating static route removal.

 

Let me know how to achieve this.

 

 

 

 

5 Replies 5

RS19
Level 4
Level 4

If line protocol is down I want to take the same action as the ping monitoring.

1) Ping failure - Same action (Floating static route removal)

2) Line protocol down - same action (Floating static route removal)

 

2 tracking but same action.

RS19
Level 4
Level 4

If line protocol is down I want to take the same action as the ping monitoring.

1) Ping failure - Same action (Floating static route removal)

2) Line protocol down - same action (Floating static route removal)

 

2 tracking but same action.

Thanks. I have gone through the link which you have shared. but sorry could not make it out what configuration changes are required to achieve my requirement.

Existing Configuration: (Single Tracking)

track 101 ip sla 1 reachability                  

delay down 45 up 180

ip sla 1

icmp-echo x.x.x.x source-interface GigabitEthernet0/1      

frequency 15

ip sla schedule 1 life forever start-time now

ip route 0.0.0.0 0.0.0.0 x.x.x.1 track 101  

ip route 0.0.0.0 0.0.0.0 y.y.y.y 10

 

This is going to check only destination IP is reachable or not.

-------------------------------------------------------------------------------------------------------------------------

New Configuration: (Multiple Tracking)

track 101 ip sla 1 reachability                  

delay down 45 up 180

 

ip sla 1

icmp-echo x.x.x.x source-interface GigabitEthernet0/1      

frequency 15

ip sla schedule 1 life forever start-time now

track 102 interface GigabitEthernet0/1 line-protocol

 

track 103 list boolean or

object 101

object 102

 

ip route 0.0.0.0 0.0.0.0 x.x.x.1 track 103  

ip route 0.0.0.0 0.0.0.0 y.y.y.y 10

 

This is going to check for both IP reachable & also interface status.

If anyone is down or triggered track 103 will remove the route & route with highest value will be installed in the route table.

 

Let me know if my understanding is right.

Getting Started

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: