display mpls bfd session [ fec fec-address | monitor | nexthop ip-address | outgoing-interface interface-type interface-number | statistics | verbose ]
display mpls bfd session protocol ldp [ fec fec-address [ verbose ] ]
display mpls bfd session protocol { cr-static | rsvp-te } [ lsp-id ingress-lsr-id session-id lsp-id [ verbose ] ]
display mpls bfd session protocol bgp [ fec fec-address [ verbose ] ]
Parameter | Description | Value |
---|---|---|
fec fec-address | Displays information about the BFD session of a specified FEC. | The value is in dotted decimal notation. |
monitor | Displays monitoring information of BFD sessions. | - |
nexthop ip-address | Displays information about the BFD session of a specified next hop. | The value is in dotted decimal notation. |
outgoing-interface interface-type interface-number | Displays information about the BFD session of the LSP
with a specified outbound interface.
|
- |
protocol | Indicates the type of the protocol. | - |
cr-static | Displays information about the BFD session for static CR-LSP. | - |
ldp | Displays information about the BFD session for LDP. | - |
rsvp-te | Displays information about the BFD session for RSVP-TE. | - |
statistics | Displays statistics about BFD sessions such as the total number of BFD sessions. | - |
verbose | Displays detailed information about BFD sessions. | - |
lsp-id ingress-lsr-id | Specifies the LSR ID of the ingress. | The value is in dotted decimal notation. |
session-id | Specifies the ID of a session. | The value is an integer ranging from 0 to 65535. |
lsp-id | Specifies the LSP ID. | The value is an integer ranging from 0 to 65535. |
bgp | Displays information about BFD sessions for BGP. | - |
Run the display mpls bfd session command to view information about a BFD session and the LSP detected by BFD, including the destination address and outbound interface of the LSP, the local discriminator of the BFD session, and the status of an MPLS BFD session.
# Display information about the BFD session.
<HUAWEI> display mpls bfd session ------------------------------------------------------------------------------- BFD Information: LDP LSP ------------------------------------------------------------------------------- FEC DISC OUT-IF NEXTHOP TUNNEL STATE 3.3.3.3 8 VLANIF100 10.1.1.2 Tunnel1 Up
Item |
Description |
---|---|
FEC |
Forwarding equivalence class. |
DISC |
Local discriminator of a BFD session. |
OUT-IF |
Outbound interface. |
NEXTHOP |
IP address of the next hop. |
TUNNEL |
Name of a tunnel. |
STATE |
Status of an MPLS BFD session.
|
# Display detailed information about a BFD session with the specified protocol type and LSP ID.
<HUAWEI> display mpls bfd session protocol rsvp-te lsp-id 3.3.3.3 3 1 verbose --------------------------------------------------------------------- BFD Information: TE TUNNEL --------------------------------------------------------------------- No : 1 LspIndex : 6157 Protocol : RSVP-TE Tunnel-Interface : Tunnel1 Fec : 2.2.2.2 Nexthop : 10.2.3.2 Out-Interface : Vlanif100 Bfd-Discriminator : 8195 TEMIB Tunn Table Index : 3 SessionTunnelID : 3 LocalLspId : 1 PrevSessionTunnelID : - NextSessionTunnelID : 12 ActTx : 2200 ActRx : 2200 ActMulti : - Bfd-State : Down Time : 2559 sec
Item |
Description |
---|---|
No |
Serial number. |
LspIndex |
Index number of an LSP. |
Protocol |
Protocol type. |
Tunnel-Interface |
Name of a tunnel interface. |
Fec |
Forwarding equivalence class. |
Nexthop |
IP address of the next hop. |
Out-Interface |
Name of an outbound interface. |
Bfd-Discriminator |
Local discriminator of a BFD session. |
TEMIB Tunn Table Index |
Index of the tunnel entry to which an LSP corresponds. |
SessionTunnelID |
BFD session ID. |
LocalLspId |
ID of a local LSP. |
PrevSessionTunnelID |
Tunnel ID mapping the previous LSP to which a BFD session is bound. |
NextSessionTunnelID |
Tunnel ID mapping the next LSP to which a BFD session is bound. |
ActTx |
Actual interval for sending BFD packets, in milliseconds. |
ActRx |
Actual interval for receiving BFD packets, in milliseconds. |
ActMulti |
Actual local detection multiple of a BFD session. |
Bfd-State |
Status of the BFD session.
|
Time |
Period from the time when the BFD session is created or updated till now, in seconds. |
# Display BFD session statistics.
<HUAWEI> display mpls bfd session statistics
Lsp Type sess num Tx Rx Mult Trig-type
LDP LSP 0 1000 1000 3 NONE
BGP LSP 0 1000 1000 3 NONE
STATIC CRLSP 0 1000 1000 3 -
RSVP 0 1000 1000 3 -
TOTAL 0
Item |
Description |
---|---|
Lsp Type |
LSP type. |
sess num |
Number of BFD sessions monitoring the LSP. |
Tx |
Effective minimum interval (in ms) at which BFD packets are sent. |
Rx |
Effective minimum interval (in ms) at which BFD packets are received. |
Mult |
Effective BFD detection multiplier. |
Trig-type |
BFD session establishment policy:
|
# Display BFD session monitoring information.
<HUAWEI> display mpls bfd session monitor
LDP BFD TRIGGER INFO:
Trig-Type : None
OutIfIndex : Invalid
NextHop : Invalid
LDP BFD SCAN INFO:
Cur BackGround Oper : Off
Cur Scan Index : Invalid
First Bfd Scan Index : Invalid
Scan Again : No
License Lim Reached : No
License Lim Scn Agn : No
BackGround Status : Suspended/Off
Current Scan Node : -
BGP BFD SCAN INFO:
Cur BackGround Oper : Off
Cur Scan Index : Invalid
Scan Again : No
License Lim Reached : No
BackGround Status : Suspended/Off
TE BFD SCAN INFO:
Cur BackGround Oper : Off
Cur Scan Index : 0
First Bfd Scan Index : 0
Scan Again : No
License Lim Reached : No
License Lim Scn Agn : No
BackGround Status : Suspended/Off
CAPABILITY :
Bfd Capability : Disable
Ldp Bfd Capability : Disable
Bgp Bfd Capability : Disable
Te Bfd Capability : Disable
Bfd Session Full : Not-full
Bfd Clearing : No
BFD FOR LSP PAF LICENSE INFORMATION:
Lsp Type Min-Val Max-Val Avail-Val Created
LDP LSP 0 1024 1024 0
BGP LSP 0 1024 1024 0
TE LSP 0 2048 256 0 + 0 (RSVP + CRSTATIC)
Item |
Description |
---|---|
Trig-Type |
BFD session establishment policy:
|
OutIfIndex |
Index of a BFD session outbound interface. |
NextHop |
Next-hop IP address of a BFD session. |
Cur BackGround Oper |
Background operation:
|
Cur Scan Index |
Scanned BFD session index. "Invalid" indicates that no BFD session is established. |
First Bfd Scan Index |
First scanned BFD session index. "Invalid" indicates that no BFD session is established. |
Scan Again |
Whether a device scans BFD sessions again:
|
License Lim Reached |
Whether the number of established BFD sessions reaches the upper limit specified in the license file:
|
License Lim Scn Agn |
Whether the switch needs to check the threshold-crossing event about establishment BFD sessions:
|
BackGround Status |
Background status:
|
Current Scan Node |
Name of a node that is being scanned. |
Bfd Capability |
Whether MPLS BFD is enabled:
|
Ldp Bfd Capability |
Whether BFD for LDP is enabled:
|
Bgp Bfd Capability |
Whether BFD for BGP tunnel is enabled:
|
Te Bfd Capability |
Whether BFD for Traffic Engineering (TE) is enabled:
|
Bfd Session Full |
Whether the number of created BFD sessions reaches the upper limit:
|
Bfd Clearing |
Whether BFD is disabled globally:
|
Lsp Type |
LSP type |
Min-Val |
Minimum number of supported LSPs specified in the license file. |
Max-Val |
Maximum number of supported LSPs specified in the license file. |
Avail-Val |
Average number of supported LSPs specified in the license file. |
Created |
Number of established LSPs. |