O'Reilly logo
  • muha med thinks this is interesting:

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...

From

Cover of Cisco IOS Cookbook, 2nd Edition

Note

Interface tracking tip