duplex
If both ends of the line support autonegotiation, we highly recommend using the default autonegotiation
settings. If one interface supports autonegotiation and the other end does not, configure duplex and speed
on both interfaces; do use the auto setting on the supported side.
If the speed is set to auto, the switch negotiates with the device at the other end of the link for the speed
setting and then forces the speed setting to the negotiated value. The duplex setting remains as
configured on each end of the link, which could result in a duplex setting mismatch.
You can configure the duplex setting when the speed is set to auto.
Changing the interface speed and duplex mode configuration might shut down and re-enable the
Caution
interface during the reconfiguration.
For guidelines on setting the switch speed and duplex parameters, see the "Configuring Interface
Characteristics" chapter in the software configuration guide for this release.
Examples
This example shows how to configure an interface for full-duplex operation:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# duplex full
You can verify your setting by entering the show interfaces privileged EXEC command.
Related Commands
Command
show interfaces
speed
Catalyst 2960 Switch Command Reference
2-78
Description
Displays the interface settings on the switch.
Sets the speed on a 10/100 or 10/100/1000 Mbps interface.
Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
78-16882-01