R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
158
Views
System view
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-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
Parameters
ethernet: Specifies the PW type as Ethernet.
vlan: Specifies the PW type as VLAN.
Usage guidelines
When the PW type is Ethernet, the PE encapsulates packets forwarded between the AC and PW as
follows: