< Home

display bfd configuration

Function

The display bfd configuration command displays configurations of the BFD session.

Format

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

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

Parameters

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

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When there are a great number of BFD sessions, you can view BFD session with specified type, name or bound peer address by selecting certain parameters.

If the static BFD session with the discriminator automatically negotiated and the dynamic BFD session have the same configurations, you can view that the shared BFD session belongs to both the static session and the dynamic session in terms of the BFD session type.

Example

# Display all configurations of the BFD session.

<sysname> display bfd configuration all
 --------------------------------------------------------------------------------
 CFG Name        CFG Type       LocalDiscr MIndex    SessNum  Commit   AdminDown 
 --------------------------------------------------------------------------------
 test1           S_IP_IF        8196       512       1        True     False     
 test2           S_IP_PEER      11         513       1        True     False     
 --------------------------------------------------------------------------------
      Total Commit/Uncommit CFG Number : 2/0
Table 1 Description of the display bfd configuration all command output

Item

Description

CFG Name

Indicates the name of the BFD session.

CFG Type

Indicates the types of BFD sessions. The value can be:
  • S_IP_IF: A single-hop BFD session that is created statically and bound to an interface.

  • S_IP_PEER: A multi-hop BFD session is created statically.
  • S_STA_LSP: A BFD session is statically created to monitor an LSP.
  • S_LDP_LSP: A BFD session is statically created to monitor an LDP LSP.
  • S_TE_LSP: A BFD session is statically created to monitor a TE LSP.
  • S_TE_TNL: A BFD session is statically created to monitor a TE tunnel.
  • S_PW: A BFD session is statically created to monitor a PW.
  • S_VSI_PW: A BFD session is statically created to monitor a VSI PW.
  • Dynamic: A BFD session is created dynamically.

  • Entire_Dynamic: A BFD session is created entirely dynamically.
  • S_AUTO_IF: A static single-hop BFD session with automatically negotiated discriminators is created.

  • S_AUTO_PEER: A static multi-hop BFD session with automatically negotiated discriminators is created.

LocalDiscr

Indicates local identifier of the BFD session.

MIndex

Indicates the index of BFD session configuration entries.

SessCount

Indicates total number of BFD sessions of the configuration entry.

Commit Flag

Indicates the enabling flag of session configuration entries.

After the commit command is used in the BFD view, the flag is "True"; or, it is "False".

Admin Flag

Indicates the administration state flag of session configuration entries.

After the shutdown (BFD session view) command is used in the BFD view, the flag is "True"; or, it is "False".

Total Commit/Uncommit CFG Number

Indicates the total number of committed BFD configurations and that of uncommitted BFD configurations through the commit command in the BFD session view.

# Display detailed configurations of all BFD sessions.

<sysname> display bfd configuration all verbose
--------------------------------------------------------------------------------
   BFD Session Configuration Name : test1          
--------------------------------------------------------------------------------
   Local Discriminator    : 8191             Remote Discriminator   : 1       
   BFD Bind Type          : Interface(GigabitEthernet0/0/1)
   Bind Session Type      : Static                                              
   Bind Peer IP Address   : 3.1.1.2                                         
   Bind Interface         : GigabitEthernet0/0/1
   Bind Source IP Address : 3.1.1.1  
   TOS-EXP                : 7                Local Detect Multi     : 3         
   Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000      
   Proc Interface Status  : Disable          WTR Interval (ms)      : -         
   Bind Application       : No Application Bind
   Session Description    : -                                                   
   Session Create Status  : Success                                             
--------------------------------------------------------------------------------

-------------------------------------------------------------------------------
   BFD Session Configuration Name : test2    
-------------------------------------------------------------------------------
   Local Discriminator    : 11              Remote Discriminator   : 11 
   BFD Bind Type          : Peer IP Address
   Bind Session Type      : Static 
   Bind Peer IP Address   : 10.10.10.1  
   Bind Interface         : -
   Select Board           : - 
   Track Interface        : -
   TOS-EXP                : 6                Local Detect Multi     : 3 
   Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000 
   Proc Interface Status  : Disable          WTR Interval (ms)      : - 
   Bind Application       : No Application Bind    
   Session Description    : -   
   Session Create Status  : Success   
-------------------------------------------------------------------------------
     Total Commit/Uncommit CFG Number : 2/0
Table 2 Description of the display bfd configuration all verbose command output

Item

Description

BFD Session Configuration Name

Indicates the name of the BFD session.

Local Discriminator

Indicates local identifier.

Remote Discriminator

Indicates remote identifier. For a BFD session with the one-arm Echo function, the remote discriminator is displayed as _.

BFD Bind Type

Indicates the types of links bound to the BFD session. The value can be:
  • Peer IP Address: detects the multi-hop IP link.

  • For the one-hop IP link to be monitored, the field is displayed with the interface and the bound local interface.

  • STATIC_LSP: monitors a static LSP.

  • LDP_LSP: monitors an LDP LSP.

  • LDP_TUNNEL: monitors an LDP tunnel.

  • TE_LSP: monitors an LSP bound to the TE.

  • TE_TUNNEL: monitors an MPLS TE tunnel.

  • PW: monitors a PW link.

  • VSI_PW: monitors a VSI PW link.

  • BGP_TUNNEL: monitors an BGP tunnel.

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

Bind Session Type

Indicates the types of BFD sessions. The value can be:
  • Static: indicates the BFD session that is set up statically.

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

  • Entire_Dynamic:A BFD session is created entirely dynamically.

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

Bind Peer IP Address

Indicates the peer address or the multicast address bound to the BFD session.

Bind Interface

Indicates local interface bound to the BFD session.

Bind Source IP Address

Indicates the source IP address of the BFD packet.

Select Board

Indicates the board for processing the BFD state machine, which can be a main control board or an interface board.

Track Interface

Indicates the interface tracked by BFD session.

TOS-EXP

Indicates the priority of BFD packets.

Local Detect Multi

Indicates the configured Local detection multiplier.

Min Tx Interval (ms)

Indicates the configured minimum interval for sending a BFD packet, in milliseconds.

Min Rx Interval (ms)

Indicates the configured minimum interval for receiving a BFD packet, in milliseconds.

WTR Interval (ms)

Indicates the time interval to wait for recovery, in milliseconds.

Proc Interface Status

Association between the status of the BFD session and the bound interface.

If the process-interface-status command is configured, Enable is displayed in this field; if the process-interface-status sub-if command is configured, Enable (Sub-If) is displayed in this field; Otherwise, Disable is displayed.

Bind Application

Indicates the 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 Description

Indicates the descriptions of the BFD session.

Session Create Status

Indicates the status of BFD session creation.

  • Success
  • Failed

Total Commit/Uncommit CFG Number

Indicates the total number of committed BFD configurations and that of uncommitted BFD configurations through the commit command.

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