display mpls lsp statistics

Function

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.

Format

display mpls lsp statistics

display mpls lsp statistics compatible

Parameters

Parameter Description Value
compatible

Displays statistics information about LSPs in compatible style.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-base read

Usage Guidelines

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about LSPs.
<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
----------------------------------------------------------------------
# Displays statistics information about LSPs in compatible style.
<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
----------------------------------------------------------------------
Table 1 Description of the display mpls lsp statistics command output
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:

  • ExistNotUsed.
  • InUse.
TransitLspBypassState

Status of an LSP protected by a bypass tunnel on the transit:

  • ExistNotUsed.
  • InUse.
IngressLspDetourState

Status of an LSP protected by a detour tunnel on the ingress:

  • ExistNotUsed.
  • InUse.
TransitLspDetourState

Status of an LSP protected by a detour tunnel on the transit:

  • ExistNotUsed.
  • InUse.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >