display bfd session verbose

Function

The display bfd session verbose command displays detailed information about BFD sessions.

Format

display bfd session all [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ] verbose

display bfd session static [ for-ip | for-lsp | for-te | for-pw | for-vsi-pw ] verbose

display bfd session passive-dynamic [ peer-ip peer-ip remote-discriminator discr-value ] verbose

display bfd session dynamic verbose

display bfd session discriminator discr-value verbose

display bfd session peer-ip { peer-ip [ vpn-instance vpn-name ] | default-ip } verbose

display bfd session static-auto verbose

display bfd session ldp-lsp peer-ip peer-ip [ nexthop nexthop-ip [ interface { interface-name | interface-type interface-number } ] ] verbose

display bfd session mpls-te interface { interface-type interface-number | interface-name } [ te-lsp ] verbose

display bfd session pw interface { interface-name | interface-type interface-number } [ secondary ] verbose

display bfd session vsi-pw vsi vsi-name peer peer-address [ vc-id vc-id ] verbose

display bfd session bgp-tunnel peer-ip peer-ip verbose

display bfd session sr-be-tunnel peer-ip peer-ip verbose

display bfd session { segment-list | srv6-segment-list } segment-list-id verbose

display bfd session flex-algo-tunnel peer-ip peer-ip verbose

Parameters

Parameter Description Value
for-ip

Displays detailed information about the BFD session for detecting faults in IP links.

-

for-lsp

Displays detailed information about the BFD, LDP LSP session for detecting faults in LSPs.

-

for-te

Displays detailed information about the BFD, TE Tunnel, TE LSP session for detecting faults in TE tunnels.

-

for-pw

Displays detailed information about the BFD session for detecting faults in a PW.

-

for-vsi-pw

Displays detailed information about the BFD session for detecting faults in a VSI PW.

-

all

Displays detailed information about all BFD sessions.

-

static

Displays detailed information about static BFD sessions.

-

passive-dynamic

Displays detailed information about the BFD sessions that are passively created.

-

peer-ip peer-ip

Displays detailed information about the BFD session with a specified peer IP address.

The value is in dotted decimal notation.

remote-discriminator discr-value

Displays detailed information about the BFD sessions with a specified remote discriminator.

The value is an integer ranging from 1 to 4294967295.

dynamic

Displays detailed information about dynamic and statically self-negotiated BFD sessions.

-

discriminator discr-value

Displays detailed information about the BFD sessions with a specified local discriminator.

The value is an integer ranging from 1 to 4294967295.

vpn-instance vpn-name

Displays detailed information about the BFD session bound to a specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

default-ip

Displays statistics about BFD sessions with the default multicast address.

-

static-auto

Displays detailed information about the BFD session with automatically negotiated discriminators.

-

ldp-lsp

Displays detailed information about the BFD session for detecting faults in an LDP LSP.

-

nexthop nexthop-ip

Displays detailed information about the BFD session with a specified next-hop IP address.

The value is in dotted decimal notation.

interface interface-type interface-number

Displays detailed information about the BFD session with a specified interface.

-

mpls-te

Displays detailed information about the BFD session for detecting faults in MPLS TE tunnels.

-

te-lsp

Displays detailed information about the BFD session for detecting faults in the primary CR-LSP bound to the TE tunnel.

-

pw

Displays detailed information about the BFD session for detecting faults in a PW.

-

secondary

Displays statistics about a BFD session for monitoring a secondary PW.

-

vsi-pw

Displays detailed information about the BFD session for detecting faults in a VSI PW.

-

vsi vsi-name

Specifies the VSI name.

The value is a string of 1 to 31 characters.

peer peer-address

Specifies the IPv4 address of the peer of the VSI PW.

The value is in dotted decimal notation.

vc-id vc-id

Specifies the ID of a Layer 2 VC.

The value is an integer ranging from 1 to 4294967295.

bgp-tunnel

