194
Associating track with BFD
BFD supports the control packet mode and echo mode. Only echo-mode BFD can be associated with a
track entry.
When associated with a track entry, the BFD functions as follows:
•
If BFD detects the link fails, it informs the track entry of the link failure. The track module then sets the
track entry to the Negative state.
•
If the BFD detects the link is normal, the track module sets the track entry to the Positive state.
For more information about BFD, see the chapter “BFD configuration.”
Configuration prerequisites
Before associating track with BFD, configure the source address of the BFD echo packets.
Configuration procedure
Follow these steps to associate track with BFD:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a track entry, associate it
with the BFD session, and specify
the delay time for the track
module to notify the associated
application module when the
track entry status changes
track
track-entry-number
bfd echo
interface
interface-type interface-number
remote ip
remote-ip
local ip
local-ip
[
delay
{
negative
negative-time
|
positive
positive-time
} * ]
Required
No track entry is created by
default.
NOTE:
When associating track with BFD, do not configure the virtual IP address of a VRRP group as the local or
remote address of a BFD session.
Associating track with interface management
The interface management module monitors the physical status or network-layer protocol status of the
interface. When associated with a track entry, the interface management module functions as follows:
•
When the physical or network-layer protocol status of the interface changes to up, the interface
management module informs the track module of the change and the track module sets the track
entry to Positive.
•
When the physical or network-layer protocol status of the interface changes to down, the interface
management module informs the track module of the change and the track module sets the track
entry to Negative.
Follow these steps to associate track with interface management:
To do…
Use the command…
Remarks
Enter system view
system-view
—