R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
183
Related commands
display l2vpn ldp
display l2vpn pw
pw-class
tunnel-policy
pw-class
Use pw-class to create a PW class and enter PW class view.
Use undo pw-class to delete a PW class.
Syntax
pw-class class-name
undo pw-class class-name
Default
No PW class is created.
Views
System view
Predefined user roles
network-admin
Parameters
class-name: Specifies a name for 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 whether to enable 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