HP VPN Firewall Appliances Network Management Command Reference

3
Syntax
description text
undo description
Default
The default description of an interface is the interface name plus Interface. For example,
GigabitEthernet0/1 Interface.
Views
Ethernet interface view, Ethernet subinterface view
Default command level
2: System level
Parameters
text: Specifies the interface description, a string of 1 to 80 characters. The string can include
case-sensitive letters, digits, special characters such as tilde (~), exclamation point (!), at sign (@), pound
sign (#), dollar sign ($), percent sign (%), caret (^), ampersand sign (&), asterisk (*), left brace({), right
brace (}), left parenthesis ((), right parenthesis ()), left bracket ([), right bracket (]), left angle bracket (<),
right angle bracket (>), hyphen (-), underscore(_), plus sign (+), equal sign (=), vertical bar (|), back
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 GigabitEthernet 0/1 to lanswitch-interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] description lanswitch-interface
# Change the description of Ethernet subinterface GigabitEthernet 0/1.1 to l2-subinterface0/1.1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1.1
[Sysname-GigabitEthernet0/1.1] description l2-subinterface0/1.1
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 ]