< Home

duplex

Function

The duplex command sets the operating mode of an Ethernet interface as duplex.

The undo duplex command restores the default setting.

Format

duplex { full | half | auto }

undo duplex

Parameters

Parameter Description Value

full

Sets the operating mode of an Ethernet interface as full-duplex.

-

half

Sets the operating mode of an Ethernet interface as half-duplex.

-

Views

Ethernet interface, Layer-2 Ethernet interface view, Management interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the Ethernet electrical interface works in full-duplex mode.

Run the undo negotiation auto command before you adjust the duplex mode of an interface.

The operating mode of the Ethernet interface on the local end and that on the remote end must be consistent.

Only MEth, GE, and WAN interfaces support this command. For the GE interface, this command cannot be be configured after it is equipped with a copper module.

Example

# Configure fast GigabitEthernet 0/0/1 to operate in half-duplex mode.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1]undo negotiation auto
[sysname-GigabitEthernet0/0/1]duplex half
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >