display bfd statistics session all [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ]
display bfd statistics session static [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ]
display bfd statistics session dynamic
display bfd statistics session discriminator discr-value
display bfd statistics session peer-ip { peer-ip [ vpn-instance vpn-instance-name ] | default-ip }
display bfd statistics session static-auto
display bfd statistics session ldp-lsp peer-ip peer-ip [ nexthop nexthop-ip [ interface { interface-name | interface-type interface-number } ] ]
display bfd statistics session mpls-te interface { interface-type interface-number | interface-name } [ te-lsp ]
display bfd statistics session peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ]
display bfd statistics session all for-ipv6
display bfd statistics session static for-ipv6
display bfd statistics session pw interface { interface-name | interface-type interface-number } [ secondary ]
display bfd statistics session vsi-pw vsi vsi-name peer peer-ip [ vc-id vc-id ]
display bfd statistics session bgp-tunnel peer-ip peer-ip
display bfd statistics session sr-be-tunnel peer-ip peer-ip
display bfd statistics session { segment-list | srv6-segment-list } segment-list-id
display bfd statistics session flex-algo-tunnel peer-ip peer-ip
Parameter | Description | Value |
---|---|---|
for-ip |
Displays statistics about the BFD sessions for monitoring IP links. |
- |
for-lsp |
Displays statistics about the BFD sessions for monitoring LDP LSPs. |
- |
for-te |
Displays statistics about the BFD sessions for monitoring TE tunnels. |
- |
for-pw |
Displays statistics about the BFD sessions for monitoring PWs. |
- |
for-vsi-pw |
Displays statistics about the BFD sessions for monitoring VSI PWs. |
- |
all |
Displays statistics about all BFD sessions. |
- |
static |
Displays statistics about static BFD sessions. |
- |
dynamic |
Displays statistics about dynamic and statically self-negotiated BFD sessions. |
- |
discriminator discr-value |
Displays statistics about the BFD sessions with a specified local discriminator. |
The value is an integer ranging from 1 to 4294967295. |
peer-ip peer-ip |
Displays statistics about the BFD sessions bound to a specified peer IP address. |
The value is in dotted decimal notation. |
vpn-instance vpn-instance-name |
Displays statistics about the BFD sessions bound to a specified VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, which do not contain spaces. The VPN instance name cannot be _public_. The character string can contain spaces if it is enclosed with double quotation marks ("). |
default-ip |
Displays statistics about the BFD session about a multicast address. |
- |
static-auto |
Displays statistics about the static BFD sessions with automatically negotiated discriminators. |
- |
ldp-lsp |
Displays statistics about the BFD sessions for monitoring LDP LSPs. |
- |
nexthop nexthop-ip |
Displays statistics about the BFD sessions with a specified next hop IP address. |
The value is in dotted decimal notation. |
interface interface-type interface-number |
Specifies the type and number of an interface bound to a BFD session. |
- |
mpls-te |
Displays statistics about the BFD sessions for monitoring MPLS TE tunnels. |
- |
te-lsp |
Displays statistics about the BFD sessions for monitoring the primary LSP bound to the TE tunnel. |
- |
peer-ipv6 peer-ipv6 |
Displays statistics about the BFD sessions bound to a specified peer IPv6 address. |
The value is in 32-digit hexadecimal notation. |
for-ipv6 |
Displays statistics about the BFD sessions for monitoring IPv6 links. |
- |
pw |
Displays statistics about the BFD sessions for monitoring PWs. |
- |
secondary |
Displays statistics about the BFD session for monitoring a secondary PW. |
- |
vsi-pw |
Displays statistics about the BFD sessions for monitoring VSI PWs. |
- |
vsi vsi-name |
Specifies the VSI name. |
The value is a string of 1 to 31 case-insensitive characters. |
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 statistics about a BFD session that monitors a BGP Tunnel. |
- |
sr-be-tunnel |
Displays statistics about a BFD session that monitors a SR-MPLS BE Tunnel. |
- |
segment-list segment-list-id |
Displays statistics about a BFD session that monitors the SR-MPLS TE Policy. |
The value is an integer ranging from 1 to 4294967295. |
srv6-segment-list segment-list-id |
Displays statistics about a BFD session that monitors the SRv6 TE Policy. |
The value is an integer ranging from 1 to 4294967295. |
flex-algo-tunnel |
Displays statistics about a BFD session that monitors a Flex-Algo Tunnel. |
- |
Usage Scenario
To view statistics about BFD sessions, run the display bfd statistics session command.
Precautions
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bfd statistics session flex-algo-tunnel peer-ip 10.1.1.1
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
State : Up Name : dyn_16385
--------------------------------------------------------------------------------
Session Type : Dynamic
Bind Type : FLEX_ALGO_TUNNEL
Local/Remote Discriminator : 16385/67372036
Received Packets : 7
Send Packets : 1
Received Bad Packets : 0
Send Bad Packets : 0
Down Count : 0
ShortBreak Count : 0
Send Lsp Ping Count : 0
Create Time : 2020-10-27 06:21:55
Last Down Time : -
Total Time From Last DOWN : ---D:--H:--M:--S
Last Up Time : 2020-10-27 06:22:00
Last Up Lasting Time : 000D:01H:34M:39S
Total Time From Create : 000D:01H:34M:43S
--------------------------------------------------------------------------------
Total Session Number : 1
<HUAWEI> display bfd statistics session srv6-segment-list 5
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
State : Up Name : dyn_16395
--------------------------------------------------------------------------------
Session Type : Dynamic
Bind Type : SID_LIST
Local/Remote Discriminator : 16395/100000000
Received Packets : 3746146
Send Packets : 3746146
Received Bad Packets : 0
Send Bad Packets : 0
Down Count : 0
ShortBreak Count : 0
Send Lsp Ping Count : 0
Create Time : 2020-04-21 11:29:40
Last Down Time : -
Total Time From Last DOWN : ---D:--H:--M:--S
Last Up Time : 2020-04-21 11:29:46
Last Up Lasting Time : 000D:10H:24M:23S
Total Time From Create : 000D:10H:24M:30S
--------------------------------------------------------------------------------
Total Session Number : 1
<HUAWEI> display bfd statistics session segment-list 10
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
(One Hop) State : Up Name : dyn_17821
--------------------------------------------------------------------------------
Session Type : Dynamic
Bind Type : SID_LIST
Local/Remote Discriminator : 17821/17823
Received Packets : 7140086
Send Packets : 7140089
Received Bad Packets : 0
Send Bad Packets : 0
Down Count : 1
ShortBreak Count : 0
Send Lsp Ping Count : 0
Create Time : 1993-04-27 02:54:37
Last Down Time : -
Total Time From Last DOWN : ---D:--H:--M:--S
Last Up Time : 1993-04-27 02:54:38
Last Up Lasting time : 000D:02H:40M:58S
Total Time From Create : 000D:00H:30M:01S
--------------------------------------------------------------------------------
Total Session Number : 1
<HUAWEI> display bfd statistics session all
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
(Multi Hop) State : Down Name : atob
--------------------------------------------------------------------------------
Session Type : Static
Bind Type : IP
Local/Remote Discriminator : 1/2
Received Packets : 0
Send Packets : 306
Received Bad Packets : 0
Send Bad Packets : 0
Down Count : 0
ShortBreak Count : 0
Send Lsp Ping Count : 0
Create Time : 2012-11-17 21:04:06
Last Down Time : 0000/00/00 00:00:00
Down Status Lasting Time : ---D:--H:--M:--S
Last Up Time : 2012-11-17 21:14:50
Last Up Lasting Time : ---D:--H:--M:--S
Total Time From Create : 000D:00H:10M:44S
--------------------------------------------------------------------------------
Total Session Number : 1
Item | Description |
---|---|
State | Current status of the BFD session. The value can be:
|
Name | BFD session name. |
Session Type | Ways of establishing BFD sessions. The value can be:
|
Bind Type | BFD session binding types. The value can be:
|
Local/Remote Discriminator | Local discriminator and remote discriminator of the BFD session. |
Received Packets | Number of BFD packets received by the local end. This field can be cleared using the reset bfd statistics command. |
Received Bad Packets | Number of received error packets. |
Send Packets | Number of BFD packets sent by the local end. This field can be cleared using the reset bfd statistics command. |
Send Bad Packets | Number of packets that fail to be sent. |
Send Lsp Ping Count | Number of LSP ping packets sent by the local end. |
Down Count | Number of times that the BFD session goes Down. |
Down Status Lasting Time | Time elapsed since the last BFD session went Down. |
ShortBreak Count | Number of times that the BFD session is transiently interrupted. |
Create Time | Time when the BFD session was created. |
Last Down Time | Time when the BFD session was last Down. |
Last Up Time | Time of the last Up BFD session. |
Last Up Lasting Time | Duration of the last Up BFD session. |
Total Time From Create | Time elapsed since the BFD session was created. |
Total Session Number | Number of BFD sessions. |
Total Time From Last Down | Time elapsed since the last BFD session went Down. |