< Home

control-word

Function

The control-word command enables the control word in a PW template.

The undo control-word command disables the control word in a PW template.

By default, the control word is disabled in a PW template.

Format

control-word

undo control-word

Parameters

None

Views

PW template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In the case of load balancing, packets received by a device may be out of order. With the control word function, the device can reassemble the packets.

PW templates simplify the configuration of PWs with similar attributes. The control word attribute can be set using commands or a PW template. If the control word is configured using both commands and a PW template, only the control word configured using commands takes effect.

Prerequisites

  • MPLS L2VPN has been enabled.
  • A PW template has been created.

Configuration Impact

After a PW is established using a PW template where the control word function is enabled, the control word enabling status on both ends of the PW may be different after the PW template is restarted. As a result, system performance may be affected.

Follow-up Procedure

When configuring MPLS L2VPN on an interface, use a configured PW template.

Precautions

After the control word attribute is changed in a PW template:

  • If the PW is in use, you do not need to reset the PW.
  • If the PW template is being referenced by PWs, the configuration takes effect only after you run the reset pw command. Running the reset pw command may cause the disconnection and re-connection of related PWs. If multiple PWs use this template at the same time, the system operation is affected.

Example

# Enable the control word in the PW template named pwt.

<HUAWEI> system-view
[HUAWEI] pw-template pwt
[HUAWEI-pw-template-pwt] control-word

# Disable the control word in the PW template named pwt.

<HUAWEI> system-view
[HUAWEI] pw-template pwt
[HUAWEI-pw-template-pwt] undo control-word
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >