The vlan description command configures a description for a user VLAN.
The undo vlan description command deletes the description of a user VLAN.
By default, no description is configured for any user VLAN.
Parameter | Description | Value |
---|---|---|
vlan-id |
Specifies the VLAN ID in the inner VLAN tag carried in packets that a user-VLAN sub-interface receives. |
The value is an integer ranging from 1 to 4094. |
qinq pe-vlan |
Specifies the VLAN ID in the outer VLAN tag carried in packets that a user-VLAN sub-interface receives. |
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. |
Usage Scenario
When multiple user-VLAN sub-interfaces configured on the same interface can be accessed by different VLAN users, to help you learn user VLAN information, run the vlan description command to configure a description for the user VLAN.
Precautions
After the vlan description command is run, the system displays only the description of the VLAN with the same ID as the User-VLAN configured on the interface.
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/1.1 [*HUAWEI-GigabitEthernet0/1/1.1] user-vlan 100 200 [*HUAWEI-GigabitEthernet0/1/1.1-vlan-100-200] vlan 100 description huawei