show bfd session
Syntax
show bfd session <brief | detail | extensive | summary> <address address> <client rsvp-oam (brief | detail | extensive | summary) | vpls-oam (brief | detail | extensive | instance instance-name | summary)> <discriminator discriminator> <logical-system (all | logical-system-name)> <prefix address> <subscriber (address destination-address | discriminator discriminator | extensive)>
Syntax (EX Series Switch and QFX Series)
show bfd session <brief | detail | extensive | summary> <address address> <client rsvp-oam (brief | detail | extensive | summary) | vpls-oam (brief | detail | extensive | instance instance-name | summary)> <discriminator discriminator> <prefix address>
Description
Display information about active Bidirectional Forwarding Detection (BFD) sessions.
Options
none | (Same as |
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.
Field Name |
Field Description |
Level of Output |
---|---|---|
Address |
Address on which the BFD session is active. |
|
State |
State of the BFD session: |
|
Interface |
Interface on which the BFD session is active. |
|
Detect Time |
Negotiated time interval, in seconds, used to detect BFD control packets. |
|
Transmit Interval |
Time interval, in seconds, used by the transmitting system to send BFD control packets. |
|
Multiplier |
Negotiated multiplier by which the time interval is multiplied to determine the detection time for the transmitting system. |
|
Session up time |
How long a BFD session has been established. |
|
Client |
Protocol or process for which the BFD session is active: |
|
TX interval |
Time interval, in seconds, used by the host system to transmit BFD control packets. |
|
RX interval |
Time interval, in seconds, used by the host system to receive BFD control packets. |
|
Authenticate |
Indicates that BFD authentication is configured. |
|
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 |
|
algo |
BFD authentication algorithm being used for a specific
client: BFD authentication information for a client is provided in a
single line and includes the |
|
mode |
Level of BFD authentication enforcement being used by
a specific client: BFD authentication information for a client is provided in a
single line and includes the |
|
Local diagnostic |
Local diagnostic information about failing BFD sessions. Following are the expected values for Local Diagnostic output field:
|
|
Remote diagnostic |
Remote diagnostic information about failing BFD sessions. Following are the expected values for Remote Diagnostic output field:
|
|
Remote state |
Reports whether the remote system's BFD packets have been received and whether the remote system is receiving transmitted control packets. |
|
Version |
BFD version: |
|
Replicated |
The |
|
Min async interval |
Minimum amount of time, in seconds, between asynchronous control packet transmissions across the BFD session. |
|
Min slow interval |
Minimum amount of time, in seconds, between synchronous control packet transmissions across the BFD session. |
|
Adaptive async TX interval |
Transmission interval being used because of adaptation. |
|
RX interval |
Minimum required receive interval. |
|
Local min TX interval |
Minimum amount of time, in seconds, between control packet transmissions on the local system. |
|
Local min RX interval |
Minimum amount of time, in seconds, between control packet detections on the local system. |
|
Remote min TX interval |
Minimum amount of time, in seconds, between control packet transmissions on the remote system. |
|
Remote min TX interval |
Minimum amount of time, in seconds, between control packet detections on the remote system. |
|
Threshold transmission interval |
Threshold for notification if the transmission interval increases. |
|
Threshold for detection time |
Threshold for notification if the detection time increases. |
|
Local discriminator |
Authentication code used by the local system to identify that BFD session. |
|
Remote discriminator |
Authentication code used by the remote system to identify that BFD session. |
|
Echo mode |
Information about the state of echo transmissions on the BFD session. |
|
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. |
|
Authentication |
Summary status of BFD authentication:
This information is only shown if BFD authentication is configured. |
|
Session ID |
The BFD session ID number that represents the protection using MPLS fast reroute (FRR) and loop-free alternate (LFA). |
|
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. |
|
route table |
Route table used if the session is configured for multihop. |
|
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. |
|
Sample Output
show bfd session
user@host> show bfd session Transmit Address State Interface Detect Time Interval Multiplier 10.9.1.33 Up so-7/1/0.0 0.600 0.200 3 10.9.1.29 Up ge-4/0/0.0 0.600 0.200 3 2 sessions, 2 clients Cumulative transmit rate 10.0 pps, cumulative receive rate 10.0 pps
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
user@host> show bfd session detail Transmit Address State Interface Detect Time Interval Multiplier 10.9.1.33 Up so-7/1/0.0 0.600 0.200 3 Client OSPF, TX interval 0.200, RX interval 0.200, multiplier 3 Session up time 3d 00:34:02 Local diagnostic None, remote diagnostic None Remote state Up, version 1 Replicated 10.9.1.29 Up ge-4/0/0.0 0.600 0.200 3 Client ISIS L2, TX interval 0.200, RX interval 0.200, multiplier 3 Session up time 3d 00:29:04, previous down time 00:00:01 Local diagnostic NbrSignal, remote diagnostic AdminDown Remote state Up, version 1 2 sessions, 2 clients Cumulative transmit rate 10.0 pps, cumulative receive rate 10.0 pps
show bfd session extensive
user@host> show bfd session extensive Detect Transmit Address State Interface Time Interval Multiplier 10.9.1.33 Up et-1/0/1.0 6.000 2.000 3 Client PRPD:6, TX interval 1.000, RX interval 1.000 Session up time 00:00:01 Local diagnostic None, remote diagnostic None Remote state Up, version 1 Replicated Session type: Single hop BFD (Echo Lite) Local discriminator 16 Echo TX interval 2.000, echo detection interval 6.000 Session ID: 0 1 sessions, 1 clients Cumulative transmit rate 0.5 pps, cumulative receive rate 0.5 pps
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.