< Home

display bfd session

Function

The display bfd session command displays information about BFD sessions.

Format

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

display bfd session { 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 session { ldp-lsp peer-ip ip-address nexthop ip-address [ 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 session 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 session 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 session passive-dynamic [ peer-ip ip-address remote-discriminator remote-discr-value ] [ 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 session { 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 session peer-ipv6 ipv6-address [ vpn-instance vpn-instance-name ] [ verbose ]

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

Parameters

Parameter

Description

Value

all

Displays information about all BFD sessions.

-

static

Displays information about all static BFD sessions.

-

for-ip

Displays information about the BFD sessions for detecting IP links.

-

for-lsp

Displays information about the BFD sessions for detecting LSPs.

-

for-pw

Displays information about the BFD sessions for detecting PWs.

-

for-te

Displays information about the BFD sessions for detecting TE tunnels.

-

for-vsi-pw

Displays information about the BFD sessions for detecting VSI PWs.

-

vsi-pw

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

-

vsi-name

Displays information about 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 information about the BFD session for detecting a VSI PW with the specified peer IPv4 address.

The value is in dotted decimal notation.

nexthop ip-address

Displays information about the BFD session with the specified next hop address.

The value is in dotted decimal notation.

interface interface-type interface-number

Displays information about the BFD session with the specified outbound interface.

-

vc-id vc-id

Displays information about the BFD session with the specified VC ID.

The value is a decimal integer ranging from 1 to 4294967295.

verbose

Displays detailed information about BFD sessions.

-

dynamic

Displays information about all dynamic BFD sessions and static BFD sessions negotiated with discriminators.

-

passive-dynamic

Displays information about all dynamic BFD sessions created on the end in passive mode.

-

discriminator discr-value

Displays information about the BFD session with a specified discriminator. You can specify only a local discriminator.

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

remote-discriminator remote-discr-value

Displays information about the BFD session with a specified discriminator. You can specify only a remote discriminator.

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

peer-ip ip-address

Displays information about the BFD session bound to the specified peer IP address.

The value is in dotted decimal notation.

default-ip

Displays statistics about multicast BFD sessions.

-

vpn-instance vpn-instance-name

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

The value must be an existing VPN instance name.

static-auto

Displays the information about the static BFD sessions with the automatically negotiated discriminators.

-

ldp-lsp

Displays information about the BFD sessions for detecting LDP LSPs.

-

static-lsp

Displays information about the BFD sessions for detecting static LSPs.

-

lsp-name

Displays information about the BFD session for detecting the static LSP with the specified name.

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

mpls-te

Displays information about the BFD sessions for detecting MPLS TE tunnels.

-

te-lsp

Displays information about the BFD session for detecting the primary LSP bound to a TE.

-

pw

Displays information about the BFD sessions for detecting PWs.

-

secondary

Displays information about the BFD session for detecting the secondary PW.

-

peer-ipv6 ipv6-address

Displays information about the BFD6 session bound to a specified IPv6 address.

-

for-ipv6

Displays information about static or all BFD6 sessions.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display bfd session command displays information about BFD sessions.

Prerequisites

BFD has been enabled globally.

Precautions

  • When a BFD session changes from Down to Up, if the WTR time of the session is not 0, BFD sends a notification that the session becomes Up only after the WTR time expires.
  • If a static BFD session with automatically negotiated discriminators and a dynamic BFD session are bound to the same peer IP address, the display bfd session command displays the same entry for the static BFD session or dynamic BFD session.

Example

# Display the summary of all BFD sessions.

<HUAWEI> display bfd session all
--------------------------------------------------------------------------------
Local Remote     PeerIpAddr      State     Type        InterfaceName            
--------------------------------------------------------------------------------
10    11         10.10.10.2      Up        S_IP_IF     Vlanif31                 
8192  0          10.10.10.2      Down      S_AUTO_IF   Vlanif31                 
--------------------------------------------------------------------------------
     Total UP/DOWN Session Number : 1/1
Table 1 Description of the display bfd session command output

Item

Description

Local

Local discriminator of the BFD session.

To set the local discriminator, run the discriminator command.

Remote

Remote discriminator of the BFD session.

To set the remote discriminator, run the discriminator command.

PeerIpAddr

Peer IP address bound to the BFD session.

InterfaceName

Outbound interface bound to the BFD session. In multi-hop BFD, this field is displayed as - because no interface is bound to a BFD session.

State

BFD session status:
  • Init: The BFD session is in the initialized state.

  • Up: indicates that the BFD session is in Up state.

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

  • AdmDown: indicates that a BFD session is AdminDown when the shutdown (BFD session view) command is run.

Type

BFD session type:
  • S_TE_LSP: indicates a BFD session that is established statically and bound to a TE LSP.

  • S_TE_TNL: indicates a BFD session that is established statically and bound to a TE tunnel.

  • S_IP_PEER: indicates a BFD session that is established statically and bound to an IP link.

  • S_IP_IF: indicates a BFD session that is established statically and bound to an interface.

  • S_LDP_LSP: indicates a BFD session that is established statically and bound to a dynamic LSP.

  • S_PW(M): indicates a BFD session that is established statically and bound to the primary PW.

  • S_PW(S): indicates a BFD session that is established statically and bound to the secondary PW.

  • S_STA_LSP: indicates a BFD session that is established statically and bound to a static LSP.

  • S_VSI_PW: indicates a BFD session that is established statically and bound to a VSI PW.

  • D_IP_PEER: indicates a BFD session that is created dynamically and bound to an IP link.

  • D_IP_IF: indicates a BFD session that is established dynamically and bound to an interface.

  • D_LDP_LSP: indicates a BFD session that is established dynamically and bound to a dynamic LSP.

  • D_TE_LSP: indicates a BFD session that is established dynamically and bound to a TE LSP.

  • D_PW(S): indicates a BFD session that is established dynamically and bound to the secondary PW.

  • D_PW(M): indicates a BFD session that is established dynamically and bound to the primary PW.

  • E_Dynamic: indicates a BFD session that is established entirely and dynamically. After you enable the function of dynamically establishing a BFD session on the destination of an LSP, this session type is created.

  • 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.

Total UP/DOWN Session Number

Number of BFD sessions in Up or Down state.

# Display detailed information about all BFD sessions.

<HUAWEI> display bfd session all verbose
--------------------------------------------------------------------------------
Session MIndex : 16384     (One Hop) State : Up        Name : test
------------------------------------------------------------------------------
  Local Discriminator    : 111              Remote Discriminator   : 222
  Session Detect Mode    : Asynchronous Mode Without Echo Function
  BFD Bind Type          : Interface(Vlanif500)
  Bind Session Type      : Static
  Bind Peer IP Address   : 224.0.0.184
  NextHop Ip Address     : 224.0.0.184
  Bind Interface         : Vlanif500
  FSM Board Id           : 6                TOS-EXP                : 6
  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       : 3784             TTL                    : 255
  Proc Interface Status  : Disable          Process PST            : Disable
  WTR Interval (ms)      : -
  Active Multi           : 3                DSCP                   : -
  Auth Key ID            : 1                Auth Timer             : 0
  Meticulous Auth        : True             Auth Type              : MSHA1
  Xmit Auth Seq          : 0x5cb3cbed       Rcv Auth Seq           : 0x28909183
  Error Packet Info      : Correct Pkt
  Last Local Diagnostic  : No Diagnostic
  Bind Application       : No Application Bind
  Session TX TmrID       : -                Session Detect TmrID   : -
  Session Init TmrID     : -                Session WTR TmrID      : -
  Session Echo Tx TmrID  : -
  PDT Index              : FSM-B030000 | RCV-0 | IF-B030000 | TOKEN-0
  Session Description    : -
  Trigger If-down Delay Time (s)      : -
  Receiving-admindown Trigger If-down : Disable
------------------------------------------------------------------------------

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

Item

Description

Session MIndex

Index of BFD session entries.

State

Status of a BFD session.

Name

Name of a BFD session.

Local Discriminator

Local discriminator of the BFD session.

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

Remote Discriminator

Remote discriminator of the BFD session.

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

Session Detect Mode

BFD detection modes:
  • Asynchronous Mode Without Echo Function: indicates the asynchronous mode without the echo function.

  • Demand Mode Without Echo Function: indicates the demand mode without the echo function.

BFD Bind Type

BFD session binding type:
  • STATIC_LSP: indicates that a static LSP is detected.

  • LDP_LSP: indicates that an LDP LSP is detected.

  • TE_TUNNEL: indicates that a TE tunnel is detected.

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

  • PW: indicates that a PW is detected.

  • Peer IP Address: indicates that a multi-hop IP link is detected.

  • When one-hop BFD is used to detect an IP link, this field is displayed as Interface and the name of the bound local interface.

  • VSI_PW: indicates that a VSI PW is detected.

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

Bind Session Type

Indicates the ways of establishing BFD sessions:
  • Static: indicates that a BFD session is established manually.

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

  • Static_Auto: indicates that a BFD session is established with automatically negotiated discriminators.

  • Entire_Dynamic: indicates that a BFD session is triggered entirely and dynamically. After you enable the function of dynamically establishing a BFD session on the destination of an LSP, this session type is created.

Bind Peer Ip Address

Peer IP address bound to the BFD session.

NextHop Ip Address

IP address of the next hop.

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.

This field can be displayed only when the source IP address is specified for the BFD session that is created by running the bfd bind peer-ip or bfd bind peer-ip default-ip command.

FSM Board Id

Number of the processing board where the state machine works.

TOS-EXP

Priority of a BFD packet.

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

Min Tx Interval(ms)

Configured 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)

Configured minimum interval for receiving BFD packets.

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

Actual Tx Interval(ms)

Actual minimum interval for sending BFD packets.

Actual Rx Interval(ms)

Actual minimum interval for receiving BFD packets.

Local Detect Multi

Local detection multiplier.

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

Detect Interval(ms)

BFD detection time.

WTR Interval(ms)

WTR time of the BFD session.

To set the WTR time of the BFD session, run the wtr command.

Echo Passive

Whether the BFD passive Echo function is enabled:

  • Enable
  • Disable

Acl Number

ACL rule number

Destination Port

Number of the destination port of the BFD session packet.

The single-hop BFD control packet uses destination port 3784 and the multi-hop BFD control packet uses 3784 or 4784.

TTL

TTL value of the BFD packet.

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.

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.

Active Multi

Detection multiplier that is effective.

DSCP

DSCP value in the BFD session. The value ranges from 1 to 63. The value - indicates that the DSCP value does not take effect in the BFD session.

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

Xmit Auth Seq

Local sequence number of a BFD authentication session

Rcv Auth Seq

Remote sequence number of a BFD authentication session

Error Packet Info

Packet error information:
  • Correct Pkt: The packet is correct.
  • Incorrect authentication type: The authentication type is incorrect.
  • Incorrect authentication length: The authentication length is incorrect.
  • Incorrect sequence number: The sequence number is incorrect.
  • Authentication failed: The authentication fails.
  • Incorrect authentication keyid: The authentication key ID is incorrect.
  • Local does not configure authentication: Authentication is not configured at the local end.
  • Remote does not configure authentication: Authentication is not configured at the remote end.

Last Local Diagnostic

Local diagnostic cause for the last BFD session in Down state.

Bind Application

Application bound to the BFD session.

Session TX TmrID

Timer used for a BFD session to send packets.

Session Detect TmrID

BFD session detection timer.

Session Init TmrID

Timer for state machine initialization of a BFD session.

Session WTR TmrID

WTR timer of a BFD session.

Session Echo Tx TmrID

Timer used for a BFD session to send Echo packets.

PDT Index

Product information.

Session Description

Description of the BFD session.

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

Trigger If-down Delay Time (s)

Delay for a device to instruct the interface protocol to go down after the device detects a BFD down event, in seconds.

Receiving-admindown Trigger If-down

Whether the local device is enabled to instruct the interface protocol to go down upon receipt of an AdminDown packet.

Total UP/DOWN Session Number

Number of BFD sessions in Up or Down state.

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