OcNOS-SP : Layer 3 Guide : Bidirectional Forwarding Detection Command Reference : Bidirectional Forwarding Commands : show bfd session
show bfd session
Use this command to display BFD sessions.
Note: BFD Packet In and BFD Packet Out counters are not supported for Single Hop IPv4 BFD sessions on Qumran devices.
Command Syntax
show bfd session (detail|)
show bfd session vrf (WORD|all|default) (detail|)
Parameters
detail
Session details.
WORD
Sessions for this user-defined Virtual Routing and Forwarding instance name.
all
Show information for all Virtual Routing and Forwarding instances
default
Show information for only the default Virtual Routing and Forwarding instance
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show bfd session detail
Session Interface Index : 3 Session Index : 1
Lower Layer : IPv4 Version : 1
Session Type : Single Hop Session State : Down
Local Discriminator : 1 Local Address : 19.19.19.2/32
Remote Discriminator : 0 Remote Address : 19.19.19.1/32
Local Port : 49152 Remote Port : 3784
Options :
 
Diagnostics: None
 
Timers in Milliseconds :
Min Tx: 20 Min Rx: 20 Multiplier: 5
Neg Tx: 0 Neg Rx: 0 Neg detect mult: 0
Min echo Tx: 20 Min echo Rx: 10 Neg echo intrvl: 0
Storage type: 2
Sess down time: 00:00:00
Bfd Authentication Enabled
Authentication type : simple
Auth-Key-Id: 47
 
Counters values:
Pkt In : 0000000000000000 Pkt Out : 0000000000000011
Echo Out : 0000000000000000 IPv6 Echo Out : 0000000000000000
IPv6 Pkt In : 0000000000000000 IPv6 Pkt Out : 0000000000000000
UP Count : 0 UPTIME : 00:00:00
 
Protocol Client Info:
BFD-> Client ID: 28 Flags: 4
----------------------------------------------------------
 
 
#show bfd session vrf all
 
BFD process for VRF: vrf1
==============================================================================
Sess-Idx Remote-Disc Lower-Layer Sess-Type Sess-State UP-Time Interface Down-Reason Remote-Addr
1 1 IPv4 Single-Hop Up 00:05:38 eth1 NA 1.1.1.2/32
Number of Sessions: 1
 
BFD process for VRF: (DEFAULT VRF)
==============================================================================
Sess-Idx Remote-Disc Lower-Layer Sess-Type Sess-State UP-Time Interface Down-Reason Remote-Addr
1 7 IPv4 Single-Hop Up 00:03:31 eth3 NA 3.3.3.2/32
2 9 IPv4 Single-Hop Up 00:00:45 eth4 NA 4.4.4.2/32
Number of Sessions: 2
 
BFD process for VRF: vrf2
==============================================================================
Sess-Idx Remote-Disc Lower-Layer Sess-Type Sess-State UP-Time Interface Down-Reason Remote-Addr
1 6 IPv4 Single-Hop Up 00:03:37 eth2 NA 2.2.2.2/32
Number of Sessions: 1
 
 
Table 1-87 explains the output fields.
 
Table 1-87: show bfd session detail fields 
Entry
Description
Session Interface Index
ID number of the interface.
Session Index
Sess-Idx
ID number of this BFD session.
Lower Layer
The lower layer protocol on which BFD is carried:
IPv4
IPv6
MPLS LSP
MPLS VCCV
MPLS-TP
Version
Session version number; generally 1.
Session Type
Sess-Type
Single Hop
Multihop Arbit Path
Multihop OOB Signalled
Multihop Unidirectional.
Session State
Sess-State
The State of the session:
 
Init: The session is initializing
Up: The session is up.
Down: The session is down
AdminDown: The session has been administratively shutdown indefinitely.
Local Discriminator
A unique discriminator value generated by the transmitting device used to demultiplex multiple BFD sessions between the same pair of devices.
Local Address
Local address of the transmitting device.
Remote Discriminator
Remote-Disc
The discriminator received from the corresponding remote device; zero if that value is unknown.
Remote Address
Remote-Addr
Remote address of the receiving device.
Local Port
UDP port number of the transmitting device.
Remote Port
UDP port number of destination.
Options
Fate Shared
Echo Enabled
Demand Enabled
Remote Demand Enbl
Remote admin Down
Poll seq Init.
Diagnostics
Performance diagnostics:
 
None
Control Detection Time Expired
Echo Failed
Neighbor Session Down
Forwarding Plane Reset
Path Down
Concatenated Path Down
Admin Down
Reverse Concatenated Path Down
Min Tx
Minimum transmit interval.
Min Rx
Minimum receive interval.
Multiplier
The negotiated transmit interval, multiplied by this value, provides the detection time for the receiving system in asynchronous mode.
Neg Tx
Negotiated transmit interval.
Neg Rx
Negotiated receive interval in milliseconds.
Neg detect mult
Negotiated detection multiplier.
Min echo Tx
Minimum echo transmit interval in milliseconds.
Min echo Rx
Minimum echo receive interval in milliseconds.
Neg echo intrvl
Negotiated echo interval.
Storage type
SNMPv2 storage type (usually be set to 2):
other(1)
volatile(2)
non-Volatile(3)
permanent(4
read-Only(5)
Sess down time
Length of time this BFD session has been down.
Bfd GTSM
Whether the BFD session has enabled or disabled the Generalized TTL Security Mechanism (GTSM), which uses the time to live (TTL) or hop count to prevent off-link attackers from spoofing packets.
Bfd Authentication Enabled
When authentication is enabled.
Authentication type
Type of authentication:
 
simple: Simple Password
keyed-md5: Keyed message digest
keyed-sha1: Keyed Secure hashing algorithm
meticulous-keyed-md5: Meticulous Keyed message digest
meticulous-keyed-sha1: Meticulous Keyed Secure hashing algorithm
Authentication Key-id
ID number of the authentication key.
Pkt In
Number of packets that have been received during this BFD session.
Pkt Out
Number of packets that have been transmitted during this BFD session.
Echo Out
Number of Echo-packets that have been transmitted during this BFD session.
IPv6 Pkt In
Number of IPv6 packets that have been received during this BFD session.
IPv6 Pkt Out
Number of IPv6 packets that have been transmitted during this BFD session.
UP Count
Number of times the BFD session has been up.
UPTIME
Length of time this BFD session has been up.
BGP-> Client ID
Protocol and module ID number of this BFD session’s neighboring device.
Flags
Session state of the neighboring device.
Interface
The interface on which the VRF resides.
Down-Reason
The reason causing the VRF to be down.
Last modified date: 10/16/2023