display bfd configuration all [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ] verbose
display bfd configuration static [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ] verbose
display bfd configuration passive-dynamic [ peer-ip peer-ip remote-discriminator remote-discriminator-value ] verbose
display bfd configuration dynamic verbose
display bfd configuration discriminator local-discr-value verbose
display bfd configuration peer-ip { peer-ip [ vpn-instance vpn-instance-name ] | default-ip } verbose
display bfd configuration static-auto verbose
display bfd configuration ldp-lsp peer-ip peer-ip [ nexthop nexthop [ interface { interface-name | interface-type interface-number } ] ] verbose
display bfd configuration mpls-te interface { interface-type interface-number | interface-name } [ te-lsp ] verbose
display bfd configuration pw interface { interface-name | interface-type interface-number } [ secondary ] verbose
display bfd configuration vsi-pw vsi vsi-name peer peer-address [ vc-id vc-id ] verbose
display bfd configuration bgp-tunnel peer-ip peer-ip verbose
Parameter | Description | Value |
---|---|---|
for-ip |
Displays the detailed configuration of the BFD session for monitoring an IP link. |
- |
for-lsp |
Displays the detailed configuration of the BFD session for monitoring an LSP. |
- |
for-te |
Displays the detailed configuration of the BFD session for monitoring a TE tunnel. |
- |
for-pw |
Displays the detailed configuration of the BFD session for monitoring a PW. |
- |
for-vsi-pw |
Displays the detailed configuration of the BFD session for monitoring a VSI PW. |
- |
all |
Displays configurations of all BFD sessions. |
- |
static |
Displays the detailed configuration of static BFD sessions. |
- |
passive-dynamic |
Displays the detailed configuration about the BFD sessions that are passively created. |
- |
peer-ip peer-ip |
Displays the detailed configuration of the BFD session bound to a specified peer IP address. |
The value is in dotted decimal notation. |
remote-discriminator remote-discriminator-value |
Specifies the remote discriminator of BFD that generates a BFD session actively on the source device. |
The value is an integer ranging from 1 to 4294967295. |
dynamic |
Displays the detailed configuration of dynamic BFD sessions. |
- |
discriminator local-discr-value |
Specifies an identifier. |
- |
vpn-instance vpn-instance-name |
Displays the detailed configuration of a BFD session bound to a specified VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, which do not contain spaces. The VPN instance name cannot be _public_. The character string can contain spaces if it is enclosed with double quotation marks ("). |
default-ip |
Displays statistics about BFD sessions with the default multicast address. |
- |
static-auto |
Displays the detailed configuration of a static BFD session with automatically negotiated discriminators. |
- |
ldp-lsp |
Displays the detailed configuration of the BFD session for monitoring an LDP LSP. |
- |
nexthop nexthop |
Specifies the next hop address. |
The value is in dotted decimal notation. |
interface interface-type interface-number |
Specifies the type and number of an interface. |
- |
mpls-te |
Displays the detailed configuration of the BFD session for monitoring MPLS TE. |
- |
te-lsp |
Displays the detailed configuration of the BFD session bound to a primary TE LSP. |
- |
pw |
Displays the detailed configuration of the BFD session for monitoring a PW. |
- |
secondary |
Displays the detailed configuration of the BFD session for monitoring a secondary PW. |
- |
vsi-pw |
Displays the detailed configuration of the BFD session for monitoring a VSI PW. |
- |
vsi vsi-name |
Specifies the VSI name. |
The value is a string of 1 to 31 characters. |
peer peer-address |
Specifies the IPv4 address of the peer of the VSI PW. |
The value is in dotted decimal notation. |
vc-id vc-id |
Specifies the ID of a Layer 2 VC. |
The value is an integer ranging from 1 to 4294967295. |
bgp-tunnel |
Displays the detailed configuration of a BFD session that monitors a BGP Tunnel. |
- |
Usage Scenario
When there are a great number of BFD sessions, you can view information about BFD sessions with a specified type, name, or bound peer address.
Prerequisites
BFD has been globally enabled using the bfd command in the system view.
Precautions
If a static BFD session with automatically negotiated discriminators and a dynamic BFD session have the same configurations, you can view that the shared BFD session belongs to both the static session and the dynamic session in terms of the BFD session type.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bfd configuration all verbose -------------------------------------------------------------------------------- BFD Session Configuration Name : a -------------------------------------------------------------------------------- Local Discriminator : 1 Remote Discriminator : 2 BFD Bind Type : Interface(Ethernet0/1/16) Bind Session Type : Static Bind Peer IP Address : 10.1.0.2 Bind Interface : Ethernet0/1/16 Track Interface : - TOS-EXP : 7 Local Detect Multi : 3 Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10 WTR Interval (ms) : - Process PST : Disable Proc Interface Status : Disable Bind Application : No Application Bind Session Description : - -------------------------------------------------------------------------------- Total Commit/Uncommit CFG Number : 1/0
Item | Description |
---|---|
BFD Session Configuration Name | Name of the session. |
BFD Bind Type | Binding type of the BFD session:
|
Session Description | Description of the BFD session. |
Local Discriminator | Local discriminator of the BFD session. |
Local Detect Multi | Local detection multiplier. |
Remote Discriminator | Remote discriminator of the BFD session. |
Bind Session Type | Establishment type of the BFD session:
|
Bind Peer IP Address | Remote IP address of the BFD session. |
Bind Interface | Outbound interface to which the BFD session is bound. |
Bind Application | Application to which the BFD session is bound:
|
Track Interface | Specifies an interface monitored by a BFD session. |
TOS-EXP | Priority of BFD packets. |
Min Tx Interval (ms) | Configured minimum interval between sending BFD packets. |
Min Rx Interval (ms) | Configured minimum interval between receiving BFD packets. |
WTR Interval (ms) | WTR time of the BFD session. |
Process PST | Flag of processing the PST:
If the process-pst command has been configured, the field is displayed as Enable; otherwise, the field is displayed as Disable. |
Proc Interface Status | Status of the association between the status of a BFD session and an interface:
If the process-interface-status command has been configured, the field is displayed as Enable; otherwise, the field is displayed as Disable. |
Total Commit/Uncommit CFG Number | Total number of committed and uncommitted BFD configurations. To commit BFD configurations, run the commit command in the BFD session view. |