Ethernet Port Configuration Commands 51
Description
Use the description command to enter a description of an Ethernet port. Use
the
undo description command to cancel the description.
By default, an Ethernet port does not have a description.
Example
Set the description of port Ethernet1/0/1 to be lanswitch-interface.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface Gigabitethernet 1/0/1
[SW5500-GigabitEthernet1/0/1]description lanswitch-interface
display interface Syntax
display interface [
interface_type
|
interface_type interface_number
]
View
All views
Parameter
interface_type:
Enter the interface type. This can be either Aux, Ethernet,
GigabitEthernet , NULL, Vlan-interface.
interface_number
: Enter the interface number in the format
unit-number/0/port-number.
The unit number is a number in the range 1 to 8.
The port number is a number in the range 1 to 28 or 1 to 52 depending on the
number of ports you have on your unit.
You can use the
interface_name
at this command. This consists of the
interface_type
and the
interface_number
combined as a single parameter. For
example Ethernet1/0/1.
Description
Use the display interface command to view the configuration information on
the selected interface. Along with others, this interface could be a specific port's
interface (for example, Ethernet1/0/1) or a specific VLAN interface (for example,
vlan-interface 1).
Example
To display configuration information on Ethernet port 1/0/1, enter the following:
<SW5500>display interface Ethernet 1/0/1
The information displays in the following format:
Ethernet1/0/1 current state : UP