R211x-HP Flexfabric 11900 MPLS Command Reference

288
Examples
# Disable route target-based filtering of incoming BGP L2VPN information.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family l2vpn
[Sysname-bgp-l2vpn] undo policy vpn-target
pw-class (system view)
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
mdc-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 class 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 VSI view)
Use pw-class to reference a PW class.
Use undo pw-class to cancel referencing the PW class.