Ethernet Port Configuration Commands 49
Description
Using display unit unit-id interface command, you can view all port
interfaces for the specified unit.
Example
Display the port information for all ports on Unit 1.
<4500>display unit 1 interface
Aux1/0/0 current state :DOWN
Line protocol current state :DOWN
Internet protocol processing : disabled
Description : Aux1/0/0 Interface
The Maximum Transmit Unit is 1500
Data drive mode: interactive
5 minutes input rate 0.0 bytes/sec, 0.0 packets/sec
5 minutes output rate 0.0 bytes/sec, 0.0 packets/sec
0 packets input, 1000 bytes
0 packets output, 27317 bytes
error: Parity 0, Frame 0, Overrun 0, FIFO 0
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP
Ethernet1/0/1 current state : DOWN
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is
00e0-fc00-3900
(Omitted)
duplex Syntax
duplex { auto | full | half }
undo duplex
View
Ethernet Port View
Parameters
auto: Enter to set the port to auto-negotiation.
full: Enter to set the port to full-duplex.
half: Enter to set the port to half-duplex.
Description
Use the duplex command to configure the duplex mode of an Ethernet port to
auto-negotiation, full duplex or half-duplex. Use the undo duplex command to
restore the duplex mode of a port to the default mode (auto-negotiation).
Related command: speed.
Example
To configure the Ethernet port “Ethernet1/0/1” to auto-negotiation, enter the
following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface ethernet 1/0/1