Workaround: track the actual IP routing status of an interface

In a previous post, I've described how the track interface ip routing command reports incorrect interface state if you use IP Event Dampening feature. To track the actual IP routing readiness of an interface, you could use the following workaround:

  • Create a static IP route pointing to the interface you want to test. Make sure this route is not redistributed into any routing protocols.
  • Track the reachability of the static route
For example, to track the IP routing status of the Serial0/1/0 interface on which the dampening is configured, use the following configuration:
interface Serial0/1/0
dampening 30
!
ip route 1.0.0.1 255.255.255.255 Serial0/1/0
!
track 1 ip route 1.0.0.1 255.255.255.255 reachability

1 comment:

  1. Cat3750 code 12.2(37)SE supports rtr with tracking right on the route statement:

    ip route 1.1.1.1 255.255.255.255 2.2.2.2 track 10

    ReplyDelete

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.

Ivan Pepelnjak, CCIE#1354, is the chief technology advisor for NIL Data Communications. He has been designing and implementing large-scale data communications networks as well as teaching and writing books about advanced technologies since 1990. See his full profile, contact him or follow @ioshints on Twitter.