duplex
Use duplex to set the duplex mode for an Ethernet interface.
Use undo duplex to restore the default duplex mode of the Ethernet interface.
Syntax
duplex { auto | full | half }
undo duplex
Default
Ethernet interfaces autonegotiate the duplex mode.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
auto: Configures the interface to autonegotiate the duplex mode with the peer.
full: Configures the interface to operate in full duplex mode, so that the interface can receive and transmit packets at the same time.
half: Configures the interface to operate in half duplex mode, so that the interface can only receive or transmit packets at a given time. Copper ports operating at 1000 Mbps or 10 Gbps and fiber ports do not support this keyword.
Examples
# Configure Ten-GigabitEthernet 1/0/1 to operate in full duplex mode.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] duplex full