The display bgp bfd session command displays information about BFD sessions between BGP peers.
display bgp [ instance instance-name ] bfd session all
display bgp [ instance instance-name ] bfd session peer ipv4-address
display bgp bfd session vpnv4 vpn-instance vpn-instance-name peer ipv4-address
display bgp instance instance-name bfd session vpnv4 vpn-instance vpn-instance-name peer ipv4-address
display bgp bfd session labeled vpn-instance vpn-instance-name peer ipv4-address
| Parameter | Description | Value |
|---|---|---|
| instance instance-name |
Specifies the name of a BGP instance. |
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. |
| all |
Displays BFD sessions between all BGP peers. |
- |
| peer ipv4-address |
Specifies the IPv4 address of a peer. |
It is in dotted decimal notation. |
| vpnv4 |
Indicates a VPNv4 address family. |
- |
| vpn-instance vpn-instance-name |
Displays information about BFD sessions of an IPv4 VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
| labeled |
Indicates a labeled address family. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp bfd session all -------------------------------------------------------------------------------- Local_Address Peer_Address Interface 10.1.12.2 10.1.12.1 Ethernet0/1/16 Tx-interval(ms) Rx-interval(ms) Multiplier Session-State 10 10 3 Up Wtr-interval(m) Valid-ttl-hops 0 20 --------------------------------------------------------------------------------
| Item | Description |
|---|---|
| Local_Address | Local address. |
| Peer_Address | Peer address. |
| Interface | Interface used to set up the BFD session. Information about the interface is displayed only when the EBGP peer relationship is set up between it and its directly connected interface; otherwise, the interface information is displayed as Unknown. |
| Tx-interval(ms) | Interval at which BFD packets are sent, in milliseconds. |
| Rx-interval(ms) | Interval at which BFD packets are received, in milliseconds. |
| Multiplier | Remote detection multiplier. |
| Session-State | BFD status:
|
| Wtr-interval(m) | WTR time of the BFD session, in minutes. |
| Valid-ttl-hops | Number of hops for the universal TTL security mechanism; This field is displayed only after the peer bfd valid-ttl-hops command is run on the BGP peer. |