The duplex command configures a duplex mode for an Ethernet interface.
The undo duplex command restores the default duplex mode of an Ethernet interface.
The default duplex mode of an Ethernet interface is auto-negotiation mode.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
half |
Indicates the half duplex mode. When connecting to hubs, electrical Ethernet interfaces on devices must work in half duplex mode because hubs work only in half duplex mode. |
- |
auto |
Indicates the auto-negotiation mode. In auto-negotiation mode, the local device automatically adjusts the interface rate and duplex mode based on the interface rate and duplex mode of the peer so that both ends can work in the same duplex mode at the highest possible speed. It is recommended that Ethernet interfaces work in auto-negotiation mode provided that the interfaces support this mode. Auto-negotiation is disabled only when two ends of a link work at mismatched rates or duplex modes. In this case, you need to manually set the interface rate and duplex mode. |
- |
full |
Indicates the full duplex mode. When connecting to LAN switches, electrical Ethernet interfaces on devices can work in either full duplex or half duplex mode. |
- |
Usage Scenario
On a large-scale Ethernet network, manually setting the interface rate and duplex mode, verifying the configurations of devices, and checking statistics about Ethernet interfaces require a great deal of time and human input. Therefore, it is recommended that manually setting the interface rate and duplex mode be adopted only when auto-negotiation of an Ethernet link fails or a problem occurs with auto-negotiation. When there is an auto-negotiation problem, you are recommended to upgrade software or hardware of the device to support the auto-negotiation standard defined in IEEE802.3u/z.
If both ends support auto-negotiation, the duplex mode with a lower priority is adopted. Interconnected devices working in auto-negotiation mode is the prerequisite to the auto-negotiation mechanism. If one end works in auto-negotiation mode while the other end works in fixed mode, the auto-negotiation mechanism does not take effect. The auto-negotiation priorities of Ethernet interface rates and duplex modes are listed as follows in descending order:Prerequisites
The duplex command is applicable only to electrical interfaces. By default, optical interfaces work in full-duplex mode.
Configuration Impact
Changing the rate or the duplex mode of an interface interrupts network communication for a short period.
Duplex modes of the Ethernet interfaces at the two ends of a link must be the samePrecautions
For details about the working modes supported by Ethernet interfaces on each board, see the Hardware Description.