Associating Track with BFD
BFD supports the control packet mode and echo packet mode. A track entry can only be associated with
the echo-mode BFD session, and cannot be associated with the control-mode BFD session. For more
information about BFD, see
BFD functions as follows when it is associated with a track entry:
If the BFD detects that the link fails, it informs the track entry 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
To associate Track with BFD:
Step
1.
Enter system view.
2.
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.
Associating Track with CFD
CFD functions as follows when it is associated with a track entry:
If the CFD detects that the link fails, it informs the track entry of the link failure. The Track module
•
then sets the track entry to Negative state.
If the CFD detects that the link is operating correctly, the Track module sets the track entry to Positive
•
state.
Before you associate Track with CFD, enable CFD and create a MEP. For more information, see
"Configuring
To associate Track with CFD:
Step
1.
Enter system view.
2.
Create a track entry, associate it
with the CFD session, and
specify the delay time for the
Track module to notify the
associated application module
when the track entry status
changes.
"Configuring
"Configuring
BFD."
Command
system-view
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 } * ]
CFD."
BFD."
Command
system-view
track track-entry-number cfd cc
service-instance instance-id mep mep-id
[ delay { negative negative-time | positive
positive-time } * ]
128
Remarks
N/A
No track entry is created
by default.
Do not configure the
virtual IP address of a
VRRP group as the local or
remote address of a BFD
session.
Remarks
N/A
No track entry is
created by default.