R3303-HP HSR6800 Routers MPLS Command Reference
42
display mpls statistics tunnel
Use display mpls statistics tunnel to display statistics for the specified or all public network LSP tunnels.
Syntax
display mpls statistics tunnel [ token token ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
token token: Specifies a public network tunnel by its LSP token. The value range for the token argument
is 0 to 4294967295.
|: 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 for a public network tunnel, use the mpls statistics enable tunnel token command to
enable statistics for the tunnel at first. Otherwise, the values of the statistics are 0s.
If you do not specify a token, this command displays statistics for public network tunnels corresponding
to all LSP tokens.
Examples
# Display statistics for the public network tunnel with the LSP token of 2.
<Sysname> system-view
[Sysname] mpls statistics enable tunnel token 2
[Sysname] display mpls statistics tunnel token 2
Statistics for Tunnel OUT: Token: 0x2
Octets : 440
Packets : 5
Errors : 0
Discards : 0
Table 26 Command output
Field Descri
p
tion
Statistics for Tunnel OUT: Token: 0x2
Statistics for the public network tunnel with the specified
token in the outgoing direction.
Octets Number of bytes processed.
Packets Number of packets processed.
Errors Number of errors.










