description

Use description to set a description for an interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The description of a loopback or null interface is the interface name plus Interface (for example, LoopBack1 Interface).

Views

Loopback interface view, null interface view

Predefined user roles

network-admin

Parameters

text: Specifies an interface description, a case-sensitive string of 1 to 255 characters.

Usage guidelines

Configure a description for an interface for easy identification and management purposes.

You can use the display interface command to view the configured description.

Examples

# Set the description to for RouterID for interface loopback 1.

<Sysname> system-view
[Sysname] interface loopback 1
[Sysname-LoopBack1] description for RouterID