Configuring a PW class

In a PW class, you can configure PW attributes such as the PW type, and whether to enable control word. To simplify PW configuration, you can configure PWs with the same attributes by referencing 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.