84
Field Description
Packets Number of packets processed
Errors Number of errors
Disables
Number of packets dropped by the incoming
interface/outgoing interface
Start Time Start time of the statistics
End Time End time of the statistics
display mpls statistics lsp
Description
Use the display mpls statistics lsp command to display MPLS statistics for all LSPs or the LSP with a
specified index or name.
To display MPLS statistics, set the statistics reading interval first. By default, the interval is 0, and the
system does not read LSP statistics. In this case, the value of every statistic is 0.
Related commands: statistics interval.
Syntax
display mpls statistics lsp { index | all | name lsp-name } [ | { begin | exclude | include } regular-
expression ]
View
Any view
Default level
1: Monitor level
Parameters
index: Specifies an LSP by the index of the LSP. The LSP index is ranging from 0 to 4,294,967,295.
all: Specifies all LSPs.
name lsp-name: Specifies an LSP by its name, which is a string of 1 to 15 characters.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the 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, which is a case-sensitive string of 1 to 256
characters.
Examples
# Display MPLS statistics for all LSPs.
<Sysname> display mpls statistics lsp all
Statistics for Lsp IN : LSP Name /LSP Index : DynamicLsp/9217
InSegment
Octets : 0