duplex

Syntax

duplex { auto | full | half }

undo duplex

View

Ethernet interface view

Default level

2: System level

Parameters

auto: Sets the interface to operate in auto-negotiation mode.

full: Sets the interface to operate in full duplex mode.

half: Sets the interface to operate in half-duplex mode. This keyword is not available for Ethernet copper ports that are configured with a 1000-Mbps port speed and fiber ports.

Description

Use duplex to set the duplex mode for an Ethernet interface.

Use undo duplex to restore the default duplex mode of the Ethernet interface.

By default, Ethernet interfaces operate in auto-negotiation mode.

Related commands: speed.

Examples

# Configure the interface Ethernet 1/0/1 to operate in full-duplex mode.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] duplex full