display bfd session all [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ]
display bfd session static [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ]
display bfd session passive-dynamic [ peer-ip peer-ip remote-discriminator discr-value ]
display bfd session dynamic
display bfd session discriminator discr-value
display bfd session peer-ip { peer-ip [ vpn-instance vpn-name ] | default-ip }
display bfd session static-auto
display bfd session ldp-lsp peer-ip peer-ip [ nexthop nexthop-ip [ interface { interface-name | interface-type interface-number } ] ]
display bfd session mpls-te interface { interface-type interface-number | interface-name } [ te-lsp ]
display bfd session peer-ipv6 peer-ipv6 [ vpn-instance vpn-name ]
display bfd session all for-ipv6
display bfd session static for-ipv6
display bfd session pw interface { interface-name | interface-type interface-number } [ secondary ]
display bfd session vsi-pw vsi vsi-name peer peer-address [ vc-id vc-id ]
display bfd session bgp-tunnel peer-ip peer-ip
display bfd session sr-be-tunnel peer-ip peer-ip
display bfd session { segment-list | srv6-segment-list } segment-list-id
display bfd session flex-algo-tunnel peer-ip peer-ip
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 information about the BFD, TE Tunnel, TE LSP session for detecting faults in TE tunnels. |
- |
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 information about static BFD sessions. |
- |
passive-dynamic |
Displays information about the BFD sessions that are passively created. |
- |
peer-ip peer-ip |
Displays information about the BFD session with a specified peer IP address. |
The value is in dotted decimal notation. |
remote-discriminator discr-value |
Displays information about the BFD sessions with a specified remote discriminator. |
The value is an integer ranging from 1 to 4294967295. |
dynamic |
Displays information about dynamic and statically self-negotiated BFD sessions. |
- |
discriminator discr-value |
Displays information about the BFD sessions with a specified local discriminator. |
The value is an integer ranging from 1 to 4294967295. |
vpn-instance vpn-name |
Displays information about the 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. |
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 |
Displays information about the BFD session with a specified next-hop IP address. |
The value is in dotted decimal notation. |
interface interface-name interface-type |
Displays information about the BFD session with a specified interface. |
- |
mpls-te |
Displays the configuration of the BFD session for monitoring MPLS TE. |
- |
te-lsp |
Displays information about the BFD session for detecting faults in the primary CR-LSP bound to the TE tunnel. |
- |
peer-ipv6 peer-ipv6 |
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 information about the BFD session for detecting faults in a PW. |
- |
secondary |
Displays the configuration of the BFD session for monitoring a secondary PW. |
- |
vsi-pw |
Displays information about the BFD session for detecting faults in 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. |
bgp-tunnel |
Displays the configuration of a BFD session that monitors a BGP Tunnel. |
- |
sr-be-tunnel |
Displays information about a BFD session that monitors an SR-MPLS BE tunnel. |
- |
segment-list segment-list-id |
Displays information about a BFD session for SR-MPLS TE Policy. |
The value is an integer ranging from 1 to 4294967295. |
srv6-segment-list segment-list-id |
Displays information about a BFD session for SRv6 TE Policy. |
The value is an integer ranging from 1 to 4294967295. |
flex-algo-tunnel |
Displays information about a BFD session that monitors a Flex-Algo Tunnel. |
- |
Usage Scenario
To view information about BFD sessions, run the display bfd session command with one or more parameters.
Prerequisites
BFD has been globally enabled using the bfd command in the system view.
Precautions
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bfd session flex-algo-tunnel peer-ip 10.1.1.1
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------------
16385 67372036 10.1.1.1 Up D_FLEX_ALGO -
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 1/0
<HUAWEI> display bfd session srv6-segment-list 5
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------------
16395 100000000 100::100
Up D_SID_LIST -
--------------------------------------------------------------------------------
<HUAWEI> display bfd session segment-list 10
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------------
16386 - 9.9.9.9 Down D_SID_LIST -
--------------------------------------------------------------------------------
<HUAWEI> display bfd session all (w): State in WTR (*): State is invalid ------------------------------------------------------------------------------ Local Remote PeerIpAddr State Type InterfaceName ------------------------------------------------------------------------------ 111 222 10.10.10.2 Up S_IP_IF GigabitEthernet0/1/8 ------------------------------------------------------------------------------ Total UP/DOWN Session Number : 1/0
Item | Description |
---|---|
State | Status of the BFD session:
|
Local | Local discriminator of the BFD session. |
Remote | Remote discriminator of the BFD session. |
PeerIpAddr | Remote IP address of the BFD session. |
Type | Type of the BFD session:
|
InterfaceName | Outbound interface to which the BFD session is bound. For a multi-hop BFD session, "-" is displayed because no interface is bound to the BFD session. |
Total UP/DOWN Session Number | UP BFD Session Number/DOWN BFD Session Number. |