mpls l2vpn pw name

Function

The mpls l2vpn pw name command configures a name for an PW.

The undo mpls l2vpn pw name command deletes the name of an PW.

By default, no PW name is configured.

Format

mpls l2vpn pw name pw-name [ secondary ]

undo mpls l2vpn pw name pw-name [ secondary ]

Parameters

Parameter Description Value
pw-name

PW name.

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

secondary

Specifies the name of a secondary PW.

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 pw name command to configure a PW name.

Example

# Configure a PW named pwName.
<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 pw name pwName
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >