< Home

description (interface view)

Function

The description command configures the description for an interface.

The undo description command restores the default description of an interface.

By default, the description of an interface is null.

Format

description description

undo description

Parameters

Parameter

Description

Value

description

Specifies the interface description.

The value is a string of 1 to 242 characters. The character string is case sensitive. It can contain blanks but cannot contain the question mark (?).

Views

Interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To facilitate switch management and maintenance, you can configure interface descriptions. An interface description can contain:

Precautions

The interface description is displayed from the first non-space character.

Example

# Configure the description of GE0/0/1 as To-[DeviceB]GE-0/0/1, indicating that this device is connected to device B through GE0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] description To-[DeviceB]GE-0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >