R0106-HP MSR Router Series MPLS Command Reference(V7)

290
Predefined user roles
network-admin
Parameters
class-name: Specifies the name of the PW class, a case-sensitive string of 1 to 19 characters.
Usage guidelines
In PW class view, you can configure PW attributes such as the PW type and control word. PWs with the
same attributes can use the same PW class to simplify configuration.
Examples
# Create a PW class named pw100 and enter PW view.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100]
Related commands
control-word enable
display l2vpn pw-class
pw-type
pw-class (auto-discovery cross-connect group view)
Use pw-class to reference a PW class.
Use undo pw-class to cancel referencing the PW class.
Syntax
pw-class class-name
undo pw-class class-name
Default
No PW class is referenced.
Views
Auto-discovery cross-connect group view
Predefined user roles
network-admin
Parameters
class-name: Specifies a PW class by its name, a case-sensitive string of 1 to 19 characters.
Usage guidelines
The referenced PW class applies to all PWs established on the auto-discovery cross-connect.
Examples
# Reference a PW class named pw100 on the auto-discovery cross-connect.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] quit
[Sysname] xconnect-group bbb