< Home

display bfd configuration

Function

The display bfd configuration command displays the BFD session configuration.

Format

display bfd configuration { all | static } [ for-lsp | for-pw | for-te | for-vsi-pw ] [ verbose ] (S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)

display bfd configuration { ldp-lsp peer-ip ip-address nexthop nexthop [ interface interface-type interface-number ] | static-lsp lsp-name } [ verbose ](S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)

display bfd configuration mpls-te interface interface-type interface-number [ te-lsp ] [ verbose ](S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)

display bfd configuration pw interface interface-type interface-number [ secondary ] [ verbose ](S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)

display bfd configuration vsi-pw vsi vsi-name peer peer-address [ vc-id vc-id ] [ verbose ](S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H and S6730-H)

display bfd configuration passive-dynamic [ peer-ip ip-address remote-discriminator discriminator ] [ verbose ] (S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S)

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

display bfd configuration peer-ipv6 ipv6-address [ vpn-instance vpn-instance-name ] [ verbose ]

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

Parameters

Parameter

Description

Value

all

Displays the configurations of all BFD sessions.

-

static

Displays the configurations of static BFD sessions.

-

for-vsi-pw

Displays the configurations of the BFD sessions for detecting VSI PWs.

-

for-ip

Displays the configurations of the BFD sessions for detecting IP links.

-

for-lsp

Displays the configurations of the BFD sessions for detecting LSPs.

-

for-pw

Displays the configurations of the BFD sessions for detecting PWs.

-

for-te

Displays the configurations of the BFD sessions for detecting TE tunnels.

-

vsi-pw

Displays the configurations of the BFD sessions for detecting VSI PWs.

-

vsi vsi-name

Displays the configuration of the BFD session with the specified VSI instance name.

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.

peer peer-address

Displays the configuration of the BFD session for detecting a VSI PW with the specified peer IPv4 address.

The value is in dotted decimal notation.

peer-ip ip-address

Displays the configuration of the BFD session bound to the specified peer IP address.

-

vc-id vc-id

Displays the configuration of the BFD session with the specified VC ID.

The value is an integer that ranges from 1 to 4294967295.

passive-dynamic

Displays the configurations of the BFD sessions dynamically created by the end in passive mode.

-

remote-discriminator discriminator

Displays the configuration of the BFD session with the local discriminator of the source device initiating the BFD session.

The value is an integer that ranges from 1 to 4294967295.

verbose

Displays detailed BFD configurations.

-

name session-name

Displays the configuration of the static BFD session with the specified name.

The value is a string of 1 to 15 characters without spaces.

NOTE:

If the string is enclosed within double quotation marks ("), the string can contain spaces.

dynamic

Displays dynamic BFD configurations and the configurations of static BFD sessions with automatically negotiated discriminators.

-

discriminator local-discr-value

Displays the configuration of the BFD session with the specified local discriminator.

The value is an integer that ranges from 1 to 16383.

default-ip

Displays statistics about multicast BFD sessions.

-

vpn-instance vpn-instance-name

Displays the configuration of the BFD session bound to a specified VPN instance.

The value must be an existing VPN instance name.

static-auto

Displays the configuration of the static BFD session with the automatically negotiated discriminators.

-

ldp-lsp

Displays the configurations of the BFD sessions for detecting LDP LSPs.

-

nexthop nexthop

Displays the configuration of the BFD session with the specified next hop address.

The value is in dotted decimal notation.

interface-type interface-number

Displays BFD binding information on the specified interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

static-lsp

Displays the configurations of the BFD sessions for detecting static LSPs.

-

lsp-name

Displays the configuration of the BFD session for detecting the static LSP with the specified name.

The value is a string of 1 to 19 case-sensitive characters.

mpls-te

Displays the configurations of the BFD sessions for detecting MPLS TE tunnels.

-

te-lsp

Displays the configuration of the BFD session for detecting the primary LSP bound to a TE tunnel.

-

pw

Displays the configurations of the BFD sessions for detecting PWs.

-

secondary

Displays the configuration of the BFD session for detecting the secondary PW.

-

peer-ipv6 ipv6-address

Displays the configuration of the BFD6 session bound to a specified IPv6 address.

-

for-ipv6

Displays the configurations of static or all BFD6 sessions.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

When multiple BFD sessions exist, you can view information about certain BFD sessions by specifying the parameters such as the type, name, and peer IP address.

Precautions

If a static BFD session with automatically negotiated discriminators and a dynamic BFD session share the same configurations, you can view that the shared session configurations by BFD session type (static and dynamic).

Example

# Display the configurations of all BFD sessions.

<HUAWEI> display bfd configuration all
--------------------------------------------------------------------------------
CFG Name        CFG Type       LocalDiscr MIndex    SessNum  Commit   AdminDown 
--------------------------------------------------------------------------------
atob            S_IP_PEER      -          512       0        False    False     
test            S_IP_PEER      1          513       0        False    False     
zzz             S_IP_IF        3          514       0        False    False     
--------------------------------------------------------------------------------
     Total Commit/Uncommit CFG Number : 0/3                                     
Table 1 Description of the display bfd configuration command output

Item

Specification

CFG Name

BFD session name.

CFG Type

BFD session setup type:
  • S_IP_IF: indicates a single-hop BFD session that is established statically and bound to an interface.

  • S_IP_PEER: indicates a multi-hop BFD session that is established statically.

  • S_STA_LSP: indicates a BFD session that is established statically and used for detecting an LSP.

  • S_LDP_LSP: indicates a BFD session that is established statically and used for detecting an LDP LSP.

  • S_TE_LSP: indicates a BFD session that is statically established and used for detecting a TE LSP.

  • S_TE_TNL: indicates a BFD session that is statically established and used for detecting a TE tunnel.

  • S_PW: indicates a BFD session that is statically established and used for detecting a PW.

  • S_VSI_PW: indicates a BFD session that is statically established and used for detecting a VSI PW.

  • Dynamic: indicates a BFD session that is dynamically established.

  • Entire_Dynamic: indicates a BFD session that is entirely and dynamically established.

  • S_AUTO_IF: indicates a static single-hop BFD session with automatically negotiated discriminators.

  • S_AUTO_PEER: indicates a static multi-hop BFD session with automatically negotiated discriminators.

LocalDiscr

Local discriminator of the BFD session.

To set the local discriminator of the BFD session, run the discriminator command.

MIndex

Configuration entry index of a BFD session.

SessNum

Number of BFD sessions in a configuration entry.

Commit

Flag of enabling a BFD session.

After you run the commit command to commit configurations in the BFD session view, the flag is displayed as True. Otherwise, it is displayed as False.

AdminDown

Flag of the management status of a BFD session.

After you run the shutdown (BFD session view) command to disable the local session in the BFD session view, the flag is displayed as True. Otherwise, it is displayed as False.

Total Commit/Uncommit CFG Number

Total number of BFD sessions that are committed through the commit command in the BFD session view and total number of BFD sessions that are not committed.

# Display detailed configurations of all BFD sessions.

<HUAWEI> display bfd configuration all verbose
--------------------------------------------------------------------------------
  BFD Session Configuration Name : atob                                         
--------------------------------------------------------------------------------
  Local Discriminator    : -                Remote Discriminator   : -          
  BFD Bind Type          : Peer IP Address                                      
  Bind Session Type      : Static                                               
  Bind Peer IP Address   : 12.12.12.9                                           
  Bind Interface         : -                                                    
  Select Board           : -                                                    
  Track Interface        : -                                                    
  TOS-EXP                : 7                Local Detect Multi     : 3          
  Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000       
  WTR Interval (ms)      : -                Process PST            : Disable    
  Proc Interface Status  : Disable                                              
  Bind Application       : No Application Bind                                  
  Session Description    : -                                                    
  Session Create Status  : Failed(65532)                                        
--------------------------------------------------------------------------------
                                                                                
--------------------------------------------------------------------------------
  BFD Session Configuration Name : test                                         
--------------------------------------------------------------------------------
  Local Discriminator    : 1                Remote Discriminator   : 2          
  BFD Bind Type          : Peer IP Address                                      
  Bind Session Type      : Static                                               
  Bind Peer IP Address   : 2.2.2.2                                              
  Bind Interface         : -                                                    
  Select Board           : -                                                    
  Track Interface        : -                                                    
  TOS-EXP                : 7                Local Detect Multi     : 3          
  Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000       
  WTR Interval (ms)      : -                Process PST            : Disable    
  Proc Interface Status  : Disable                                              
  Bind Application       : No Application Bind                                  
  Session Description    : -                                                    
  Session Create Status  : Failed(65532)                                        
--------------------------------------------------------------------------------
                                                                                
--------------------------------------------------------------------------------
  BFD Session Configuration Name : zzz                                          
--------------------------------------------------------------------------------
  Local Discriminator    : 3                Remote Discriminator   : 4          
  BFD Bind Type          : Interface(GigabitEthernet0/0/1)                      
  Bind Session Type      : Static                                               
  Bind Peer IP Address   : 224.0.0.184                                          
  Bind Interface         : GigabitEthernet0/0/1                                 
  TOS-EXP                : 7                Local Detect Multi     : 3          
  Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000       
  WTR Interval (ms)      : -                Process PST            : Disable    
  Auth Key ID            : -                Auth Timer             : -          
  Meticulous Auth        : False            Auth Type              : None       
  Proc Interface Status  : Enable                                               
  Bind Application       : IFNET                                                
  Session Description    : -                                                    
  Session Create Status  : Failed(65532)                                        
--------------------------------------------------------------------------------
                                                                                
     Total Commit/Uncommit CFG Number : 0/3                                     
Table 2 Description of the display bfd configuration all verbose command output

Item

Specification

BFD Session Configuration Name

BFD session name.

Local Discriminator

Local discriminator of a BFD session.

To set the local discriminator of a BFD session, run the discriminator command.

Remote Discriminator

Remote discriminator of a BFD session.

To set the remote discriminator of a BFD session, run the discriminator command.

BFD Bind Type

BFD session binding type:
  • Peer IP Address: indicates multi-hop BFD for an IP link.

  • Interface: indicates single-hop BFD for an IP link.

  • STATIC_LSP: indicates that a static LSP is detected.

  • LDP_LSP: indicates that an LDP LSP is detected.

  • TE_LSP: indicates that an LSP bound to a TE tunnel is detected.

  • TE_TUNNEL: indicates that a TE tunnel is detected.

  • PW: indicates that a PW is detected.

  • VSI_PW: indicates that a VSI PW is detected.

Bind Session Type

Mode in which a BFD session is established:
  • Static: indicates the BFD sessions that are established through the static configurations.

  • Dynamic: indicates the BFD sessions that are triggered dynamically.

  • Static_Auto: indicates the statically established BFD sessions with automatically negotiated discriminators.

  • Entire_Dynamic: indicates the BFD sessions that are entirely and dynamically triggered.

Bind Peer Ip Address

Peer IP address of a BFD session or multicast IP address bound to a BFD session.

Bind Interface

Local interface bound to a BFD session.

Track Interface

Interface tracked by the BFD session.

TOS-EXP

Priority of a BFD packet.

To set the priority of a BFD packet, run the tos-exp command.

Local Detect Multi

Local detection multiplier.

To set the local detection multiplier, run the detect-multiplier command.

Min Tx Interval (ms)

Minimum interval for sending BFD packets.

To set the minimum interval for sending BFD packets, run the min-tx-interval command.

Min Rx Interval (ms)

Minimum interval for receiving BFD packets.

To set the minimum interval for receiving BFD packets, run the min-rx-interval command.

WTR Interval (ms)

WTR time.

To set the WTR time, run the wtr command.

Process PST

Flag for processing the Port Status Table (PST). If the process-pst command is configured, this field is displayed as Enable. Otherwise, it is displayed as Disable.

Auth Key ID

Authentication key ID of a BFD session.

Auth Timer

Negotiation timeout period of a BFD session, in seconds.

Meticulous Auth

Authentication flag
  • True: strict
  • False: non-strict

Auth Type

BFD authentication type:
  • NONE: no authentication
  • SIMPLE: simple password authentication
  • MD5: MD5 authentication
  • MMD5: meticulous MD5 authentication
  • SHA1: SHA1 authentication
  • MSHA1: meticulous SHA1 authentication

Proc interface status

Flag of association between the BFD session status and the interface status. If the process-interface-status command is configured, this field is displayed as Enable. Otherwise, it is displayed as Disable.

Bind Application

Application bound to the BFD session.

Session Description

Description of the BFD session.

To set the description of the BFD session, run the description command.

Session Create Status

Status of BFD session creation:

  • Success
  • Failed

Total Commit/Uncommit CFG Number

Total number of BFD sessions that are committed through the commit command in the BFD session view and total number of BFD sessions that are not committed.

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