Associating Track with interface management
About Track association with interface management
The interface management module monitors the link status or network-layer protocol status of interfaces. The associated Track and interface management operate as follows:
When the link or network-layer protocol status of the interface changes to up, the interface management module informs the Track module of the change. The Track module sets the track entry to Positive state.
When the link or network-layer protocol status of the interface changes to down, the interface management module informs the Track module of the change. The Track module sets the track entry to Negative state.
Procedure
Enter system view.
system-view
Create a track entry, and associate it with interface management.
Create a track entry to monitor the link status of an interface.
track track-entry-number interface interface-type interface-number [ delay { negative negative-time | positive positive-time } * ]
Create a track entry to monitor the physical status of an interface.
track track-entry-number interface interface-type interface-number physical [ delay { negative negative-time | positive positive-time } * ]
Create a track entry to monitor the network layer protocol status of an interface.
track track-entry-number interface interface-type interface-number protocol { ipv4 | ipv6 } [ delay { negative negative-time | positive positive-time } * ]