Configuring a PW class

You can configure PW attributes such as the PW type and enable control word in a PW class. PWs with the same attributes can reference the same PW class.

To configure a PW class:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a PW class and enter PW class view.

pw-class class-name

By default, no PW class is created.

3. (Optional.) Enable control word.

control-word enable

By default, control word is disabled.

4. (Optional.) Specify the PW type.

pw-type { ethernet | vlan }

By default, the PW type is VLAN.