
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
bfd
cfg-name
bind
peer-ip
peer-ip
[
vpn-instance
vpn-instance-name
] [
source-ip
source-ip
]
A BFD session is created.
l
When creating a BFD session for the first time, you must bind the BFD session to the peer
IP address. In addition, the configuration of the BFD session cannot be changed after being
created.
l
When the BFD configuration items are created, the system checks only the format of the IP
address rather than the correctness. A BFD session cannot be established if an incorrect peer
IP address or source IP address is bound.
l
When BFD and URPF are used together, URPF checks the source IP address of the received
BFD packets. In this case, you need to specify the correct source IP address of BFD packets
by setting the
source-ip
parameter when creating a BFD session to prevent BFD packets
from being discarded incorrectly.
Step 3
Set the identifiers.
l
Run:
discriminator
local
discr-value
The local discriminator is set.
l
Run:
discriminator
remote
discr-value
The remote discriminator is set.
NOTE
When you set the discriminators, ensure that the local discriminator at the local end is the same as the
remote discriminator at the peer end; otherwise, the BFD session fails to be set up.
Step 4
Run:
commit
The configuration is committed.
NOTE
After setting necessary parameters, for example, local and remote discriminators, during the creation of a
single-hop BFD session, you must run the
commit
command to make the configuration take effect.
----End
6.4.4 Checking the Configuration
Procedure
l
Run the
display bfd configuration
{
all
|
static
[
for-ip
|
name
cfg-name
] |
discriminator
local-discr-value
|
dynamic
|
peer-ip
peer-ip
[
vpn-instance
vpn-name
] |
static-auto
} [
verbose
] command to check the configuration of BFD.
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
6 BFD Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
291