protect-mode pw-redundancy

Function

The protect-mode pw-redundancy command specifies the PW redundancy mode for a PW protection group.

The undo protect-mode command deletes the PW redundancy mode of a PW protection group.

By default, a PW protection group does not have a PW redundancy mode.

Format

protect-mode pw-redundancy { master | independent }

undo protect-mode

Parameters

Parameter Description Value
master

Specifies the PW redundancy mode of a PW protection group as master/slave.

-

independent

Specifies the PW redundancy mode of a PW protection group as independent.

-

Views

Protection group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

PW pairs in a VSI can be added to a PW protection group to protect each other. After the PW protection group is configured, you must specify the protection mode. Currently, only PW redundancy is supported. PW redundancy has two modes: master/slave and independent. The PW redundancy mode must be specified when PW redundancy is used:

  • In master/slave mode, a UPE determines the active/standby status of PWs. This mode applies to scenarios in which the PW status cannot be determined by remote signaling, such as HVPLS scenarios and VPLS accessing VLL scenarios. In these scenarios, a bypass PW must also be configured.
  • In independent mode, the PW status is determined by the remote signaling. This mode applies to VPLS accessing VLL scenarios in which a CE is dual-homed to two PEs between which E-Trunk is configured.

Prerequisites

The VSI ID and PW protection group have been configured.

Configuration Impact

If the PW redundancy mode of a PW protection group is master/slave, the local UPE determines the active/standby status of PWs based on local configurations.

Follow-up Procedure

Configure a revertive switching policy for the PW protection group and add PWs to the group.

Precautions

After a PW protection group is configured, you must specify the PW redundancy mode before configuring other parameters. Deleting the PW redundancy mode of a PW protection group will clear all the configurations of the group.

Example

# Configure the PW redundancy mode of a PW protection group as master/slave.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 100
[*HUAWEI-vsi-vsi1-ldp] protect-group group1
[*HUAWEI-vsi-vsi1-ldp-protect-group-group1] protect-mode pw-redundancy master
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >