qinq-vlan description

Function

The qinq-vlan description command configures a description for the outer VLAN tag carried in double-tagged packets that a sub-interface receives.

The undo qinq-vlan description command deletes the description for the outer VLAN tag carried in double-tagged packets that a sub-interface receives.

By default, no description is configured for the outer VLAN tag carried in double-tagged packets that a sub-interface receives.

Format

qinq-vlan pe-vlan description description

undo qinq-vlan pe-vlan description

Parameters

Parameter Description Value
pe-vlan

Specifies a VLAN ID.

The value is an integer ranging from 1 to 4094.

description

Specifies a description.

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

Views

FlexE sub-interface view, Global VE sub-interface view, VE sub-interface view, Sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ethernet write

Usage Guidelines

Usage Scenario

When users send double-tagged VLAN packets to go online in batches through a BRAS with the outer VLAN tag representing services and the inner VLAN tag representing users, to learn only the users' service information, run the qinq-vlan description command to configure a description for the outer VLAN tag carried in double-tagged packets that the BRAS's sub-interface receives.

Configuration Impact

After the qinq-vlan description command is run on a sub-interface, any outer VLAN tag (irrespective of the inner VLAN tags) carrying the same VLAN ID as pe-vlan specified in the qinq-vlan description command will have the specified description.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Configure a description huawei for the outer VLAN tag 20 in double-tagged packets that 0/1/0.1 receives.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] qinq-vlan 20 description huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >