Associating Track with route management
About Track association with route management
The route management module monitors route entry changes in the routing table. The associated Track and route management operate as follows:
When a monitored route entry is found in the routing table, the route management module informs the Track module. The Track module sets the track entry to Positive state.
When a monitored route entry is removed from the routing table, the route 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 a route entry.
track track-entry-number ip route [ vpn-instance vpn-instance-name ] ip-address { mask-length | mask } reachability [ delay { negative negative-time | positive positive-time } * ]