The display mpls lsp statistics command displays statistics about LSPs that are in the Up state and the number of LSPs that are functioning on the ingress node, transit nodes, and egress node.
Usage Scenario
To view statistics about LSPs that are in the Up state, run the display mpls lsp statistics command.
To view detailed information about the LSPs and CR-LSPs, run the display mpls lsp command.Precautions
Unlike the display mpls lsp statistics command, the display mpls lsp statistics compatible command has the following characteristics:
Does not collect statistics about the egress and transit LSPs that do not have upstream nodes. Collects statistics about backup LSPs in FRR and load balancing scenarios.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls lsp statistics
Lsp Type Total Ingress Transit Egress
STATIC LSP 0 0 0 0
STATIC CRLSP 0 0 0 0
LDP LSP 4 3 0 1
RSVP CRLSP 0 0 0 0
BGP LSP 1 0 0 1
ASBR LSP 0 0 0 0
BGP IPV6 LSP 0 0 0 0
L3VPN IPV6 LSP 0 0 0 0
EVPN LSP 3 0 3 0
----------------------------------------------------------------------
LSP 5 3 0 2
CRLSP 0 0 0 0
----------------------------------------------------------------------
Lsp Type IngressLspBypassState TransitLspBypassState
ExistNotUsed InUse ExistNotUsed InUse
RSVP CRLSP 0 0 0 0
----------------------------------------------------------------------
Lsp Type IngressLspDetourState TransitLspDetourState
ExistNotUsed InUse ExistNotUsed InUse
Detour CRLSP 1 0 0 0
----------------------------------------------------------------------
<HUAWEI> display mpls lsp statistics compatible
Lsp Type Total Ingress Transit Egress
STATIC LSP 0 0 0 0
STATIC CRLSP 0 0 0 0
LDP LSP 10 3 6 1
RSVP CRLSP 0 0 0 0
BGP LSP 0 0 0 0
ASBR LSP 0 0 0 0
BGP IPV6 LSP 0 0 0 0
L3VPN IPV6 LSP 0 0 0 0
EVPN LSP 3 0 3 0
----------------------------------------------------------------------
LSP 10 3 6 1
CRLSP 0 0 0 0
----------------------------------------------------------------------
Lsp Type IngressLspBypassState TransitLspBypassState
ExistNotUsed InUse ExistNotUsed InUse
RSVP CRLSP 0 0 0 0
----------------------------------------------------------------------
Lsp Type IngressLspDetourState TransitLspDetourState
ExistNotUsed InUse ExistNotUsed InUse
Detour CRLSP 1 0 0 0
----------------------------------------------------------------------
Item | Description |
---|---|
Lsp Type | LSP type. |
Total | Total number of all types of LSPs. |
Ingress | Number of LSPs on an ingress LSR. |
Transit | Number of LSPs on a transit LSR. |
Egress | Number of LSPs on an egress LSR. |
IngressLspBypassState | Status of an LSP protected by a bypass tunnel on the ingress:
|
TransitLspBypassState | Status of an LSP protected by a bypass tunnel on the transit:
|
IngressLspDetourState | Status of an LSP protected by a detour tunnel on the ingress:
|
TransitLspDetourState | Status of an LSP protected by a detour tunnel on the transit:
|