Checking the Configurations
After configuring BFD to monitor an LDP LSP, you can view the configurations of the BFD session, such as the session type and status.
Procedure
- Run the display bfd session { all | static | dynamic | discriminator discr-value } [ verbose ] command to check information about BFD sessions.
- Run the display bfd statistics session { all | static | dynamic | discriminator discr-value | peer-ip peer-ip } command to check statistics about BFD sessions.
Example
Run the display bfd session all verbose command to view BFD session information.
<HUAWEI> display bfd session all verbose (w): State in WTR (*): State is invalid -------------------------------------------------------------------------------- State : Up Name : 1to4 -------------------------------------------------------------------------------- Local Discriminator : 1 Remote Discriminator : 2 Session Detect Mode : Asynchronous Mode Without Echo Function BFD Bind Type : LDP_LSP Bind Session Type : Static Bind Peer IP Address : 4.4.4.9 NextHop Ip Address : 10.1.1.2 Bind Interface : GigabitEthernet1/0/0 Tunnel ID : - FSM Board Id : 3 TOS-EXP : 7 Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10 Actual Tx Interval (ms): 10 Actual Rx Interval (ms): 10 Local Detect Multi : 3 Detect Interval (ms) : 30 Echo Passive : Disable Acl Number : - Destination Port : 3784 TTL : 1 Proc Interface Status : Disable Process PST : Enable WTR Interval (ms) : 0 Config PST : Enable Active Multi : 3 Last Local Diagnostic : No Diagnostic Bind Application : No Application Bind Session TX TmrID : 0 Session Detect TmrID : 0 Session Init TmrID : - Session WTR TmrID : - Session Echo Tx TmrID : - Session Description : - -------------------------------------------------------------------------------- Total UP/DOWN Session Number : 1/0
Run the display bfd statistics session all command to view statistics about all BFD sessions.
<HUAWEI> display bfd statistics session all (w): State in WTR (*): State is invalid ------------------------------------------------------------------------------ State : Up Name : atob ------------------------------------------------------------------------------ Session Type : Static Bind Type : IP Local/Remote Discriminator : 10/20 Received Packets : 1710577 Sent Packets : 1710593 Received Bad Packets : 0 Sent Failed Packets : 0 Down Count : 0 ShortBreak Count : 0 Sent Lsp Ping Count : 0 Create Time : 2012-11-17 12:11:03 Last Down Time : 0000/00/00 00:00:00 Total Time From Last DOWN : ---D:--H:--M:--S Last Up Time : 2012-11-17 21:14:50 Last Up Lasting Time : ---D:--H:--M:--S Total Time From Create : 000D:09H:03M:47S -------------------------------------------------------------------------------- Total Session Number : 1