mpls l2vpn description

Function

The mpls l2vpn description command configures a description for an L2VPN PW.

The mpls l2vpn description command deletes the description of an L2VPN PW.

By default, no description is configured for an L2VPN PW.

Format

mpls l2vpn description description-text

undo mpls l2vpn description

Parameters

Parameter Description Value
description-text

Specifies a description for an L2VPN PW.

The value is a string of 1 to 128 case-sensitive characters, spaces supported. The string cannot start at or end with a blink space.

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, Loopback interface view, PW-VE 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

To facilitate operation and maintenance of a PW in an L2VC or SVC scenario, run the mpls l2vpn description command to configure a description for the PW.

Prerequisites

A PW has been configured using the mpls l2vc or mpls static-l2vc command.

Example

# Set pw1 as the description for an L2VPN PW.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] interface GigabitEthernet0/1/16.1
[*HUAWEI-GigabitEthernet0/1/16.1] mpls l2vc 1.1.1.1 100
[*HUAWEI-GigabitEthernet0/1/16.1] mpls l2vpn description pw1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >