display bfd session { dynamic | discriminator discr-value | peer-ip { default-ip | ip-address [ vpn-instance vpn-instance-name ] } | static-auto } [ verbose ]
display bfd session { all | static } [ for-lsp | for-pw | for-te | for-vsi-pw ] [ verbose ](S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)
display bfd session { ldp-lsp peer-ip ip-address nexthop ip-address [ interface interface-type interface-number ] | static-lsp lsp-name } [ verbose ] (S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)
display bfd session mpls-te interface interface-type interface-number [ te-lsp ] [ verbose ] (S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)
display bfd session pw interface interface-type interface-number [ secondary ] [ verbose ] (S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)
display bfd session passive-dynamic [ peer-ip ip-address remote-discriminator remote-discr-value ] [ verbose ] (S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S)
display bfd session { vsi-pw vsi vsi-name peer peer-address [ vc-id vc-id ] } [ verbose ] (S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)
display bfd session peer-ipv6 ipv6-address [ vpn-instance vpn-instance-name ] [ verbose ]
display bfd session { all | static } [ for-ip | for-ipv6 ] [ verbose ]
Parameter |
Description |
Value |
---|---|---|
all |
Displays information about all BFD sessions. |
- |
static |
Displays information about all static BFD sessions. |
- |
for-ip |
Displays information about the BFD sessions for detecting IP links. |
- |
for-lsp |
Displays information about the BFD sessions for detecting LSPs. |
- |
for-pw |
Displays information about the BFD sessions for detecting PWs. |
- |
for-te |
Displays information about the BFD sessions for detecting TE tunnels. |
- |
for-vsi-pw |
Displays information about the BFD sessions for detecting VSI PWs. |
- |
vsi-pw |
Displays information about the BFD session for detecting a VSI PW. |
- |
vsi-name |
Displays information about the BFD session with the specified VSI instance name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
peer peer-address |
Displays information about the BFD session for detecting a VSI PW with the specified peer IPv4 address. |
The value is in dotted decimal notation. |
nexthop ip-address |
Displays information about the BFD session with the specified next hop address. |
The value is in dotted decimal notation. |
interface interface-type interface-number |
Displays information about the BFD session with the specified outbound interface. |
- |
vc-id vc-id |
Displays information about the BFD session with the specified VC ID. |
The value is a decimal integer ranging from 1 to 4294967295. |
verbose |
Displays detailed information about BFD sessions. |
- |
dynamic |
Displays information about all dynamic BFD sessions and static BFD sessions negotiated with discriminators. |
- |
passive-dynamic |
Displays information about all dynamic BFD sessions created on the end in passive mode. |
- |
discriminator discr-value |
Displays information about the BFD session with a specified discriminator. You can specify only a local discriminator. |
The value is an integer that ranges from 1 to 16383. |
remote-discriminator remote-discr-value |
Displays information about the BFD session with a specified discriminator. You can specify only a remote discriminator. |
The value is an integer that ranges from 1 to 4294967295. |
peer-ip ip-address |
Displays information about the BFD session bound to the specified peer IP address. |
The value is in dotted decimal notation. |
default-ip |
Displays statistics about multicast BFD sessions. |
- |
vpn-instance vpn-instance-name |
Displays information about the BFD session bound to the specified VPN instance. |
The value must be an existing VPN instance name. |
static-auto |
Displays the information about the static BFD sessions with the automatically negotiated discriminators. |
- |
ldp-lsp |
Displays information about the BFD sessions for detecting LDP LSPs. |
- |
static-lsp |
Displays information about the BFD sessions for detecting static LSPs. |
- |
lsp-name |
Displays information about the BFD session for detecting the static LSP with the specified name. |
The value is a string of 1 to 19 case-sensitive characters without spaces. |
mpls-te |
Displays information about the BFD sessions for detecting MPLS TE tunnels. |
- |
te-lsp |
Displays information about the BFD session for detecting the primary LSP bound to a TE. |
- |
pw |
Displays information about the BFD sessions for detecting PWs. |
- |
secondary |
Displays information about the BFD session for detecting the secondary PW. |
- |
peer-ipv6 ipv6-address |
Displays information about the BFD6 session bound to a specified IPv6 address. |
- |
for-ipv6 |
Displays information about static or all BFD6 sessions. |
- |
Usage Scenario
The display bfd session command displays information about BFD sessions.
Prerequisites
BFD has been enabled globally.
Precautions
# Display the summary of all BFD sessions.
<HUAWEI> display bfd session all
--------------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------------
10 11 10.10.10.2 Up S_IP_IF Vlanif31
8192 0 10.10.10.2 Down S_AUTO_IF Vlanif31
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 1/1
Item |
Description |
---|---|
Local |
Local discriminator of the BFD session. To set the local discriminator, run the discriminator command. |
Remote |
Remote discriminator of the BFD session. To set the remote discriminator, run the discriminator command. |
PeerIpAddr |
Peer IP address bound to the BFD session. |
InterfaceName |
Outbound interface bound to the BFD session. In multi-hop BFD, this field is displayed as - because no interface is bound to a BFD session. |
State |
BFD session status:
|
Type |
BFD session type:
|
Total UP/DOWN Session Number |
Number of BFD sessions in Up or Down state. |
# Display detailed information about all BFD sessions.
<HUAWEI> display bfd session all verbose
--------------------------------------------------------------------------------
Session MIndex : 16384 (One Hop) State : Up Name : test
------------------------------------------------------------------------------
Local Discriminator : 111 Remote Discriminator : 222
Session Detect Mode : Asynchronous Mode Without Echo Function
BFD Bind Type : Interface(Vlanif500)
Bind Session Type : Static
Bind Peer IP Address : 224.0.0.184
NextHop Ip Address : 224.0.0.184
Bind Interface : Vlanif500
FSM Board Id : 6 TOS-EXP : 6
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 : 3784 TTL : 255
Proc Interface Status : Disable Process PST : Disable
WTR Interval (ms) : -
Active Multi : 3 DSCP : -
Auth Key ID : 1 Auth Timer : 0
Meticulous Auth : True Auth Type : MSHA1
Xmit Auth Seq : 0x5cb3cbed Rcv Auth Seq : 0x28909183
Error Packet Info : Correct Pkt
Last Local Diagnostic : No Diagnostic
Bind Application : No Application Bind
Session TX TmrID : - Session Detect TmrID : -
Session Init TmrID : - Session WTR TmrID : -
Session Echo Tx TmrID : -
PDT Index : FSM-B030000 | RCV-0 | IF-B030000 | TOKEN-0
Session Description : -
Trigger If-down Delay Time (s) : -
Receiving-admindown Trigger If-down : Disable
------------------------------------------------------------------------------
Total UP/DOWN Session Number : 1/0
Item |
Description |
---|---|
Session MIndex |
Index of BFD session entries. |
State |
Status of a BFD session. |
Name |
Name of a BFD session. |
Local Discriminator |
Local discriminator of the BFD session. To set the local discriminator of the BFD session, run the discriminator command. |
Remote Discriminator |
Remote discriminator of the BFD session. To set the remote discriminator of the BFD session, run the discriminator command. |
Session Detect Mode |
BFD detection modes:
|
BFD Bind Type |
BFD session binding type:
|
Bind Session Type |
Indicates the ways of establishing BFD sessions:
|
Bind Peer Ip Address |
Peer IP address bound to the BFD session. |
NextHop Ip Address |
IP address of the next hop. |
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. This field can be displayed only when the source IP address is specified for the BFD session that is created by running the bfd bind peer-ip or bfd bind peer-ip default-ip command. |
FSM Board Id |
Number of the processing board where the state machine works. |
TOS-EXP |
Priority of a BFD packet. To set the priority of a BFD packet, run the tos-exp command. |
Min Tx Interval(ms) |
Configured minimum interval for sending BFD packets. To set the minimum interval for sending BFD packets, run the min-tx-interval command. |
Min Rx Interval(ms) |
Configured minimum interval for receiving BFD packets. To set the minimum interval for receiving BFD packets, run the min-rx-interval command. |
Actual Tx Interval(ms) |
Actual minimum interval for sending BFD packets. |
Actual Rx Interval(ms) |
Actual minimum interval for receiving BFD packets. |
Local Detect Multi |
Local detection multiplier. To set the local detection multiplier, run the detect-multiplier command. |
Detect Interval(ms) |
BFD detection time. |
WTR Interval(ms) |
WTR time of the BFD session. To set the WTR time of the BFD session, run the wtr command. |
Echo Passive |
Whether the BFD passive Echo function is enabled:
|
Acl Number |
ACL rule number |
Destination Port |
Number of the destination port of the BFD session packet. The single-hop BFD control packet uses destination port 3784 and the multi-hop BFD control packet uses 3784 or 4784. |
TTL |
TTL value of the BFD packet. |
Process PST |
Flag for processing the Port Status Table (PST). If the process-pst command is configured, this field is displayed as Enable. Otherwise, it is displayed as Disable. |
Proc interface status |
Flag of association between the BFD session status and the interface status. If the process-interface-status command is configured, this field is displayed as Enable. Otherwise, it is displayed as Disable. |
Active Multi |
Detection multiplier that is effective. |
DSCP |
DSCP value in the BFD session. The value ranges from 1 to 63. The value - indicates that the DSCP value does not take effect in the BFD session. |
Auth Key ID |
Authentication key ID of a BFD session |
Auth Timer |
Negotiation timeout period of a BFD session, in seconds |
Meticulous Auth |
Authentication flag
|
Auth Type |
BFD authentication type:
|
Xmit Auth Seq |
Local sequence number of a BFD authentication session |
Rcv Auth Seq |
Remote sequence number of a BFD authentication session |
Error Packet Info |
Packet error information:
|
Last Local Diagnostic |
Local diagnostic cause for the last BFD session in Down state. |
Bind Application |
Application bound to the BFD session. |
Session TX TmrID |
Timer used for a BFD session to send packets. |
Session Detect TmrID |
BFD session detection timer. |
Session Init TmrID |
Timer for state machine initialization of a BFD session. |
Session WTR TmrID |
WTR timer of a BFD session. |
Session Echo Tx TmrID |
Timer used for a BFD session to send Echo packets. |
PDT Index |
Product information. |
Session Description |
Description of the BFD session. To set the description of the BFD session, run the description command. |
Trigger If-down Delay Time (s) |
Delay for a device to instruct the interface protocol to go down after the device detects a BFD down event, in seconds. |
Receiving-admindown Trigger If-down |
Whether the local device is enabled to instruct the interface protocol to go down upon receipt of an AdminDown packet. |
Total UP/DOWN Session Number |
Number of BFD sessions in Up or Down state. |