Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show bfd session

Syntax

Syntax (EX Series Switch and QFX Series)

Description

Display information about active Bidirectional Forwarding Detection (BFD) sessions.

Options

none

(Same as brief) Display information about active BFD sessions.

brief | detail | extensive | summary

(Optional) Display the specified level of output.

address address

(Optional) Display information about the BFD session for the specified neighbor address.

client rsvp-oam (brief | detail | extensive | summary) | vpls-oam (brief | detail | extensive | instance instance-name | summary)

(Optional) Display information about RSVP-OAM or VPLS-OAM BFD sessions in the specified level of output. For VPLS-OAM, display the specified level of output or display information about all of the BFD sessions for the specified VPLS routing instance.

discriminator discriminator

(Optional) Display information about the BFD session using the specified local discriminator.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

<subscriber (address destination-address | discriminator discriminator | extensive)>

(Optional) Display information about all BFD sessions for subscribers, or for a single BFD subscriber session with a particular destination address, or with a particular denominator.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show bfd session command. Output fields are listed in the approximate order in which they appear.

Table 1: show bfd session Output Fields

Field Name

Field Description

Level of Output

Address

Address on which the BFD session is active.

brief detail extensive none

State

State of the BFD session: Up, Down, Init (initializing), or Failing.

brief detail extensive none

Interface

Interface on which the BFD session is active.

brief detail extensive none

Detect Time

Negotiated time interval, in seconds, used to detect BFD control packets.

brief detail extensive none

Transmit Interval

Time interval, in seconds, used by the transmitting system to send BFD control packets.

brief detail extensive none

Multiplier

Negotiated multiplier by which the time interval is multiplied to determine the detection time for the transmitting system.

detail extensive

Session up time

How long a BFD session has been established.

detail extensive

Client

Protocol or process for which the BFD session is active: ISIS, OSPF, DHCP, Static, or VGD.

detail extensive

TX interval

Time interval, in seconds, used by the host system to transmit BFD control packets.

brief detail extensive none

RX interval

Time interval, in seconds, used by the host system to receive BFD control packets.

brief detail extensive none

Authenticate

Indicates that BFD authentication is configured.

detail extensive

keychain

Name of the security authentication keychain being used by a specific client.

BFD authentication information for a client is provided in a single line and includes the keychain, algo, and mode parameters. Multiple clients can be configured on a BFD session.

extensive

algo

BFD authentication algorithm being used for a specific client: keyed-md5, keyed-sha-1, meticulous-keyed-md5, meticulous-keyed-sha-1, or simple-password.

BFD authentication information for a client is provided in a single line and includes the keychain, algo, and mode parameters. Multiple clients can be configured on a BFD session.

extensive

mode

Level of BFD authentication enforcement being used by a specific client: strict or loose. Strict enforcement indicates that authentication is configured at both ends of the session (the default). Loose enforcement indicates that one end of the session might not be authenticated.

BFD authentication information for a client is provided in a single line and includes the keychain, algo, and mode parameters. Multiple clients can be configured on a BFD session.

extensive

Local diagnostic

Local diagnostic information about failing BFD sessions.

Following are the expected values for Local Diagnostic output field:

  • None—No diagnostic

  • CtlExpire—Control detection time expired

  • EchoExpire—Echo detection time expired

  • NbrSignal—Neighbor signalled session down

  • FwdPlaneReset—Forwarding plane reset

  • PathDown—Path down

  • ConcatPathDown—Concatenated path down

  • AdminDown—Administratively down

detail extensive

Remote diagnostic

Remote diagnostic information about failing BFD sessions.

Following are the expected values for Remote Diagnostic output field:

  • None—No diagnostic

  • CtlExpire—Control detection time expired

  • EchoExpire—Echo detection time expired

  • NbrSignal—Neighbor signalled session down

  • FwdPlaneReset—Forwarding plane reset

  • PathDown—Path down

  • ConcatPathDown—Concatenated path down

  • AdminDown—Administratively down

detail extensive

Remote state

