slash (\), colon (:), semi-colon (;) quotation marks ("), apostrophe ('), comma (,), dot (.), and slash (/),
spaces, and other Unicode characters and symbols.
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 the specific input method
•
editor 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, possibly breaking a Unicode character in half. This might
result in garbled characters at the end of a line.
Examples
# Change the description of interface Ethernet 1/1 to lanswitch-interface.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] description lanswitch-interface
# Change the description of Ethernet subinterface Ethernet 1/1.1 to l2-subinterface1/1.1.
<Sysname> system-view
[Sysname] interface ethernet 1/1.1
[Sysname-Ethernet1/1.1] description l2-subinterface1/1.1
Related commands
display interface
display interface
Use display interface to display Ethernet interface information.
Syntax
display interface [ interface-type ] [ brief [ down | description ] ] [ | { begin | exclude | include }
regular-expression ]
display interface interface-type { interface-number | interface-number.subnumber } [ brief [ description ] ]
[ | { 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.
interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface
number, and subnumber is the number of a subinterface created under the interface. The value range for
the subnumber argument is 1 to 4094.
brief: Displays brief interface information. If you do not specify this keyword, the command displays
detailed interface information.
4