The description command sets the description of a VLAN.
The undo description command restores the default description of a VLAN.
By default, the description of a VLAN shows the VLAN ID. For example, the description of VLAN 2 is "VLAN 0002".
Parameter |
Description |
Value |
---|---|---|
description |
Specifies the description of a VLAN. |
It is a string of 1 to 80 characters. The characters are case sensitive. Spaces are allowed. |
Usage Scenario
The description command is used to set the description of a VLAN, which is convenient for identifying, memorizing, and maintaining the VLAN.
The display vlan vlan-id verbose command can display the description of a specified VLAN.
Precautions
Set different descriptions for VLANs to distinguish.
If you run the description command multiple times in the same VLAN view, only the last configuration takes effect.