show bfd

Syntax

show bfd [session <ID>] [all-vrfs | vrf <NAME>] [vsx-peer]

Description

Shows information for all BFD sessions or for a specific BFD session.

Commands context

Manager (#)

Parameters

session <ID>

Session ID.

all-vrfs

All VRFs.

vrf <NAME>

Specifies the name of a VRF.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Administrators or local user group members with execution rights for this command.

Usage

Possible values for State are:

  • Up
  • Down

  • AdminDown

  • Init

Possible values for Local diagnostic and Remote diagnostic are:

  • Control detection time expired (1): The session has stopped receiving BFD control packets from the peer after one detection time.
  • Echo function failed: The session has stopped receiving BFD Echo packets, so the session was declared Down.

  • Neighbor signaled session down: A packet from the peer was received with either AdminDown or Down state.

  • Forwarding plane reset: Not set in this release.

  • Path down: The forwarding path when Down.

  • Concatenated path down: Not set in this release.

  • Administratively down: The administrator has disabled BFD.

  • Reverse concatenated path down: Not set in this release.

Examples

Showing information for all BFD sessions:

switch# show bfd

Admin status : Enabled
Echo source IP : 2.2.2.2
Statistics:
Total Number of Control Packets Transmitted : 42
Total Number of Control Packets Received : 42
Total Number of Control Packets Dropped : 0

Session Interface VRF       Source IP                       Destination IP                  Echo     State    Application
------- --------- --------- ------------------------------- ------------------------------- -------- -------- ------------
1       vlan10    blue      10.10.10.1                      10.10.10.2                      disabled up       ospf
1       vlan10    blue      N/A                             10.10.10.2                      disabled up       static_routes
2       vlan40    red       40.10.10.1                      40.10.10.2                      disabled up       ospf
3       vlan30    red       30.10.10.1                      30.10.10.2                      disabled up       ospf
4       vlan20    blue      20.10.10.1                      20.10.10.2                      disabled up       ospf
5       vlan50    black     50.10.10.1                      50.10.10.2                      disabled up       ospf
6       vlan60    black     60.10.10.1                      60.10.10.2                      disabled up       ospf
7       vlan10    blue      fe80::409:7380:a62:2400         fe80::409:7380:a49:a200         disabled up       ospfv3

Showing information for BFD session 1:

switch# show bfd session 1
BFD Session Information – Session 1
VRF: blue
Min Tx Interval (msec) : 10000
Min Rx Interval (msec) : 10000
Min Echo Rx Interval (msec) : 700
Detect Multiplier : 3
Application : ospf
Local Discriminator : 1
Remote Discriminator : 1
Echo : Enabled
Local Diagnostic : no_diagnostic
Remote Diagnostic: administratively_down
State flaps: 0
Interface Source IP       Destination IP  State      Pkt In   Pkt Out  Pkt Drop
--------- --------------- --------------- ---------- -------- -------- --------
1/1/1     100.100.100.100 100.100.100.101 Up         100      101      0

Showing information for all BFD sessions related to a particular VRF in the system:

switch# show bfd vrf blue

Admin status: enabled
Echo source IP: 100.1.1.1
Statistics:
Total number of control packets transmitted: 2226
Total number of control packets received: 2222
Total number of control packets dropped: 0
Session Interface VRF       Source IP                       Destination IP                  Echo     State    Application
------- --------- --------- ------------------------------- ------------------------------- -------- -------- ------------
1       vlan10    blue      10.10.10.1                      10.10.10.2                      disabled up       ospf
1       vlan10    blue      N/A                             10.10.10.2                      disabled up       static_routes
4       vlan20    blue      20.10.10.1                      20.10.10.2                      disabled up       ospf
7       vlan10    blue      fe80::409:7380:a62:2400         fe80::409:7380:a49:a200         disabled up       ospfv3