< Home

display bfd session

Function

The display bfd session command views information about the BFD session.

Format

display bfd session { all | static } [ for-ip | for-ipv6 ] [ verbose ]

display bfd session { dynamic | discriminator local-discr-value | peer-ip { default-ip | peer-ip [ vpn-instance vpn-instance-name ] } | static-auto } [ verbose ]

display bfd session peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ] [ verbose ]

Parameters

Parameter Description Value
all Displays information about all BFD sessions. -
static Displays information about the static BFD session. -
for-ip Displays the configuration of a BFD session that monitors an IPv4 link. -
for-ipv6 Displays the configuration of a BFD session that monitors an IPv6 link. -
discriminator local-discr-value Displays information about the BFD session with a specified local discriminator. It is an integer ranging from 1 to 16383.
dynamic Displays information about all dynamic BFD sessions. -
peer-ip peer-ip Displays information about the BFD session bound to the peer with a specified IP address. It is in dotted decimal notation.
default-ip Display statistics about a BFD session with a default multicast address. -
peer-ipv6 peer-ipv6 Displays information about the BFD session bound to the peer with a specified IPv6 address. -
vpn-instance vpn-instance-name Displays information about the BFD session bound with a specified VPN instance. It must be the name of the existing VPN instance configured with the RD.
static-auto Displays information about the static BFD session with automatically negotiated discriminators. -
verbose Displays detailed information about the BFD session. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

No matter whether a static BFD session with an auto-negotiated discriminator is the same as a dynamic BFD session or not, both the BFD sessions are displayed as dynamic sessions when the BFD type (static or dynamic) is queried.

Example

# Display brief information about all BFD sessions.

<sysname> display bfd session all
--------------------------------------------------------------------------------
Local Remote     PeerIpAddr      State     Type        InterfaceName
--------------------------------------------------------------------------------
2     1          10.1.1.2        Up        S_IP_PEER         -
3     3          10.1.1.2        Up        S_IP_IF     GigabitEthernet0/0/0
5     4          224.0.0.184     Up        S_IP_IF     GigabitEthernet0/0/0
--------------------------------------------------------------------------------
     Total UP/DOWN Session Number: 3/0 
Table 1 Description of the display bfd session all command output

Item

Description

Local

Indicates local discriminator.

Remote

Indicates remote discriminator.

PeerIpAddr

Indicates IP address of the peer.

State

Indicates the session status. The value can be:
  • Up: indicates the BFD session is in the Up state.

  • Down: indicates the BFD session is in the Down state.

  • AdminDown: If the shutdown (BFD session view) command is used, the BFD session enters the AdmDown state.

  • Init: indicates the BFD session is in the Init state.

Type

Indicates the binding types of the BFD session.

Interface Name

Indicates the outbound interface bound to the BFD session. Because the interface is not bound to the multi-hop BFD session, "-" is displayed in this field.

Total UP/DOWN Session Number :

Indicates the number of the current sessions in the Up and Down states.

# Display the details of all BFD sessions.

<sysname> display bfd session all verbose
--------------------------------------------------------------------------------
Session MIndex : 16384      State : Up        Name : test
--------------------------------------------------------------------------------
  Local Discriminator    : 60               Remote Discriminator   : 20
  Session Detect Mode    : Asynchronous Mode Without Echo Function
  BFD Bind Type          : Interface(GigabitEthernet0/0/1)
  Bind Session Type      : Static
  Bind Peer IP Address   : 1.1.1.1
  Bind Interface         : GigabitEthernet0/0/1
  Track Interface        : -
  FSM Board Id           : 0                TOS-EXP                : 6  
  Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000  
  Actual Tx Interval (ms): 1000             Actual Rx Interval (ms): 1000 
  Local Detect Multi     : 3                Detect Interval (ms)   : 3000
  Echo Passive           : Disable          Acl Number             : -   
  Destination Port       : 3784
  Proc interface status  : Disable  
  WTR Interval (ms)      : --              
  Active Multi           : 3    
  Last Local Diagnostic  : Control Detection Time Expired
  Bind Application       : PBR
  Session TX TmrID       : 4108             Session Detect TmrID   : 4109  
  Session Init TmrID     : --               Session WTR TmrID      : --  
  PDT Index              : FSM-0|RCV-0|IF-0|TOKEN-0   
  Session Description    : --    
-------------------------------------------------------------------------------
Table 2 2 Description of the display bfd session all verbose command output

Item

Description

Session MIndex

Index of a BFD session entry

State

Current status of the BFD session:
  • Up: indicates the BFD session is in the Up state.

  • Down: indicates the BFD session is in the Down state.

  • AdminDown: If the shutdown (BFD session view) command is used, the BFD session enters the AdmDown state.

  • Init: indicates the BFD session is in the Init state.

Name

Name of the BFD session

Local Discriminator

Local discriminator

Remote Discriminator

Remote discriminator

Session Detect Mode

Session detection mode

BFD Bind Type

Binding type of a BFD session:
  • Peer Ip Address: detects the multi-hop IP link.

  • For IP-link one-hop detection or the multi-hop detection of the specified next hop, the field is displayed as Interface and bound local interface.

  • S_Auto: indicates the statically created BFD session with automatically negotiated discriminators.

Bind Session Type

Type of the BFD session:
  • Static: indicates the static BFD session.

  • Dynamic: indicates the BFD session that is created dynamically.

  • S_Auto: indicates the static BFD session with automatically negotiated discriminators.

Bind Peer IP Address

Peer IP address of the session

Bind Interface

Outbound interface bound to the BFD session

Track Interface

Interface tracked by the BFD session.

Bind Source IP Address

Source IP address of the local interface bound to the BFD session

The field can be displayed only when the source IP address is specified for the BFD session in the bfd bind peer-ip or bfd bind peer-ip default-ip command.

FSM Board Id

Main processing board number of the state machine

TOS-EXP

Priority of the BFD packet

Min Tx Interval (ms)

Configured minimum interval for sending a BFD packet

Min Rx Interval (ms)

Configured minimum interval for receiving a BFD packet

Actual Tx Interval (ms)

Actual minimum sending interval

Actual Rx Interval (ms)

Actual minimum receiving interval

Local Detect Multi

Configured local detection multiplier

Detect Interval (ms)

Detection interval

Echo Passive

Passive echo mode

If the passive echo mode is triggered, the field is displayed as Enable; otherwise, the field is displayed as Disable.

Destination Port

Destination port

WTR Interval (ms)

Time of WTR

Proc interface status

Association between the status of the BFD session and the bound interface. The device does not support the association between the interface and the status. The field is displayed as Disable.

Active Multi

Active detection multiplier. This field is displayed only when the session status is Up.

Local Demand Mode

Local demand mode

If the demand mode is configured locally, the field is displayed as Enable; otherwise, the field is displayed as Disable.

Last Local Diagnostic

Local diagnostic reason for the Down state of the last session

Bind Application

Bound application. For example, in the interworking between the policy-based route and BFD, the field is displayed as PBR when the session is in Up state.

Session TX TmrID

Timer for session sending packet

Session Detect TmrID

Timer for session detection

Session Init TmrID

Timer for session state machine initialization

Session WTR TmrID

Timer for session to wait for recovery

PDT Index

Product information

Session Description

Descriptions of the BFD session

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