R3303-HP HSR6800 Routers MPLS Command Reference
36
display mpls statistics interface
Use display mpls statistics interface to display MPLS statistics for one or all interfaces.
Syntax
display mpls statistics interface { interface-type interface-number | all } [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface-type interface-number: Displays MPLS statistics for the specified interface.
all: Displays MPLS statistics for all interfaces.
|: 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
On some devices, you must set the statistics reading interval before viewing MPLS statistics. By default,
the interval is 0, the system does not read MPLS statistics, and the statistics are all 0.
On some other devices, you must use the mpls statistics enable interface command to enable statistics for
the interfaces before viewing MPLS statistics. Otherwise, the statistics are all 0.
Examples
# Display MPLS statistics for all interfaces.
<Sysname> display mpls statistics interface all
Statistics for Interface IN :
Incoming Interface GigabitEthernet2/1/1
Octets : 0
Packets : 0
Errors : 0
Disables : 0
Failed Label Lookup : 0
Start Time : 2004/04/28 10:23:55
End Time : 2004/04/28 10:23:55
Statistics for Interface OUT :
Outgoing Interface GigabitEthernet2/1/1
Octets : 0
Packets : 0
Errors : 0
Disables : 0










