210
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 [ pw-class-name ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
pw-class-name: Specifies the name of a 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
display vpls connection
Description
Use the display vpls connection command to display information about VPLS connections.
Related commands: vsi.
Syntax
display vpls connection [ bgp | ldp | vsi vsi-name ] [ block | down | up ] [ verbose ] [ | { begin |
exclude | include } regular-expression ]