Displays detailed information about a BFD session that monitors a BGP Tunnel.

-

sr-be-tunnel

Displays detailed information about a BFD session that monitors an SR-MPLS BE tunnel.

-

segment-list segment-list-id

Displays detailed information about a BFD session for SR-MPLS TE Policy.

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

srv6-segment-list segment-list-id

Displays detailed information about a BFD session for SRv6 TE Policy.

The value is an integer ranging from 1 to 4294967295.

flex-algo-tunnel

Displays detailed information about a BFD session that monitors a Flex-Algo Tunnel.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bfd read

Usage Guidelines

Usage Scenario

To view detailed information about BFD sessions, run the display bfd session verbose command with one or more parameters.

Prerequisites

BFD has been globally enabled using the bfd command in the system view.

Precautions

  • When the BFD session changes from Down to Up, and the WTR time is not zero, the notification that the BFD session goes Up can be received only after the WTR time expires.
  • If a static BFD session with automatically negotiated discriminators and a dynamic BFD session have the same configurations, you can view that the shared BFD session belongs to both the static session with automatically negotiated discriminators and the dynamic session in terms of the BFD session type.
  • The display bfd session dynamic command displays information about both dynamic and static sessions. The statically self-negotiated sessions are treated as dynamic sessions.

Example

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

# Displays detailed information about a BFD session that monitors a Flex-Algo Tunnel.
<HUAWEI> display bfd session flex-algo-tunnel peer-ip 10.1.1.1 verbose
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
  State : Up                    Name : dyn_16385
--------------------------------------------------------------------------------
  Local Discriminator    : 16385            Remote Discriminator   : 67372036
  Session Detect Mode    : Seamless Mode Without Echo Function
  BFD Bind Type          : FLEX_ALGO_TUNNEL
  Bind Session Type      : Dynamic
  Bind Peer IP Address   : 10.1.1.1
  NextHop Ip Address     : -
  Bind Interface         : -
  Tunnel ID              : 4
  FSM Board Id           : 3                TOS-EXP                : 7
  Min Tx Interval (ms)   : 10               Min Rx Interval (ms)   : 10
  Actual Tx Interval (ms): 10               Actual Rx Interval (ms): 10
  Local Detect Multi     : 3                Detect Interval (ms)   : 30
  Echo Passive           : Disable          Acl Number             : -
  Destination Port       : 7784             TTL                    : 1
  Proc Interface Status  : Disable          Process PST            : Enable
  WTR Interval (ms)      : -                Config PST             : Enable
  Active Multi           : 3
  Last Local Diagnostic  : No Diagnostic
  Bind Application       : SEGR
  Session TX TmrID       : -                Session Detect TmrID   : -
  Session Init TmrID     : -                Session WTR TmrID      : -
  Session Echo Tx TmrID  : -
  Session Description    : -
--------------------------------------------------------------------------------

    Total UP/DOWN Session Number : 1/0
# Display detailed information about SRv6 TE Policy BFD sessions.
<HUAWEI> display bfd session srv6-segment-list 5 verbose
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
  State : Up                    Name : dyn_16395
--------------------------------------------------------------------------------
  Local Discriminator    : 16395            Remote Discriminator   : 100000000 
  Session Detect Mode    : Seamless Mode Without Echo Function
  BFD Bind Type          : SID_LIST 
  Bind Session Type      : Dynamic  
  SID_LIST Id            : 5                Color                  : 100 
  Bind Peer IP Address   : 100::100                                   
  Bind Interface         : -                                                  
  FSM Board Id           : 1                TOS-EXP                : 7
  Min Tx Interval (ms)   : 10               Min Rx Interval (ms)   : 10 
  Actual Tx Interval (ms): 10               Actual Rx Interval (ms): 10 
  Local Detect Multi     : 3                Detect Interval (ms)   : 30 
  Echo Passive           : Disable          Acl Number             : - 
  Destination Port       : 7784             TTL                    : 255 
  Proc Interface Status  : Disable          Process PST            : Enable     
  WTR Interval (ms)      : 1000             Config PST             : Enable     
  Active Multi           : 3   
  Last Local Diagnostic  : No Diagnostic
  Bind Application       : SRPOLICY6
  Session TX TmrID       : -                Session Detect TmrID   : - 
  Session Init TmrID     : -                Session WTR TmrID      : - 
  Session Echo Tx TmrID  : -   
  Session Description    : - 
--------------------------------------------------------------------------------

    Total UP/DOWN Session Number : 1/0
# Display detailed information about SR-MPLS TE Policy BFD sessions.
<HUAWEI> display bfd session segment-list 2 verbose
2019-01-21 20:48:07.387
(w): State in WTR        
(*): State is invalid    
-------------------------------------------------------------------------------- 
  State : Down                  Name : dyn_16392  
-------------------------------------------------------------------------------- 
  Local Discriminator    : 16392            Remote Discriminator   : 16777216  
  Session Detect Mode    : Seamless Mode Without Echo Function               
  BFD Bind Type          : SID_LIST            
  Bind Session Type      : Dynamic            
  SID_LIST Id            : 2                Color                  : 100     
  Bind Peer IP Address   : 1.1.1.20            
  Bind Interface         : -                 
  FSM Board Id           : 4                TOS-EXP                : 7       
  Min Tx Interval (ms)   : 10               Min Rx Interval (ms)   : 10   
  Actual Tx Interval (ms): -                Actual Rx Interval (ms): -    
  Local Detect Multi     : 3                Detect Interval (ms)   : -    
  Echo Passive           : Disable          Acl Number             : -    
  Destination Port       : 7784             TTL : 1    
  Proc Interface Status  : Disable          Process PST            : Enable  
  WTR Interval (ms)      : -                Config PST             : Enable 
  Active Multi           : -                 
  Last Local Diagnostic  : No Diagnostic     
  Bind Application       : SRPOLICY            
  Session TX TmrID       : -                Session Detect TmrID   : -     
  Session Init TmrID     : -                Session WTR TmrID      : -     
  Session Echo Tx TmrID  : -                 
  Session Not Up Reason  : In negotiation
  Session Description    : -            
--------------------------------------------------------------------------------  
    Total UP/DOWN Session Number : 0/1
# Display detailed information about all BFD sessions.
<HUAWEI> display bfd session all verbose
(w): State in WTR 
(*): State is invalid
--------------------------------------------------------------------------------
  (One Hop) State : Up                      Name : atob
------------------------------------------------------------------------------
  Local Discriminator    : 111              Remote Discriminator   : 222
  Session Detect Mode    : Asynchronous Mode Without Echo Function
  BFD Bind Type          : Interface(GigabitEthernet0/1/8)
  Bind Session Type      : Static
  Bind Peer IP Address   : 10.10.10.2
  Bind Interface         : GigabitEthernet0/1/8
  Track Interface        : -
  Bind Source IP Address : 10.10.10.1
  FSM Board Id           : 1                TOS-EXP                : 7
  Min Tx Interval (ms)   : 10               Min Rx Interval (ms)   : 10
  Actual Tx Interval (ms): 2000             Actual Rx Interval (ms): 2000
  Local Detect Multi     : 3                Detect Interval (ms)   : 30
  Echo Passive           : Disable          Acl Number             : -
  Destination Port       : 4784             TTL                    : 254  
  Proc Interface Status  : Disable          Process PST            : Disable
  WTR Interval (ms)      : 0                Config PST             : Enable           
  Active Multi           : 0
  Last Local Diagnostic  : No Diagnostic
  Bind Application       : No Application Bind
  Session TX TmrID       : 2369967508       Session Detect TmrID   : -
  Session Init TmrID     : -                Session WTR TmrID      : -
  Session Echo Tx TmrID  : -
  Session Description    : -
------------------------------------------------------------------------------

     Total UP/DOWN Session Number : 1/0
