display bgp bfd session

Function

The display bgp bfd session command displays information about BFD sessions between BGP peers.

Format

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

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

The information about the BFD session of a specified peer can be displayed by specifying different parameters.

The display bgp bfd session all command output does not contain BFD information about the BGP unnumbered peer.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display BFD sessions between all BGP peers.
<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                 
--------------------------------------------------------------------------------
Table 1 Description of the display bgp bfd session command output
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:

  • BFD global disable: BFD is globally disabled.
  • Up: The BFD session is in the Up state.
  • Down: The BFD session is in the Down state.
  • Unknown: When BFD fails to go Up for the first time, whether the link is faulty is unknown.
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >