R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide

40
display mpls statistics lsp in-label
Use display mpls statistics lsp in-label to display statistics for all LSPs or the LSP with a specific incoming
label.
Syntax
display mpls statistics lsp [ in-label in-label ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
in-label in-label: Specifies an LSP by its incoming label.
The following matrix shows the value ranges for the in-label argument:
6602 HSR6602 6604/6608/6616
0 to 57343 0 to 57343
With the RSE-X1 MPU: 0 to 97279
With other MPUs: 0 to 57343
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
To display statistics in the inbound direction, use the mpls statistics enable lsp in-label command to
enable statistics at first. Otherwise, the values of the statistics are 0s.
To display statistics in both the inbound and outbound directions, first use the mpls statistics enable lsp
in-label and mpls statistics enable tunnel token commands to enable LSP statistics for specified incoming
labels and public network tunnels.
If you do not specify an incoming label, this command displays statistics on all LSPs.
Examples
# Display statistics for the LSP with the incoming label of 1024.
<Sysname> system-view
[Sysname] mpls statistics enable lsp in-label 1024
[Sysname] display mpls statistics lsp in-label 1024
Statistics for Lsp IN: LSP TYPE/Label:NORMAL/1024
Octets : 440
Packets : 5
Errors : 0