BFD Operational Commands
BFD Show Commands
The command displays the BFD session information.
| Option | Description |
|---|---|
|
Without any option, it displays all the BFD session information. |
|
BFD session history |
|
Peer address of BFD session |
|
BFD session verbose. |
|
Shows the session information. |
|
Shows detailed information about BFD sessions. |
|
Shows information for specified client. |
Example: The output lists BGP neighbor relationships with each peer’s address, remote AS number, state, uptime, and the number of prefixes exchanged.
supervisor@rtbrick: op> show bgp peer instance default Instance: default Peer Remote AS State Up/Down Time PfxRcvd PfxSent PE2 65542 Established 0d:00h:00m:45s 16 24 PE2 65542 Established 0d:00h:00m:46s 8 24 PE2 65542 Established 0d:00h:00m:40s 8 24
Example: The output shows status of active BFD sessions with session state, and the transmit and receive intervals.
supervisor@rtbrick: op> show oam bfd session Peer State Transmit-interval(ms) Receive-interval(ms) Multiplier 192.0.2.2 Up 1000 1000 3 2001:db8:1:1::2 Up 1000 1000 3 fe80::e8c5:7aff:fe8f:565f Up 1000 1000 3
Example: The output shows the IS-IS neighbor interface.
supervisor@rtbrick: op> show isis neighbor interface ifl-0/1/22/0 Instance: default Interface System Level State Type Up since Expires ifl-0/1/22/0 1980.5110.0121.00 L1 Up P2P Fri Jun 05 12:56:44 in 29s 124973us
Example: This output shows the ISIS Level-1 adjacency on interface with the specified neighbor.
supervisor@rtbrick: op> show isis neighbor interface ifl-0/1/22/0 detail
Instance: default
System: 1980.5110.0121.00, Interface: ifl-0/1/22/0
State: Up, Level: L1, Adjacency type: P2P
Circuit type: L1, Hold time: 30.0s, Expiry time: in 28s 13240us
Local IPv4 address: 192.0.2.1, Remote IPv4 address: 192.0.2.2, Unnumbered: False
Local IPv6 address: fe80::5c07:58ff:fe79:a17, Remote IPv6 address: fe80::e8c5:7aff:fe8f:565f
Up since: Fri Jun 05 12:56:44 GMT +0000 2026, Last down reason: NA
Last transition: 2026-06-05T12:56:44.336339+0000, Number of transitions: 2
Error counters:
Level mismatch: 0, Area mismatch: 0, System ID: 0, Subnet mismatch: 0
Hold timeout: 0, Neighbor down: 0, Interface down: 0, Admin reset: 0, BFD down: 0
Interface configuration: 0, Area configuration: 0, Other: 0
Example: The output shows two BFD sessions (IPv4 and IPv6) status.
supervisor@rtbrick: op> show oam bfd session Peer State Transmit-interval(ms) Receive-interval(ms) Multiplier 192.0.2.2 Up 1000 1000 3 2001:db8:1:1::2 Up 1000 1000 3 fe80::e8c5:7aff:fe8f:565f Up 1000 1000 3
Example: The output shows both IPv4 and IPv6 BFD sessions on the interface.
supervisor@rtbrick: op> show oam bfd session detail
Peer address: 192.0.2.2, Local address: 192.0.2.1
State: Up, Interface: ifl-0/1/22/0, Instance : default
Clients: isis
Local discriminator: 1003, Remote discriminator: 1003
Transmit interval: 1000ms, Receive interval: 1000ms, Detect time multiplier: 3
Hold interval: 3000ms
Diagnostic code: No Diagnostic
Last transition time: 2026-06-05T12:57:28.589471+0000, Flap count: 1
Peer address: fe80::e8c5:7aff:fe8f:565f, Local address: fe80::5c07:58ff:fe79:a17
State: Up, Interface: ifl-0/1/22/0, Instance : default
Clients: isis
Local discriminator: 1004, Remote discriminator: 1004
Transmit interval: 1000ms, Receive interval: 1000ms, Detect time multiplier: 3
Hold interval: 3000ms
Diagnostic code: No Diagnostic
Last transition time: 2026-06-05T12:57:28.589652+0000, Flap count: 1
Example output for OSPFv2 and OSPFv3 neighbor and the corresponding BFD session.
supervisor@rtbrick: op> show ospf neighbor interface ifl-0/1/22/100 Instance: default, Address family: ipv4 Address Interface Router Area State Priority DR BDR Uptime Expires 192.0.2.6 ifl-0/1/22/100 198.51.100.21 0.0.0.0 Full 1 192.0.2.6 192.0.2.5 0d:00h:00m:27s 39s Instance: default, Address family: ipv6, Instance ID: 0 Address Interface Router Area State Priority DR BDR Uptime Expires fe80::e8c5:7a00:648f:565f ifl-0/1/22/100 CBNG2 0.0.0.0 Full 1 198.51.100.21 198.51.100.11 0d:00h:00m:22s 39s
Example for BFD session associated with OSPFv2 neighbor.
supervisor@rtbrick: op> show oam bfd session peer 192.0.2.6 Peer State Transmit-interval(ms) Receive-interval(ms) Multiplier 192.0.2.6 Up 1000 1000 3
Detailed view of BFD session associated with OSPFv2 neighbor.
supervisor@rtbrick: op> show oam bfd session peer 192.0.2.6 detail
Peer address: 192.0.2.6, Local address: 192.0.2.5
State: Up, Interface: ifl-0/1/22/100, Instance : default
Clients: ospf
Local discriminator: 1005, Remote discriminator: 1005
Transmit interval: 1000ms, Receive interval: 1000ms, Detect time multiplier: 3
Hold interval: 3000ms
Diagnostic code: No Diagnostic
Last transition time: 2026-06-05T12:57:39.876497+0000, Flap count: 0
Example for BFD session associated with OSPFv3 neighbor.
supervisor@rtbrick: op> show oam bfd session peer fe80::e8c5:7a00:648f:565f Peer State Transmit-interval(ms) Receive-interval(ms) Multiplier fe80::e8c5:7a00:648f:565f Up 1000 1000 3
Detailed view of BFD session associated with OSPFv3 neighbor.
supervisor@rtbrick: op> show oam bfd session peer fe80::e8c5:7a00:648f:565f detail
Peer address: fe80::e8c5:7a00:648f:565f, Local address: fe80::5c07:5800:6479:a17
State: Up, Interface: ifl-0/1/22/100, Instance : default
Clients: ospf
Local discriminator: 1006, Remote discriminator: 1006
Transmit interval: 1000ms, Receive interval: 1000ms, Detect time multiplier: 3
Hold interval: 3000ms
Diagnostic code: No Diagnostic
Last transition time: 2026-06-05T12:57:39.876600+0000, Flap count: 0
The following example output shows that the BFD session with the peer.
supervisor@rtbrick: op> show oam bfd session peer 192.0.2.2 detail
Peer address: 192.0.2.2, Local address: 192.0.2.1
State: Up, Interface: ifl-0/1/22/0, Instance : -
Clients: static, Session name: BFD_V4_IFP1_LINK1
Local discriminator: 1007, Remote discriminator: 1007
Transmit interval: 1000ms, Receive interval: 1000ms, Detect time multiplier: 3
Hold interval: 3000ms
Diagnostic code: No Diagnostic
Last transition time: 2026-06-05T12:58:01.784417+0000, Flap count: 0
The following example output shows that the static route that is installed.
supervisor@rtbrick: op> show route source static prefix 192.168.0.26/32
Flags: & - Imported
Instance: default, AFI: ipv4, SAFI: unicast
Flags Prefix/Label Source Pref Next Hop Outgoing Interface
192.168.0.26/32 static 2 192.0.2.2 ifl-0/1/22/0
Instance: default, AFI: ipv4, SAFI: labeled-unicast
Flags Prefix/Label Source Pref Next Hop Label Outgoing Interface
192.168.0.26/32 static 2 192.0.2.2 - ifl-0/1/22/0
BFD Session Client
It allows filtering by client and provide summary, detailed, and history information.
Syntax:
The following table provides the command options and descriptions.
| Option | Description |
|---|---|
|
Displays BFD sessions associated with the specified client. |
|
Displays detailed information for BFD sessions associated with the specified client. |
|
Displays historical state and event information for BFD sessions of the specified client. |
|
Displays extended information for BFD sessions of the specified client. |
The following example displays detailed BFD session information for the specified client, including state, timers, diagnostics, and transition statistics.
supervisor@rtbrick.net: cfg> show oam bfd session client isis detail
Peer address: 12.0.7.2, Local address: 12.0.7.1
State: Up, Interface: ifp-0/0/0/7, Instance : default
Clients: isis
Local discriminator: 1022, Remote discriminator: 1022
Transmit interval: 100ms, Receive interval: 100ms, Detect time multiplier: 3
Hold interval: 300ms
Diagnostic code: No Diagnostic
Last transition time: 2026-05-04T05:02:15.549548+0000, Flap count: 0
The following example displays extended BFD session information for the specified client, including timers, local and remote parameters, and so on.
supervisor@rtbrick.net: cfg> show oam bfd session client isis verbose
Peer address: 12.0.7.2, Local address: 12.0.7.1
State: Up, Interface: ifp-0/0/0/7, Instance: default
Clients: isis
Local discriminator: 1022
Configured transmit interval: 100ms, Configured receive interval: 100ms
Desired minimum transmit interval: 100ms, Required minimum receive interval: 100ms, Detect time multiplier: 3
Transmit interval: 91ms, Hold interval: 300ms
Diagnostic code: No Diagnostic
Remote discriminator: 1022, Remote state: Up
Desired minimum transmit interval: 100ms, Required minimum receive interval: 100ms, Detect time multiplier: 3
Diagnostic code: No Diagnostic
Created time: 2026-05-04T05:02:15.212104+0000, Last transition time: 2026-05-04T05:02:15.549548+0000
Flap count: 0
The following example displays a summary list of BFD sessions for the specified client, including peer address, session state, and transmit/receive intervals.
supervisor@rtbrick.net: cfg> show oam bfd session client isis Peer State Transmit-interval(ms) Receive-interval(ms) 12.0.7.2 Up 100 100 12.0.8.2 Up 100 100 12.1.7.2 Up 100 100 12.1.8.2 Up 100 100 fe80::7830:21 Up 100 100 fe80::7850:21 Up 100 100 fe80::8840:21 Up 100 100 fe80::8860:21 Up 100 100
BFD Clear Commands
This command resets the existing BFD sessions.
Syntax
| Option | Description |
|---|---|
|
Without any option, the commands clears all the BFD session details. |
|
Clears the specified BFD session. |
|
Clears BFD session for the specified peer. |
Example commands:
clear oam bfd session clear oam bfd session peer-address <peer-address> local-address <local-address> clear oam bfd session session-name <bfd-session-name>