3
Parameters
text
: Specifies the interface description, a case-sensitive string of 1 to 80 characters.
When you specify a description, follow these guidelines:
•
Each Unicode character takes the space of two regular characters.
•
To use Unicode characters or symbols in an interface description, install a specific IME and log in
to the device through remote login software that supports the character type.
•
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 possibly breaks a Unicode character in half and might
result in garbled characters at the end of a line.
Examples
# Change the description of interface Ten-GigabitEthernet 1/0/1 to
lanswitch-interface
.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] description lanswitch-interface
Related commands
display interface
display interface
Use
display interface
to display Ethernet interface information.
Syntax
display interface
[
interface-type
] [
brief
[
down
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
display interface
interface-type
[
interface-number
]
[
brief
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
interface-type
: Specifies an interface type.
interface-number
: Specifies an interface number.
brief
: Displays brief interface information. If you do not specify this keyword, the 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.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.