Reports whether the remote system's BFD packets have been received and whether the remote system is receiving transmitted control packets.

detail extensive

Version

BFD version: 0 or 1.

extensive

Replicated

The replicated flag appears when the device has a backup Routing Engine installed and the BFD session has been replicated in the backup Routing Engine.

detail extensive

Min async interval

Minimum amount of time, in seconds, between asynchronous control packet transmissions across the BFD session.

extensive

Min slow interval

Minimum amount of time, in seconds, between synchronous control packet transmissions across the BFD session.

extensive

Adaptive async TX interval

Transmission interval being used because of adaptation.

extensive

RX interval

Minimum required receive interval.

extensive

Local min TX interval

Minimum amount of time, in seconds, between control packet transmissions on the local system.

extensive

Local min RX interval

Minimum amount of time, in seconds, between control packet detections on the local system.

extensive

Remote min TX interval

Minimum amount of time, in seconds, between control packet transmissions on the remote system.

extensive

Remote min TX interval

Minimum amount of time, in seconds, between control packet detections on the remote system.

extensive

Threshold transmission interval

Threshold for notification if the transmission interval increases.

extensive

Threshold for detection time

Threshold for notification if the detection time increases.

extensive

Local discriminator

Authentication code used by the local system to identify that BFD session.

extensive

Remote discriminator

Authentication code used by the remote system to identify that BFD session.

extensive

Echo mode

Information about the state of echo transmissions on the BFD session.

extensive

Prefix

LDP FEC address associated with the BFD session.

All levels

Egress, Destination

Displays the LDP FEC destination address. This field is displayed only on a router at the egress of an LDP FEC, where the BFD session has an LDP Operation, Administration, and Maintenance (OAM) client.

All levels

Remote is control-plane independent

The BFD session on the remote peer is running on its Packet Forwarding Engine. In this case, when the remote node undergoes a graceful restart, the local peer can help the remote peer with the graceful restart.

The following BFD sessions are not distributed to the Packet Forwarding Engine: tunnel-encapsulated sessions, and sessions over integrated routing and bridging (IRB) interfaces.

extensive

Authentication

Summary status of BFD authentication:

  • statusenabled/active indicates authentication is configured and active. enabled/inactive indicates authentication is configured but not active. This only occurs when the remote end of the session does not support authentication and loose checking is configured.

  • keychain—Name of the security authentication keychain associated with the specified BFD session.

  • algo—BFD authentication algorithm being used: keyed-md5, keyed-sha-1, meticulous-keyed-md5, meticulous-keyed-sha-1, or simple-password.

  • mode—Level of BFD authentication enforcement: strict or loose. Strict enforcement indicates authentication is configured at both ends of the session (the default). Loose enforcement indicates that one end of the session might not be authenticated.

This information is only shown if BFD authentication is configured.

extensive

Session ID

The BFD session ID number that represents the protection using MPLS fast reroute (FRR) and loop-free alternate (LFA).

detail extensive

sessions

Total number of active BFD sessions.

All levels

clients

Total number of clients that are hosting active BFD sessions.

All levels

Cumulative transmit rate

Total number of BFD control packets transmitted per second on all active sessions.

All levels

Cumulative receive rate

Total number of BFD control packets received per second on all active sessions.

All levels

Multi-hop, min-recv-TTL

Minimum time to live (TTL) accepted if the session is configured for multihop.

extensive

route table

Route table used if the session is configured for multihop.

extensive

local address

Local address of the source used if the session is configured for multihop.

The source IP address for outgoing BFD packets from the egress side of an MPLS BFD session is based on the outgoing interface IP address.

extensive

Sample Output

show bfd session

show bfd session brief

The output for the show bfd session brief command is identical to that for the show bfd session command.

show bfd session detail

show bfd session extensive

Release Information

Command introduced before Junos OS Release 7.4.

Options discriminator and address introduced in Junos OS Release 8.2.

Option prefix introduced in Junos OS Release 9.0.

Option client introduced in Junos OS Release 12.3R3.

Option subscriber introduced in Junos OS Release 15.1 for the MX Series.