cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
257
Views
1
Helpful
2
Replies

When does a router remove a static route from the RT?

ujiunwo2
Level 1
Level 1

No tracking involved I just want to understand the default behaviour. I know it removes it if the line protocol on the exit interface goes down, but does it also check the next hop reachability from time to time?

2 Replies 2

We use usually two static route 

One with permanent keyword for ip sla destiantion 

Other is static route with track <<- this route monitoring by ip sla 

MHM

M02@rt37
VIP
VIP

Hello @ujiunwo2 

By default, a router removes a static route from the routing table if the exit interface goes down* (i.e., the line protocol on the interface goes down).  However, without additional tracking mechanisms like object tracking, the router does not check the next-hop reachability continuously for static routes.

For a static route that specifies a next-hop IP address, the router assumes the route is valid as long as the associated interface is up. It doesn’t actively verify whether the next-hop IP is reachable. The static route will remain in the routing table even if the next-hop IP becomes unreachable unless the interface goes down or there’s an additional mechanism (like tracking) configured to monitor the next-hop’s reachability.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.