duplex

Sets the duplex mode of an Ethernet interface.

Syntax

[no] duplex auto|half|full

Syntax Description

Keyword
Description

no

(Optional) Returns the interface duplex to its default value.

auto

The interface duplex mode is set via auto-negotiation.

half

The interface is placed into half-duplex mode.

full

The interface is placed into full-duplex mode.

Defaults

Interface duplex is set via auto-negotiation by default.

Usage Guidelines

This command can be used to force the duplex setting on an interface if autonegotiation is unavailable or undesirable.

If duplex is explicitly configured for an interface, the interface speed should also be explicitly configured. In other words, auto-negotiation should be enabled or disabled identically for both speed and duplex.

This command is valid only in interface context.

Examples

duplex full
interfacespeed

Last updated