Associating Track 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.
To associate Track with route management:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a track entry, associate it with an IP route, and enter its view. | track track-entry-number ip route [ vpn-instance vpn-instance-name ] ip-address { mask-length | mask } reachability | By default, no track entries exist. |
3. Set the delay for notifying the application module of track entry state changes. | delay { negative negative-time | positive positive-time } * | By default, the Track module notifies the application module immediately when the track entry state changes. |