R211x-HP Flexfabric 11900 MPLS Command Reference
289
Syntax
pw-class class-name
undo pw-class class-name
Default
No PW class is referenced.
Views
Auto-discovery VSI view
Predefined user roles
network-admin
mdc-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 VSI.
Examples
# Reference a PW class named pw100 on the auto-discovery VSI.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] quit
[Sysname] vsi aaa
[Sysname-vsi-aaa] auto-discovery bgp
[Sysname-vsi-aaa-auto] pw-class 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










