R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

204
Syntax
display pw-class [ class-name ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
class-name: Specifies the name of a PW class, a case-insensitive string of 1 to 19 characters.
|: 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
If no PW class is specified, the command displays information about all PW classes.
If you specify a PW class, the output of the display command includes an additional field to show the
number of times the PW class has been referenced.
Examples
# Display information about all PW classes.
<Sysname> display pw-class
Total 3 PW-class(es)
PW-class name Transport mode Tunnel policy
1234 Ethernet abc
1025 VLAN abc
1026 VLAN -
# Display information about the PW class named 1234.
<Sysname> display pw-class 1234
PW-class name Transport mode Tunnel policy Reference count
1234 Ethernet abc 0
Table 86 Command output
Field Descri
p
tion
Tunnel policy
Name of the tunneling policy used by the PW class. If no tunneling policy is specified
for the PW class, this field displays a hyphen (-).
Reference count Number of times that the PW class is referenced.