< Home

protect-mode (protect-group view)

Function

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

The undo protect-mode command cancels 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

undo protect-mode

Parameters

Parameter Description Value
pw-redundancy master

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

-

Views

protect-group view

Default Level

2. Configuration level

Usage Guidelines

Usage Scenario

You can configure PW protection groups to protect PW pairs of a VSI.

In the scenarios, in which the active/standby PWs cannot be determined based on the signaling sent by the remote end, you can create a PW protection group on the UPE, and specify the PW redundancy mode of the group as master/slave. The local UPE determines the active/standby PWs based on the priorities configured using the peer preference command.

When the mode of the group is master/slave, the local UPE does not determine the active/standby PWs based on the signaling sent by the remote end.

Prerequisites

The PW protection group has been configured using the protect-group command.

Precautions

A static hub PW and a static spoke PW cannot be added to the same protection group.

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 PW redundancy master/slave.

<HUAWEI> system-view
[HUAWEI] vsi vsi1
[HUAWEI-vsi-vsi1] pwsignal ldp
[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 >