mpls l2vpn protect-group

Function

The mpls l2vpn protect-group command creates a PW protection group.

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

By default, no protection group name is configured for a VPWS service.

Format

mpls l2vpn protect-group protect-group-name

undo mpls l2vpn protect-group protect-group-name

Parameters

Parameter Description Value
protect-group-name

Protection group name.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In VPWS SS-PW networking, you can run the mpls l2vpn protect-group command to create a PW protection group and use the protection group name to uniquely identify a group of primary and secondary PWs that form redundancy protection.

Precautions

Currently, the PW protection group name can be configured only in the dynamic single-segment VPWS master/backup protection scenario. Mutual protection between an LDP VC and a CCC VC is not supported. Mutual protection between an LDP VC and a bypass PW is not supported.

Example

# Configure a PW protection group named protectName.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] interface GigabitEthernet0/1/17
[*HUAWEI-GigabitEthernet0/1/17] mpls l2vc 1.1.1.1 100
[*HUAWEI-GigabitEthernet0/1/17] mpls l2vpn protect-group protectName
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >