Default
No PW class is created.
Views
System view
Predefined user roles
network-admin
mdc-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
display l2vpn pw-class
•
pw-type
•
pw-type
Use pw-type to specify a PW type for a PW class.
Use undo pw-type to restore the default.
Syntax
pw-type { ethernet | vlan }
undo pw-type
Default
The PW type is VLAN.
Views
PW class view
Predefined user roles
network-admin
mdc-admin
Parameters
ethernet: Specifies the PW type as Ethernet.
vlan: Specifies the PW type as VLAN.
137