257
Field Description
Tunnel ID ID of the tunnel
display pw-class
Description
Use the display pw-class command to display the PW class template information.
If you do not specify a PW class template, the command displays information about all PW class
templates.
If you specify a PW class template, the output information of the display command includes an additional
field to show the number of times the PW class template has been referenced.
Syntax
display pw-class [ class-name ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
class-name: Specifies the name of the PW class template, which is a case-insensitive string of 1 to 19
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 information about all PW class templates.
<Sysname> display pw-class
Total 3 PW-class(es)
PW-class name Transport mode Tunnel policy
1234 Ethernet abc
1025 VLAN abc
1026 VLAN default
# Display information about the PW class template named 1234.
<Sysname> display pw-class 1234
PW-class name Transport mode Tunnel policy Reference count
1234 Ethernet abc 0