H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Port Basic Configuration
H3C S7500 Series Ethernet Switches Chapter 1
Port Basic Configuration Commands
1-4
Parameters
text: Port description, a string of up to 80 characters.
Description
Use the description command to set a port description string.
Use the undo description command to remove the port description string.
By default, no description is defined for a port.
Examples
# Set description string lanswitch-interface for Ethernet 2/0/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface GigabitEthernet2/0/1
[H3C-GigabitEthernet2/0/1] description lanswitch-interface
1.1.4 display brief interface
Syntax
display brief interface [ interface-type interface-number ] [ | { begin | include |
exclude } regular-expression ]
View
Any view
Parameters
interface-type: Port type.
interface-number: Port number.
|: Specifies to use a regular expression to describe the configuration information entries
to be displayed.
begin: Specifies to display entries that begin with a specified character or string.
include: Specifies to display entries that include a specified character or string.
exclude: Specifies to display entries that exclude a specified character or string.
regular-expression: Regular expression, a string of 1 to 256 characters.
Description
Use the display brief interface command to display the brief configuration information
about one or all interfaces, including: interface type, link state, link rate, duplex mode,
link type, default VLAN ID and port description string (only the first 33 characters are
displayed).