< Home

description (VLAN view)

Function

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.

Format

description description

undo description

Parameters

Parameter Description Value
description Specifies the description of a VLAN. It is string of 1 to 80 characters. The characters are case sensitive. Spaces are allowed.

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

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.

If the description command is run several times, the latest configuration overrides the previous one.

Example

# Set the description of VLAN 2 as huawei.

<sysname> system-view
[sysname] vlan 2
[sysname-vlan2] description huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >