Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

track non reachability

Hi,

I want an ip route to be active only when a reachability is down, the opposite of a regular track reachability

Is there a wait to do that?

Thanks for help

4 REPLIES
Community Member

Re: track non reachability

Community Member

Re: track non reachability

Thanks, I looked at that one already, it is pretty closed to what I want except that I want route 2 to be active only when route 1 is unavailable.

Bronze

Re: track non reachability

Hi,

It sounds like you just need to use a floating static. ie if you have two static routes

ip route 192.168.1.1 255.255.255.0 10.1.1.1

ip route 192.168.1.1 255.255.255.0 10.1.1.2 250

The second route will only install into the RIB if the first route is unavailable (due to the higher admin distance).

Regards

Community Member

Re: track non reachability

Thanks

I hade try that

ip route 192.168.1.1 255.255.255.0 10.1.1.1 track 123

ip route 192.168.1.1 255.255.255.0 10.1.1.2 250

Why I still want to track unreachability is because I have some traffic that can't go trough route 1 that activate route 2 (ISDN connection), but I want that traffic to pass only when route 1 is unreachable.

I know this is kind of special need but I'm surprise that there is now way to do the opposite of tracking the reachability.

Regards

276
Views
0
Helpful
4
Replies
CreatePlease to create content