41
By default, the description of a loopback or null interface is interface name Interface. For example:
Loopback1 interface.
Related commands: display interface.
Syntax
description text
undo description
View
Loopback interface view, null interface view
Default level
2: System level
Parameter
text: Creates an interface description, a string of 1 to 80 characters. Valid characters and symbols
include English letters (A to Z, a to z), digits (0 to 9), special English characters, spaces, and other
Unicode characters and symbols.
An interface description can be a mixture of English characters and other Unicode characters. The mixed
description cannot exceed the specified length.
To use a type of Unicode characters or symbols in an interface description, you must install the
corresponding Input Method Editor (IME) and log in to the device through supported remote login
software.
Each non-English Unicode character or symbol takes the space of two regular characters. When the
length of a description string reaches or exceeds the maximum line width on the terminal software, the
software starts a new line. If a line is broken, it may break a Unicode character into two parts and create
garbled characters.
Example
# Set the description for interface loopback 1 to loopback1.
<Sysname> system-view
[Sysname] interface loopback 1
[Sysname- loopback1] description loopback1
display interface loopback
Description
Use the display interface loopback command to display information about a loopback interface:
If you do not specify the loopback parameter, this command displays information about all
interfaces on the device.
If you specify the loopback parameter without the interface-number parameter, this command
displays information about all created loopback interfaces.
Related commands: interface loopback.
Syntax
display interface [ loopback ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]