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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

track command

I've been playing with the object tracking. Is there any way to use a negative condition? (e.g. Install my static route when a specific interface goes down)

in the following example I install a default route only if interface 1/0 is up/up, but what about if I want to install the default route ONLY if serial 1/0 is down instead?

Router(config)#track 55 interface serial 1/0 line-protocol

Router(config)#ip route 0.0.0.0 0.0.0.0 serial 1/1 track 55

1 REPLY
New Member

Re: track command

Found :-)

I had to create a parent object (boolean)

where I specify a not condition:

track 10 interface Serial1/0 line-protocol

track 55 list boolean and

object 10 not

ip route 0.0.0.0 0.0.0.0 serial 1/1 track 55

:-)

173
Views
0
Helpful
1
Replies
CreatePlease to create content