2-58
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
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
.
Caution
Changing the interface speed and duplex mode configuration might shut down and re-enable the
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
Description
show interfaces
Displays the interface settings on the switch.
speed
Sets the speed on a 10/100 or 10/100/1000 Mb/s interface.