23
NOTE:
•
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 remote login software that
supports this 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 may break a Unicode character into two parts and
create garbled characters at the end of a line.
Description
Use
description
to set a description for the current interface.
Use
undo description
to restore the default.
By default, the description of a loopback or null interface is
interface name
Interface, for example,
Loopback0 interface.
Related commands:
display interface
.
Examples
# Set the description for interface loopback 0 to loopback0.
<Sysname> system-view
[Sysname] interface loopback 0
[Sysname- loopback0] description loopback0
display interface loopback
Syntax
display interface
[
loopback
] [
brief
[
down
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
display interface
loopback
interface-number
[
brief
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
interface-number
: Loopback interface number, which is 0.
brief
: Displays brief interface information. If you do not specify this keyword, this command displays
detailed interface information.
down
: Displays information about interfaces in the DOWN state and the causes. If you do not specify
this keyword, this command displays information about interfaces in all states.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.