Table 1 Description of the display bfd session verbose command output
Item Description
State

Current status of the BFD session. The value can be:

  • Up: The BFD session is in the Up state.
  • Down: The BFD session is in the Down state.
  • AdminDown: The BFD session is in the AdminDown state. After the shutdown (BFD session view) command is run, the BFD session becomes AdminDown.
  • Up(w): The BFD session is Up but is in the WTR state.
  • Up(*)/Down(*): The BFD session status is invalid.
WTR Interval (ms)

WTR time of the BFD session.

WTR Interval (ms)

WTR time of a BFD session.

Name

BFD session name.

Local

Local discriminator of the BFD session.

Local Discriminator

Local discriminator of the BFD session.

Local Detect Multi

Configured local detection multiplier of BFD packets.

Remote

Remote discriminator of the BFD session.

Remote Discriminator

Remote discriminator of the BFD session.

Session Detect Mode

Detection mode of the BFD session: The options are as follows:

  • Asynchronous Mode Without Echo Function.
  • Asynchronous Mode With Echo Function.
  • Asynchronous One-arm-echo Mode.
  • Seamless Mode without Echo Function.
  • Asynchronous Unaffiliated Mode.
Session TX TmrID

Timer used by the BFD session to send packets.

Session Detect TmrID

Timer for BFD session detection.

Session Init TmrID

Timer for the BFD session state machine initialization.

Session WTR TmrID

WTR timer for the BFD session.

Session Not Up Reason

Reason why the BFD session is not negotiated to be Up. This field is displayed when the session is in the Down or Init state. The MT attributes are as follows:

  • Board selecting failed: Board selection fails.
  • In negotiation: The BFD session is being negotiated and cannot go Up because no packet is received from the peer end. For example, BFD is configured only on one end.
  • Unsupported tunnel type: The protocol type of the current tunnel is not the GRE tunnel.
Session Description

Description of the BFD session.

Session Echo Tx TmrID

Timer used by the BFD session to send Echo packets.

Detect Interval (ms)

Detection interval of the BFD session.

Echo Passive

Whether the BFD passive Echo function is enabled:

  • Enable.
  • Disable.
BFD Bind Type

BFD session binding types. The value can be:

  • Peer Ip Address: indicates the BFD session that detects the multi-hop IP link. For single-hop IP link detection, this field displays Interface and the bound local interface.
  • Static_Auto: indicates a static BFD session with automatically negotiated discriminators.
  • SR_BE_TUNNEL: indicates the BFD session that monitors an SR-MPLS BE tunnel.
  • TE_TUNNEL: indicates the BFD session for detecting a TE tunnel.
  • TE_LSP: indicates the BFD session that detects the LSP bound to a TE tunnel.
  • LDP_LSP: indicates a BFD session for detecting an LDP LSP.
  • SID_LIST: indicates a BFD session that is established dynamically and bound to an SR TE Policy.
  • FLEX_ALGO_TUNNEL: indicates the BFD session that detects the Flex-Algo Tunnel.
Bind Session Type

BFD session type:

  • Static: statically established BFD session.
  • Dynamic: dynamically triggered BFD session.
  • Static_Auto: static BFD session with automatically negotiated discriminators.
  • Entire_Dynamic: entirely dynamically triggered BFD session. After the function of passively creating a BFD session is enabled on the egress router of the LSP, the BFD session of this type is created.
Bind Peer IP Address

Peer IP address tracked by BFD.

Bind Interface

Outbound interface bound to the BFD session.

Bind Source IP Address

Source IP address of the local interface bound to the BFD session. The Bind Source Ip Address field is displayed only if the source IP address is specified in creating a BFD session by running the bfd bind peer-ip command.

Bind Application

Application to which the BFD session is bound:

  • If the BFD session is not bound to an application, No Application Bind is displayed.
  • If the BFD session is bound to an interface or a route, the specific application is displayed. For example, if an interface is bound to the BFD session, IFNET is displayed.
