display bfd session all [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ] verbose
display bfd session static [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ] verbose
display bfd session passive-dynamic [ peer-ip peer-ip remote-discriminator discr-value ] verbose
display bfd session dynamic verbose
display bfd session discriminator discr-value verbose
display bfd session peer-ip { peer-ip [ vpn-instance vpn-name ] | default-ip } verbose
display bfd session static-auto verbose
display bfd session ldp-lsp peer-ip peer-ip [ nexthop nexthop-ip [ interface { interface-name | interface-type interface-number } ] ] verbose
display bfd session mpls-te interface { interface-type interface-number | interface-name } [ te-lsp ] verbose
display bfd session pw interface { interface-name | interface-type interface-number } [ secondary ] verbose
display bfd session vsi-pw vsi vsi-name peer peer-address [ vc-id vc-id ] verbose
display bfd session bgp-tunnel peer-ip peer-ip verbose
display bfd session sr-be-tunnel peer-ip peer-ip verbose
display bfd session { segment-list | srv6-segment-list } segment-list-id verbose
display bfd session flex-algo-tunnel peer-ip peer-ip verbose
Parameter | Description | Value |
---|---|---|
for-ip |
Displays detailed information about the BFD session for detecting faults in IP links. |
- |
for-lsp |
Displays detailed information about the BFD, LDP LSP session for detecting faults in LSPs. |
- |
for-te |
Displays detailed information about the BFD, TE Tunnel, TE LSP session for detecting faults in TE tunnels. |
- |
for-pw |
Displays detailed information about the BFD session for detecting faults in a PW. |
- |
for-vsi-pw |
Displays detailed information about the BFD session for detecting faults in a VSI PW. |
- |
all |
Displays detailed information about all BFD sessions. |
- |
static |
Displays detailed information about static BFD sessions. |
- |
passive-dynamic |
Displays detailed information about the BFD sessions that are passively created. |
- |
peer-ip peer-ip |
Displays detailed information about the BFD session with a specified peer IP address. |
The value is in dotted decimal notation. |
remote-discriminator discr-value |
Displays detailed information about the BFD sessions with a specified remote discriminator. |
The value is an integer ranging from 1 to 4294967295. |
dynamic |
Displays detailed information about dynamic and statically self-negotiated BFD sessions. |
- |
discriminator discr-value |
Displays detailed 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 detailed information about the BFD session bound to a specified VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
default-ip |
Displays statistics about BFD sessions with the default multicast address. |
- |
static-auto |
Displays detailed information about the BFD session with automatically negotiated discriminators. |
- |
ldp-lsp |
Displays detailed information about the BFD session for detecting faults in an LDP LSP. |
- |
nexthop nexthop-ip |
Displays detailed information about the BFD session with a specified next-hop IP address. |
The value is in dotted decimal notation. |
interface interface-type interface-number |
Displays detailed information about the BFD session with a specified interface. |
- |
mpls-te |
Displays detailed information about the BFD session for detecting faults in MPLS TE tunnels. |
- |
te-lsp |
Displays detailed information about the BFD session for detecting faults in the primary CR-LSP bound to the TE tunnel. |
- |
pw |
Displays detailed information about the BFD session for detecting faults in a PW. |
- |
secondary |
Displays statistics about a BFD session for monitoring a secondary PW. |
- |
vsi-pw |
Displays detailed 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. |
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 detailed information about a BFD session that monitors a BGP Tunnel. |
- |
sr-be-tunnel |
Displays detailed information about a BFD session that monitors an SR-MPLS BE tunnel. |
- |
segment-list segment-list-id |
Displays detailed information about a BFD session for SR-MPLS TE Policy. |
The value is an integer that ranges from 1 to 4294967295. |
srv6-segment-list segment-list-id |
Displays detailed information about a BFD session for SRv6 TE Policy. |
The value is an integer ranging from 1 to 4294967295. |
flex-algo-tunnel |
Displays detailed information about a BFD session that monitors a Flex-Algo Tunnel. |
- |
Usage Scenario
To view detailed information about BFD sessions, run the display bfd session verbose 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 verbose
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
State : Up Name : dyn_16385
--------------------------------------------------------------------------------
Local Discriminator : 16385 Remote Discriminator : 67372036
Session Detect Mode : Seamless Mode Without Echo Function
BFD Bind Type : FLEX_ALGO_TUNNEL
Bind Session Type : Dynamic
Bind Peer IP Address : 10.1.1.1
NextHop Ip Address : -
Bind Interface : -
Tunnel ID : 4
FSM Board Id : 3 TOS-EXP : 7
Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10
Actual Tx Interval (ms): 10 Actual Rx Interval (ms): 10
Local Detect Multi : 3 Detect Interval (ms) : 30
Echo Passive : Disable Acl Number : -
Destination Port : 7784 TTL : 1
Proc Interface Status : Disable Process PST : Enable
WTR Interval (ms) : - Config PST : Enable
Active Multi : 3
Last Local Diagnostic : No Diagnostic
Bind Application : SEGR
Session TX TmrID : - Session Detect TmrID : -
Session Init TmrID : - Session WTR TmrID : -
Session Echo Tx TmrID : -
Session Description : -
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 1/0
<HUAWEI> display bfd session srv6-segment-list 5 verbose
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
State : Up Name : dyn_16395
--------------------------------------------------------------------------------
Local Discriminator : 16395 Remote Discriminator : 100000000
Session Detect Mode : Seamless Mode Without Echo Function
BFD Bind Type : SID_LIST
Bind Session Type : Dynamic
SID_LIST Id : 5 Color : 100
Bind Peer IP Address : 100::100
Bind Interface : -
FSM Board Id : 1 TOS-EXP : 7
Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10
Actual Tx Interval (ms): 10 Actual Rx Interval (ms): 10
Local Detect Multi : 3 Detect Interval (ms) : 30
Echo Passive : Disable Acl Number : -
Destination Port : 7784 TTL : 255
Proc Interface Status : Disable Process PST : Enable
WTR Interval (ms) : 1000 Config PST : Enable
Active Multi : 3
Last Local Diagnostic : No Diagnostic
Bind Application : SRPOLICY6
Session TX TmrID : - Session Detect TmrID : -
Session Init TmrID : - Session WTR TmrID : -
Session Echo Tx TmrID : -
Session Description : -
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 1/0
<HUAWEI> display bfd session segment-list 2 verbose
2019-01-21 20:48:07.387
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
State : Down Name : dyn_16392
--------------------------------------------------------------------------------
Local Discriminator : 16392 Remote Discriminator : 16777216
Session Detect Mode : Seamless Mode Without Echo Function
BFD Bind Type : SID_LIST
Bind Session Type : Dynamic
SID_LIST Id : 2 Color : 100
Bind Peer IP Address : 1.1.1.20
Bind Interface : -
FSM Board Id : 4 TOS-EXP : 7
Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10
Actual Tx Interval (ms): - Actual Rx Interval (ms): -
Local Detect Multi : 3 Detect Interval (ms) : -
Echo Passive : Disable Acl Number : -
Destination Port : 7784 TTL : 1
Proc Interface Status : Disable Process PST : Enable
WTR Interval (ms) : - Config PST : Enable
Active Multi : -
Last Local Diagnostic : No Diagnostic
Bind Application : SRPOLICY
Session TX TmrID : - Session Detect TmrID : -
Session Init TmrID : - Session WTR TmrID : -
Session Echo Tx TmrID : -
Session Not Up Reason : In negotiation
Session Description : -
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 0/1
<HUAWEI> display bfd session all verbose (w): State in WTR (*): State is invalid -------------------------------------------------------------------------------- (One Hop) State : Up Name : atob ------------------------------------------------------------------------------ Local Discriminator : 111 Remote Discriminator : 222 Session Detect Mode : Asynchronous Mode Without Echo Function BFD Bind Type : Interface(GigabitEthernet0/1/8) Bind Session Type : Static Bind Peer IP Address : 10.10.10.2 Bind Interface : GigabitEthernet0/1/8 Track Interface : - Bind Source IP Address : 10.10.10.1 FSM Board Id : 1 TOS-EXP : 7 Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10 Actual Tx Interval (ms): 2000 Actual Rx Interval (ms): 2000 Local Detect Multi : 3 Detect Interval (ms) : 30 Echo Passive : Disable Acl Number : - Destination Port : 4784 TTL : 254 Proc Interface Status : Disable Process PST : Disable WTR Interval (ms) : 0 Config PST : Enable Active Multi : 0 Last Local Diagnostic : No Diagnostic Bind Application : No Application Bind Session TX TmrID : 2369967508 Session Detect TmrID : - Session Init TmrID : - Session WTR TmrID : - Session Echo Tx TmrID : - Session Description : - ------------------------------------------------------------------------------ Total UP/DOWN Session Number : 1/0
Item | Description |
---|---|
State | Current status of the BFD session. The value can be:
|
WTR Interval (ms) | WTR time of the BFD session. |
WTR Interval (ms) | WTR time of a BFD session. |
Name | BFD session name. |
Local | Local discriminator of the BFD session. |
Local Discriminator | Local discriminator of the BFD session. |
Local Detect Multi | Configured local detection multiplier of BFD packets. |
Remote | Remote discriminator of the BFD session. |
Remote Discriminator | Remote discriminator of the BFD session. |
Session Detect Mode | Detection mode of the BFD session: The options are as follows:
|
Session TX TmrID | Timer used by the BFD session to send packets. |
Session Detect TmrID | Timer for BFD session detection. |
Session Init TmrID | Timer for the BFD session state machine initialization. |
Session WTR TmrID | WTR timer for the BFD session. |
Session Not Up Reason | Reason why the BFD session is not negotiated to be Up. This field is displayed when the session is in the Down or Init state. The MT attributes are as follows:
|
Session Description | Description of the BFD session. |
Session Echo Tx TmrID | Timer used by the BFD session to send Echo packets. |
Detect Interval (ms) | Detection interval of the BFD session. |
Echo Passive | Whether the BFD passive Echo function is enabled:
|
BFD Bind Type | BFD session binding types. The value can be:
|
Bind Session Type | BFD session type:
|
Bind Peer IP Address | Peer IP address tracked by BFD. |
Bind Interface | Outbound interface bound to the BFD session. |
Bind Source IP Address | Source IP address of the local interface bound to the BFD session. The Bind Source Ip Address field is displayed only if the source IP address is specified in creating a BFD session by running the bfd bind peer-ip command. |
Bind Application | Application to which the BFD session is bound:
|
Type | Type of the BFD session:
|
NextHop Ip Address | NextHop Ip Address. |
Tunnel ID | Tunnel ID. |
FSM Board Id | Slot ID of the main control board where the BFD state machine resides. |
TOS-EXP | Priority of BFD packets. |
Min Tx Interval (ms) | Configured minimum interval at which BFD packets are sent. |
Min Rx Interval (ms) | Configured minimum interval at which BFD packets are received. |
Actual Tx Interval (ms) | Actual minimum interval at which BFD packets are sent. |
Actual Rx Interval (ms) | Actual minimum interval at which BFD packets are received. |
Actual Tx Interval (ms) | Actual minimum interval at which BFD packets are sent. |
Actual Rx Interval (ms) | Actual minimum interval at which BFD packets are received. |
Acl Number | ACL number applied to the BFD session. |
Destination Port | Destination port number of BFD packets. |
TTL | TTL of BFD packets. |
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. |
Process PST | Flag for processing the Port Status Table (PST). The value can be:
If the process-pst command is configured and takes effect, this field is displayed as Enable. Otherwise, this field is displayed as Disable. |
Config PST | PST status. The value can be:
If the process-pst command is configured, this field is displayed as Enable. Otherwise, this field is displayed as Disable. |
Active Multi | Active detection multiplier of the BFD session. |
Last Local Diagnostic | Local diagnostic cause for the last BFD session in Down state. The value can be:
|
Total UP/DOWN Session Number | Number of BFD sessions in the Up or Down state. |
SID_LIST Id | Segment-List ID. |
Color | Path color value. |
Track Interface | Interface tracked by the BFD session group. |
PeerIpAddr | Peer IP address tracked by BFD. |