Displaying BFD Information

Various show commands can display statistical information about BFD configurations.
Use one or more of the following commands to verify BFD information. Using these commands is optional, and the variations of the commands can be entered in any order. For full documentation of all the show commands for BFD, refer to the RUCKUS FastIron Command Reference.
  1. Enter the show bfd command to display general BFD information.
    device> show bfd
    
     BFD State: ENABLE    Version: 1
     Sessions      : Total count: 2    Max Allowed: 256    Max Reach Count: 0
     Micro Sessions: Total count: 0    Max Allowed: 0    Max Reach Count: 0
     Micro-bfd: oper-state:  disabled,  config-state:  disabled
     Protocols Registration Count: 5
         bgp/default-vrf  ospf/white  static/default-vrf  static/white  ospf/default-vrf
    
     Number of Interfaces with controller configuration: 2
        Nhop-Intf   Sessions-count  M-BFD[Lag per-link]
        ---------   --------------  -------------------
        1/1/13      1               no
        1/1/14      1               no
    
  2. Enter the show bfd applications command to display information about the applications that are registered to BFD.
    device> show bfd applications
    
      Registered Protocols Count: 2
         Protocol  VRFID     Parameter HoldoverInterval(ms)
         bgp       0         0            0
         ospf      0         0            0 
    
  3. Enter the show bfd neighbors command and specify an IP address to display BFD information about a specific IPv4 neighbor.
    device> show bfd neighbors 20.20.20.1
    
    Flags: H:Hop [S:Single/M:Multi] P:Passive-Mode M:Micro-BFD R:RxRemote [Y:Yes/N:No]
    MinTx/MinRx/NegTx/NegRx/DTime [milliseconds]  HoldTime [seconds]
    
    Id  Neighbor          Local             State  NHopIntf   NegRx|NegTx|DTime    P/H/M/R
    --  --------          -----             -----  --------   -----------------    -------
    1   20.20.20.1        10.10.10.1        UP     1/1/13     300   300   900      N/M/N/Y
    
  4. Enter the show bfd v6-neighbors command to display BFD information about IPv6 neighbors.
    device> show bfd v6-neighbors
    
    Id  Neighbor                                Local                                   State  NHopIntf  NegRx|NegTx|DTime   P/H/C/R
    156 fe80::bfd:80:1:100:2                    fe80::bfd:80:1:100:1                    DOWN   lg100     30000 350   900000  N/S/Y/Y   
     
    
  5. Enter the show bfd neighbors command with the details keyword and specify an IPv6 address to display detailed BFD information about a specific IPv6 neighbor.
    device> show bfd neighbors details 12::6
    
    NeighborAddress  State  Interface    Holddown(ms)   Interval(ms)  R/H
    12::6            UP     ve 10       500000         100000        Y/S
    Registered Protocols(Protocol/VRFID): bgp/4
    Local: Disc: 135, Diag: 3, Demand: 0 Poll: 0, Port: 49153
           MinTxInterval(ms): 100000, MinRxInterval(ms): 100000, Multiplier: 5
    Remote: Disc: 215, Diag: None, Demand: 0 Poll: 0, Port: 3784
           MinTxInterval(ms): 100000, MinRxInterval(ms): 100000, Multiplier: 5
    Negotiated: Neg Tx: 100000, Neg Rx: 100000 Multiplier: 5
    Stats: RX: 103592 TX: 85739 SessionUpCount: 3 at SysUpTime: 215:8:17:4.674 
    Session Uptime:0:0:56:39.640, LastSessionDownTimestamp: 215:7:18:51.835
    
  6. Enter the show bfd neighbors bgp command to display BFD neighbor session information for BGP.
    device> show bfd neighbors bgp
    
    Total Entries:2 R:RxRemote(Y:Yes/N:No)H:Hop(S:Single/M:Multi)
    NeighborAddress   State  Interface    Holddown(ms)   Interval(ms)  R/H
    10.12.12.6        UP     ve 10       500000         100000        Y/S
    12::6             UP     ve 10       500000         100000        Y/S
    
  7. Enter the show bfd neighbors bgp command with the details keyword to display detailed BFD neighbor session information for BGP.
    device> show bfd neighbors bgp details 
    
    Total Entries:2 R:RxRemote(Y:Yes/N:No)H:Hop(S:Single/M:Multi)
    NeighborAddress  State  Interface       Holddown   Interval  R/H
    10.12.12.6       UP     ve 10          500000     100000    Y/S
      Registered Protocols(Protocol/VRFID): bgp/4 ospf/4 static/4
      Local: Disc: 133, Diag: None, Demand: 0 Poll: 0, Port: 49153
             MinTxInterval(ms): 100000, MinRxInterval(ms): 100000, Multiplier: 5
      Remote: Disc: 210, Diag: None, Demand: 0 Poll: 0, Port: 3784, State: UP,
             MinTxInterval(ms): 100000, MinRxInterval(ms): 100000, Multiplier: 5
      Negotiated: Neg Tx: 100000, Neg Rx: 100000, Multiplier: 5
      Stats: RX: 1242514 TX: 1082496 SessionUpCount: 1 at SysUpTime:    215:8:8:54.749 
      Session Uptime: 1:3:37:16.897, LastSessionDownTimestamp: 0:0:0:0.0
    
    NeighborAddress  State  Interface       Holddown   Interval  R/H
    12::6            UP     ve 10          500000     100000    Y/S
      Registered Protocols(Protocol/VRFID): bgp/4
      Local: Disc: 135, Diag: None, Demand: 0 Poll: 0, Port: 49153
             MinTxInterval: 100000, MinRxInterval: 100000, Multiplier: 5
      Remote: Disc: 215, Diag: None, Demand: 0 Poll: 0, Port: 3784, State: UP,
              MinTxInterval: 100000, MinRxInterval: 100000, Multiplier: 5
      Negotiated: Neg Tx: 100000, Neg Rx: 100000, Multiplier: 5
      Stats: RX: 96595 TX: 80404 SessionUpCount: 3 at SysUpTime: 215:8:8:54.749 
      Session Uptime: 0:0:48:29.723, LastSessionDownTimestamp: 215:7:18:51.827
    
  8. Enter the show bfd agent sessions command with the ipv4 and all keywords to display IPv4 BFD agent-related information for all sessions.
    device> show bfd agent sessions ipv4 all 
    
    Flags: H:Hop [S:Single/M:Multi] P:Passive-Mode M:Micro-BFD
    MinTx/MinRx/Mult [milliseconds]  HoldTime [seconds]
    
    Id  Neighbor          Local             NHopIntf   Phy-Port Lag-Port MinRx|MinTx|Mult  P/H/M    vrf   
    --  --------          -----             --------   -------- -------- ----------------- ----- ---------
    161 2.2.2.2           2.2.2.1           v2         lg9      1/1/7    300   300   3     N/S/Y default-vrf
    162 2.2.2.2           2.2.2.1           v2         lg9      1/1/10   300   300   3     N/S/Y default-vrf
    
  9. Enter the show bfd agent info command to display all BFD agent-related information.
    device># show bfd agent info 
    Agent id - 1
      HW Assist      : 1       MicroBFD       : 1           Max Session    : 256  
      HA Epoch       : 0    
      HA in Prog     : No      HA Start time  : 0:0:0       HA End time    : in future
      UC Session     : 2       AG Session     : 2         
      Tx-id          : 37      Rx-Id          : 22        
    
    
  10. Enter the show bfd neighbors ospf command to display neighbor session information for OSPF.
    device> show bfd neighbors ospf
    
    Total Entries:2 R:RxRemote(Y:Yes/N:No)H:Hop(S:Single/M:Multi)
    NeighborAddress    State  Interface    Holddown(ms)   Interval(ms)  R/H
    10.12.12.6         UP     ve 10        500000         100000        Y/S
    10.16.16.6         UP     eth 1/1/1    250000         50000         Y/S
    
  11. Enter the show bfd vrf command with the applications keyword, and specify a VRF to display information about the applications that are registered to BFD for a non-default VRF instance.
    device> show bfd vrf red applications 
    
      Protocols Registration Count for VRF [red]: 3
         Protocol  Parameter  Global-Holdtime  
         ospf6     0          99        
         bgp       1          88        
         ospf      1          88  
    
  12. Enter the show bfd ha info command to display high availability (HA) information from active agents for BFD.
    device> show bfd ha info
    SO in Prog: No    SO-Completed from 0 agents
    SO Epoch: 0
    Agent Id - 1 (STANDALONE)
      Agent State         : so not prog       HA Recon state      : NONE
      tx id               : 52                Agent IPC State     : Lost
      rx id               : 202
    
  13. Enter the show bfd micro-session command, specifying a session ID, to display information about a specific micro-BFD session.
    device> show bfd micro-session 3
    
    Neighbor: 2.2.2.2
    Local   : 2.2.2.1
    Outgoing Lag: lg9 MBfd Sessions: 2
         M-Id State  R-State  LagPort  NegRx|NegTx|DTime   R
         ---- -----  -------  -------  ------------------- -
         162  UP     UP       1/1/10   300   300   900     Y
         161  UP     UP       1/1/7    300   300   900     Y