Type

Type of the BFD session:

  • S_IP_PEER: indicates a session created statically and bound to an IP link.
  • S_IP_IF: indicates a session created statically and bound to an interface.
  • D_IP_PEER: indicates a session created dynamically and bound to an IP link.
  • D_IP_IF: indicates a session created dynamically and bound to an interface.
  • E_Dynamic: indicates the entirely dynamic session, after the egress of an LSP is enabled with the function of passively creating a BFD session.
  • S_AUTO_IF: indicates the static single-hop BFD session with automatically negotiated discriminators.
  • S_AUTO_PEER: indicates the static multi-hop BFD session with automatically negotiated discriminators.
  • D_SR_BE_TNL: indicates a session created dynamically and bound to an SR-MPLS BE tunnel.
  • S_TE_LSP: indicates a session created statically and bound to a TE LSP.
  • S_TE_TNL: indicates a session created statically and bound to a TE tunnel.
  • D_TE_LSP: indicates a session created statically and bound to a TE LSP.
  • S_LDP_LSP: indicates a session created dynamically and bound to a dynamic LSP.
  • D_LDP_LSP: indicates a session created dynamically and bound to a dynamic LSP.
  • D_LDP_TNL: indicates a session created dynamically and bound to a LDP tunnel.
  • D_TE_TNL: indicates a session created dynamically and bound to a TE tunnel.
  • D_SID_LIST: indicates a session created dynamically and bound to SR TE Policy.
NextHop Ip Address

NextHop Ip Address.

Tunnel ID

Tunnel ID.

FSM Board Id

Slot ID of the main control board where the BFD state machine resides.

TOS-EXP

Priority of BFD packets.

Min Tx Interval (ms)

Configured minimum interval at which BFD packets are sent.

Min Rx Interval (ms)

Configured minimum interval at which BFD packets are received.

Actual Tx Interval (ms)

Actual minimum interval at which BFD packets are sent.

Actual Rx Interval (ms)

Actual minimum interval at which BFD packets are received.

Actual Tx Interval (ms)

Actual minimum interval at which BFD packets are sent.

Actual Rx Interval (ms)

Actual minimum interval at which BFD packets are received.

Acl Number

ACL number applied to the BFD session.

Destination Port

Destination port number of BFD packets.

TTL

TTL of BFD packets.

Proc Interface Status

Status of the association between the status of a BFD session and an interface:

  • Enable: enables the association between the status of the BFD session and the interface.
  • Disable: disables the association between the status of the BFD session and the interface.

If the process-interface-status command has been configured, the field is displayed as Enable; otherwise, the field is displayed as Disable.

Process PST

Flag for processing the Port Status Table (PST). The value can be:

  • Enable: The BFD session is allowed to modify the PST.
  • Disable: The BFD session is disabled from modifying the PST.

If the process-pst command is configured and takes effect, this field is displayed as Enable. Otherwise, this field is displayed as Disable.

Config PST

PST status. The value can be:

  • Enable: The BFD session is allowed to modify the PST.
  • Disable: The BFD session is disabled from modifying the PST.

If the process-pst command is configured, this field is displayed as Enable. Otherwise, this field is displayed as Disable.

Active Multi

Active detection multiplier of the BFD session.

Last Local Diagnostic

Local diagnostic cause for the last BFD session in Down state. The value can be:

  • Control Detection Time Expired.
  • No Diagnostic.
  • Neighbor Signaled Session Down.
  • Administratively Down.
  • Neighbor Signaled Session Down (Receive AdminDown).
  • Concatenated Path Down.
  • Reverse Concatenated Path Down.
Total UP/DOWN Session Number

Number of BFD sessions in the Up or Down state.

SID_LIST Id

Segment-List ID.

Color

Path color value.

Track Interface

Interface tracked by the BFD session group.

PeerIpAddr

Peer IP address tracked by BFD.

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