
Step 2
Run:
bfd
BFD is enabled globally on the local device and the BFD view is displayed.
Step 3
Run:
peer-ip
peer-ip
mask-length
ttl
{
single-hop
|
multi-hop
}
ttl-value
The TTL in BFD control packets is set.
NOTE
l
By default, in a static BFD session, the TTL for single-hop BFD packets is 255, and the TTL for multi-
hop BFD packets is 254; in a dynamic BFD session, the TTL for single-hop BFD packets is 255 and
the TTL for multi-hop BFD packets is 253.
l
If a TTL is set for packets in a multi-hop BFD session that is in the same segment as a single-hop BFD
session, the single BFD session must be configured with the same IP address, a longer mask than that
for the multi-hop BFD session, and a TTL.
----End
3.11.3 Checking the Configuration
By viewing the global TTL in BFD control packets, you can check whether the configurations
are successful.
Prerequisite
The configurations of the global TTL are completed.
Procedure
l
Run the
display bfd session
{
all
|
discriminator
discr-value
|
dynamic
|
peer-ip
peer-
ip
[
vpn-instance
vpn-instance-name
] |
static
} [
verbose
] command to view information
about the BFD session.
l
Run the
display bfd ttl
command to view information about the globally configured TTL.
----End
Example
After the configurations are successful, run the
display bfd ttl
command, and you can view
information about the global TTL.
<Huawei>
display bfd ttl
--------------------------------------------------------------------------
Peer IP Mask Type Value
---------------------------------------------------------------------------
1.1.1.0 24 Single-hop
255
---------------------------------------------------------------------------
3.12 Maintaining BFD
This section describes how to maintain BFD by deleting BFD statistics, and monitoring BFD
operations.
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
3 BFD Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
171