display bfd statistics session { all | static } [ for-lsp | for-pw | for-te | for-vsi-pw ](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 statistics session { ldp-lsp peer-ip ip-address nexthop nexthop-address [ interface interface-type interface-number ] | static-lsp lsp-name | mpls-te interface interface-type interface-number [ te-lsp ] | pw interface interface-type interface-number [ secondary ] } (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 statistics session { vsi-pw vsi vsi-name peer peer-address [ vc-id vc-id ] } (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 statistics session { dynamic | discriminator discr-value | peer-ip default-ip | peer-ip ip-address [ vpn-instance vpn-instance-name ] | static-auto }
display bfd statistics session peer-ipv6 ipv6-address [ vpn-instance vpn-instance-name ]
display bfd statistics session { all | static } [ for-ip | for-ipv6 ]
Parameter |
Description |
Value |
---|---|---|
all |
Displays statistics about all BFD sessions. |
- |
static |
Displays statistics about static BFD sessions. |
- |
dynamic |
Displays statistics about dynamic BFD sessions and static BFD sessions with automatically negotiated discriminators. |
- |
discriminator discr-value |
Displays statistics about the BFD sessions with a local discriminator. |
The value is an integer that ranges from 1 to 16383. |
peer-ip default-ip |
Displays statistics about multicast BFD sessions. |
- |
peer-ip ip-address |
Displays statistics about the BFD session bound to the specified peer IP address. |
- |
static-auto |
Displays statistics about the static BFD session with the automatically negotiated discriminators. |
- |
vpn-instance vpn-instance-name |
Displays statistics about the BFD sessions bound to a specified VPN instance. |
The value must be an existing VPN instance name. |
for-ip |
Displays statistics about the BFD sessions for detecting IP links. |
- |
for-pw |
Displays statistics about the BFD sessions for detecting PWs. |
- |
for-lsp |
Displays statistics about the BFD sessions for detecting LSPs. |
- |
for-te |
Displays statistics about the BFD sessions for detecting a TE tunnel. |
- |
for-vsi-pw |
Displays statistics about the BFD sessions for detecting VSI PWs. |
- |
vsi vsi-name |
Displays statistics about the BFD session with the specified VSI PW 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 statistics about the BFD session for detecting a VSI PW with the specified peer IPv4 address. |
The value is expressed in dotted decimal notation. |
vc-id vc-id |
Displays statistics about the BFD session with the specified VC ID. |
The value is an integer that ranges from 1 to 4294967295. |
ldp-lsp |
Displays statistics about the BFD sessions for detecting LDP LSPs. |
- |
nexthop nexthop-address |
Displays statistics about the BFD session with the specified next hop address. |
The value is expressed in dotted decimal notation. |
interface-type interface-number |
Displays statistics about the BFD session with the specified outbound interface.
|
- |
static-lsp |
Displays statistics about the BFD sessions for detecting static LSPs. |
- |
lsp-name |
Displays statistics 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 statistics about the BFD sessions for detecting MPLS TE tunnels. |
- |
te-lsp |
Displays statistics about the BFD session for detecting the primary LSP bound to a TE. |
- |
pw |
Displays statistics about the BFD sessions for detecting PWs. |
- |
secondary |
Displays statistics about the BFD session for detecting the secondary PW. |
- |
peer-ipv6 ipv6-address |
Displays statistics about the BFD6 session bound to a specified IPv6 address. |
- |
for-ipv6 |
Displays statistics about static or all BFD6 sessions. |
- |
Usage Scenario
The display bfd statistics session command displays BFD session statistics.
Precautions
If static BFD with automatically negotiated discriminators and dynamic BFD share a session, you can specify all, static-auto, or dynamic for query.
# Display statistics on all BFD sessions.
<HUAWEI> display bfd statistics session all
--------------------------------------------------------------------------------
Session MIndex : 16397 (Multi Hop)State : Up Name : dyn_8196
--------------------------------------------------------------------------------
Session Type : Dynamic
Bind Type : IP
Local/Remote Discriminator : 8100/8101
Received Packets : 1710577
Send Packets : 1710593
Received Bad Packets : 0
Send Bad Packets : 0
Down Count : 0
ShortBreak Count : 0
Send Lsp Ping Count : 0
Dynamic Session Delete Count : 0
Create Time : 2011-10-23 14:28:34
Last Down Time : 0000-00-00 00:00:00
Total Time From Last DOWN : ---D:--H:--M:--S
Last Up Time : 2011-11-14 11:06:52+08:00
Last Up Lasting Time : 002D:16H:49M:17S
Total Time From Create : 000D:04H:45M:35S
Auth Time (ms) : 0
Auth Seq Known (ms) : 0
Trigger If-down Delay Time (ms) : 0
--------------------------------------------------------------------------------
Total Session Number : 1
Item |
Description |
---|---|
Session MIndex |
Index of BFD session entries. |
State |
Status of a BFD session. |
Name |
Name of a BFD session. |
Session Type |
Mode in which a BFD session is established:
|
Bind Type |
BFD session binding type. |
Local/Remote Discriminator |
Local and remote discriminator of a BFD session. To set the local and remote discriminators of a BFD session, run the discriminator command. |
Received Packets |
Number of BFD packets received at the local end. This field can be deleted using the reset bfd statistics command. |
Send Packets |
Number of BFD packets sent by the local end. This field can be deleted using the reset bfd statistics command. |
Received Bad Packets |
Number of received error packets. |
Send Bad Packets |
Number of sent error packets. |
Down Count |
Number of times that a BFD session became Down. |
ShortBreak Count |
Number of times that a BFD session was transiently disconnected. |
Send Lsp Ping Count |
Number of LSP ping packets sent by the local end. |
Dynamic Session Delete Count |
Number of dynamic BFD sessions deleted. |
Create Time |
Time when a BFD session was created. |
Last Down Time |
Last time when a BFD session became Down. |
Total Time From Last DOWN Down Status Lasting Time |
Period from last time when a BFD session became Down to the current time. If a BFD session is Up, "Total Time From Last DOWN" is displayed. If a BFD session is Down, "Down Status Lasting Time" is displayed. |
Last Up Time |
Last time the BFD session becomes Up. |
Last Up Lasting Time |
Period from the last time when a BFD session is Up to the current time. |
Total Time From Create |
Period from the time when a BFD session was created to the current time. |
Total Session Number |
Number of BFD sessions. |
Auth Time (ms) |
Remaining time of the authentication timeout timer, in milliseconds |
Auth Seq Known (ms) |
Remaining time of the sequence number learning timer, in milliseconds |
Trigger If-down Delay Time (ms) |
Remaining time of the delay timer after which BFD instructs the interface to go down, in milliseconds |
Total Session Number |
Total number of BFD sessions |