24
Default
The description of a loopback or null interface is
interface name
Interface, for example, Loopback0
interface.
Views
Loopback interface view, null interface view
Default command level
2: System level
Parameters
text
: Specifies an interface description, a case-sensitive string of 1 to 80 characters.
When you specify an interface description, follow these guidelines:
•
An interface description can be a mixture of English characters and other Unicode characters. The
mixed description cannot exceed the specified string length.
•
To use Unicode characters or symbols in an interface description, install the corresponding IME and
log in to the device through remote login software that supports the character type.
•
Each non-English Unicode character or symbol (non-English characters) 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. This might break a Unicode character
into two parts and create garbled characters at the end of a line.
Examples
# Set the description for interface loopback 0 to
loopback0
.
<Sysname> system-view
[Sysname] interface loopback 0
[Sysname-loopback0] description loopback0
Related commands
display interface
display interface loopback
Use
display interface loopback
to display information about a loopback interface.
Syntax
display interface
[
loopback
] [
brief
[
down
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
display interface
loopback
interface-number
[
brief
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
interface-number
: Specifies a loopback interface by its number, which can be the number of any existing
loopback interface. With this argument, this command displays information about a specified loopback
interface. The loopback interface number is always 0.