< Home

protect-group (VSI-LDP view)

Function

The protect-group command creates a PW protection group. If the PW protection group to be created already exists, the PW protection group view is displayed.

The undo protect-group command deletes a specified PW protection group.

By default, no PW protection group is created in a VSI.

Format

protect-group group-name

undo protect-group group-name

Parameters

Parameter Description Value
group-name

Specifies the name of a PW protection group.

The value is a string of 1 to 15 case-sensitive characters without spaces or hyphens (-). When double quotation marks are used around the string, spaces are allowed in the string.

Views

VSI-LDP view

Default Level

2. Configuration level

Usage Guidelines

Usage Scenario

Multiple PWs can be created in a VSI.

You can create multiple PW protection groups for a VSI. After you add two PWs to a PW protection group, the two PWs will work in backup mode.

Prerequisites

The VSI ID has been configured using the vsi-id vsi-id command in the VSI-LDP view.

Follow-up Procedure

After creating PW protection groups, configure the PW redundancy mode of each PW protection group, add PWs to these groups, and configure revertive switching policies for these groups.

Example

# Create a PW protection group named group1.

<HUAWEI> system-view
[HUAWEI] vsi vsi1
[HUAWEI-vsi-vsi1] pwsignal ldp
[HUAWEI-vsi-vsi1-ldp] vsi-id 10
[HUAWEI-vsi-vsi1-ldp] protect-group group1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >