Note that we have also included a delay command in this example. By default the tracking object will change state as soon as the router notices that the line protocol has come up or gone down. However, this isn’t always a good idea. If this interface is flapping up and down frequently, then it would be better to wait a while to ensure that it’s really up. Also, some protocols, such as Frame Relay, can take a significant length of time to establish end-to-end connectivity. The delay command allows you to specify and appropriate delay. In this case, we have opted to wait 5 seco...
- Static Routes That Track Interfaces or Other Routes
- from Cisco IOS Cookbook, 2nd Edition
- Publisher: O'Reilly Media, Inc.
- Released: December 2006
Interface tracking tip
Share this highlighthttp://www.safaribooksonline.com/a/cisco-ios-cookbook/19745124/