display bfd configuration

Function

The display bfd configuration command displays BFD session configurations.

Format

display bfd configuration all [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ]

display bfd configuration static [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ]

display bfd configuration passive-dynamic [ peer-ip peerip-value remote-discriminator remote-discriminator-value ]

display bfd configuration dynamic

display bfd configuration discriminator discriminator-value

display bfd configuration peer-ip { peerip-value [ vpn-instance vpnname-value ] | default-ip }

display bfd configuration static-auto

display bfd configuration ldp-lsp peer-ip peerip-value [ nexthop nexthop-ip [ interface { interface-name | interface-type interface-number } ] ]

display bfd configuration mpls-te interface { tunnel-type tunnel-num | tunnel-name } [ te-lsp ]

display bfd configuration peer-ipv6 peer-ipv6-value [ vpn-instance vpnname-value ]

display bfd configuration all for-ipv6

display bfd configuration static for-ipv6

display bfd configuration pw interface { interface-name | interface-type interface-number } [ secondary ]

display bfd configuration vsi-pw vsi vsiName peer vsiPeer [ vc-id vcIdValue ]

display bfd configuration bgp-tunnel peer-ip peerip-value

Parameters

Parameter Description Value
for-ip

Displays the configuration of the BFD session for monitoring an IP link.

-

for-lsp

Displays the configuration of the BFD session for monitoring an LSP.

-

for-te

Displays the configuration of the BFD session for monitoring a TE tunnel.

-

for-pw

Displays the configuration of the BFD session for monitoring a PW.

-

for-vsi-pw

Displays the configuration of the BFD session for monitoring a VSI PW.

-

all

Displays configurations of all BFD sessions.

-

static

Displays the configuration of static BFD sessions.

-

passive-dynamic

Displays information about passively created BFD sessions.

-

peer-ip peerip-value

Displays the configuration of the BFD session bound to a specified peer IPv4 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 configuration of dynamic BFD sessions.

-

discriminator discriminator-value

Displays the configuration of a BFD session with a specified discriminator.

The value is an integer ranging from 1 to 4294967295.

vpn-instance vpnname-value

Displays the configuration of a BFD session bound to a specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain question marks (?). The VPN instance name cannot be <b>_public_</b>. 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 configuration of a static BFD session with automatically negotiated discriminators.

-

ldp-lsp

Displays the configuration of the BFD session for monitoring an LDP LSP.

-

nexthop nexthop-ip

Specifies the next hop address.

The value is in dotted decimal notation.

interface tunnel-type tunnel-num

Specifies the type and number of an interface.

The value is a string of 1 to 63 case-sensitive characters. It cannot contain spaces.

interface interface-type interface-number

Specifies the type and number of an interface.

-

interface-name

Specifies an interface name.

-

mpls-te

Displays the configuration of the BFD session for monitoring MPLS TE.

-

te-lsp

Displays the configuration of the BFD session bound to a primary TE LSP.

-

peer-ipv6 peer-ipv6-value

Displays the configuration of the BFD6 session bound to a specified peer IPv6 address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

for-ipv6

Displays the configuration of the BFD6 session for monitoring an IPv6 link.

-

pw

Displays the configuration of the BFD session for monitoring a PW.

-

secondary

Displays the configuration of the BFD session for monitoring a secondary PW.

-

vsi-pw

Displays the configuration of the BFD session for monitoring a VSI PW.

-

vsi vsiName

Specifies the VSI name.

The value is a string of 1 to 31 characters.

peer vsiPeer

Specifies the IPv4 address of the peer of the VSI PW.

The value is in dotted decimal notation.

vc-id vcIdValue

Specifies the ID of a Layer 2 VC.

The value is an integer ranging from 1 to 4294967295.

bgp-tunnel

Displays the configuration of a BFD session that monitors a BGP Tunnel.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bfd read

Usage Guidelines

Usage Scenario

To check information about BFD sessions, run the display bfd configuration command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display configurations of all BFD sessions.
<HUAWEI> display bfd configuration all
--------------------------------------------------------------------------------
CFG Name        CFG Type       LocalDiscr MIndex    SessNum  Commit   AdminDown
--------------------------------------------------------------------------------
3               S_IP_IF        10         -         0        True     False
4               S_IP_IF        61         -         1        True     False
GE0/1/1          S_IP_IF        101        -         1        True     False
GE0/1/2          S_IP_IF        103        -         1        True     False
--------------------------------------------------------------------------------
     Total Commit/Uncommit CFG Number : 4/0
Table 1 Description of the display bfd configuration command output
Item Description
CFG Name

Name of the session.

CFG Type

Type of the BFD session.

LocalDiscr

Local discriminator of the BFD session.

MIndex

Index of the BFD session configuration entry.

SessNum

Total number of BFD sessions of the configuration entry.

Commit

Enabling flag of session configuration entries.

AdminDown

Administration state flag of session configuration entries.

After the shutdown command is run in the BFD session view, the flag is displayed as True. The flag is displayed as False in other cases.

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >