3.1.3. duplex

Syntax

duplex (auto | full | half)

Parameter


auto Specify port duplex to auto negotiation.

full Specify port duplex to force full duplex.

half Specify port duplex to force half duplex.


Default

Default port duplex is auto.

Mode

Interface Configuration

Usage

Use “duplex” command to change port duplex configuration.

Example

This example shows how to modify port duplex configuration.

Switch(config)# interface fa1
Switch(config-if)# duplex full
Switch(config-if)# exit
Switch(config)# interface fa2
Switch(config-if)# duplex half

This example shows how to show current speed configuration.

Switch# show running-config interfaces fa1-2
interface fa1
duplex full
interface fa2
duplex half

This example shows how to show current interface link speed.

Switch# show interfaces fa1-2 status
Port Name Status Vlan Duplex Speed Type
fa1 connected 1 full a-100M Copper
fa2 connected 1 half a-100M Copper