07-31-2019 12:20 AM
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.
|
07-31-2019 12:22 AM
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.
07-31-2019 12:24 AM
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.
07-31-2019 12:40 AM
You can have condition object tracking list, look at the below example :
07-31-2019 02:07 AM
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.
07-31-2019 02:28 AM
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.
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