Associating Track with BFD
BFD supports the control packet mode and echo packet mode. A track entry can be associated only with the echo-mode BFD session. For more information about BFD, see "Configuring BFD."
The associated Track and BFD operate as follows:
If the BFD detects that the link fails, it informs the Track module of the link failure. The Track module sets the track entry to negative state.
If the BFD detects that the link is operating correctly, the Track module sets the track entry to positive state.
Before you associate Track with BFD, configure the source IP address of BFD echo packets. For more information, see "Configuring BFD."
To associate Track with BFD:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a track entry, associate it with a BFD session, and enter its view. | track track-entry-number bfd echo interface interface-type interface-number remote ip remote-ip-address local ip local-ip-address | By default, no track entries exist. Do not configure the virtual IP address of a VRRP group as the local or remote address of a BFD session. |
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. |