
commit
The configuration is committed.
NOTE
After necessary parameters, such as local and remote discriminators, are configured for a single-hop BFD
session, the
commit
command must be run to make the configuration take effect.
----End
3.2.4 Checking the Configuration
By viewing the status and type of a BFD session, you can check whether the configurations are
successful.
Prerequisite
The configurations of a single-hop BFD session are complete.
Context
NOTE
Statistics and detailed information about BFD sessions can be queried only after BFD session parameters
have been set and BFD sessions have been set up.
Procedure
l
Run the
display bfd configuration
{
all
|
static
[
name
cfg-name
] |
discriminator
local-
discr-value
|
dynamic
|
peer-ip
peer-ip
[
vpn-instance
vpn-instance-name
] } [
verbose
]
command to check BFD configurations.
l
Run the
display bfd interface
[
interface-type
interface-number
] command to check BFD
interfaces.
l
Run the
display bfd session
{
all
|
discriminator
discr-value
|
dynamic
|
peer-ip
peer-
ip
[
vpn-instance
vpn-instance-name
] |
static
} [
verbose
] command to check information
about a BFD session.
l
Run the
display bfd statistics
command to check the global statistics of the BFD sessions.
l
Run the
display bfd statistics session
{
all
|
static
|
dynamic
|
discriminator
discr-
value
|
peer-ip
[
default-ip
|
peer-ip
] [
vpn-instance
vpn-instance-name
] } command to
check statistics about a BFD session.
----End
Example
# After the configuration is complete, run the
display bfd session
all
verbose
command to view
information about the BFD session.A one-hop BFD session is established and is in the Up state.
<Huawei>
display bfd session all verbose
---------------------------------------------------------------------
Session MIndex : 64 (One Hop) State :
Up
Name : atob
---------------------------------------------------------------------
Local Discriminator : 11 Remote Discriminator : 22
Session Detect Mode : Asynchronous Mode Without Echo Function
BFD Bind Type : Interface(GigabitEthernet1/0/0)
Bind Session Type : Static
Bind Peer Ip Address : 224.0.0.184
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.
145