![HP 3100 v2 Series Скачать руководство пользователя страница 47](http://html.mh-extra.com/html/hp/3100-v2-series/3100-v2-series_command-reference-manual_165751047.webp)
40
Parameters
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.
Description
Use
description
to set a description for the 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.
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.
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
|
description
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
display interface
loopback
0
[
brief
[
description
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
0
: Loopback interface number, which is fixed at 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 down state and the causes. If you do not specify this
keyword, this command displays information about interfaces in all states.
description
: Displays complete interface descriptions. If you do not specify this keyword, the
command displays only the first 27 characters of interface descriptions.