6-18
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 6 Configuring Interfaces
Configuring Optional Interface Features
If the interface speed is set to 10 or 100, the duplex mode is set to half duplex by default unless you
explicitly configure it.
Caution Changing the interface speed and duplex mode configuration might shut down and restart the interface
during the reconfiguration.
Setting the Interface Speed
If you set the interface speed to auto on a 10/100-Mbps Ethernet interface, speed and duplex are
autonegotiated. The forced 10/100 autonegotiation feature allows you to limit interface speed auto
negotiation up to 100 Mbps on a 10/100/1000BASE-T port.
To set the port speed for a 10/100-Mbps Ethernet interface, perform this task:
This example shows how to set the interface speed to 100 Mbps on the Fast Ethernet interface 5/4:
Switch(config)# interface fastethernet 5/4
Switch(config-if)# speed 100
This example shows how to allow Fast Ethernet interface 5/4 to autonegotiate the speed and duplex
mode:
Switch(config)# interface fastethernet 5/4
Switch(config-if)# speed auto
Note The preceeding cli is alogous to speed auto 10 100.
This example shows how to limit the interface speed to 10 and 100 Mbps on the Gigabit Ethernet
interface 1/1 in auto-negotiation mode:
Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# speed auto 10 100
This example shows how to limit speed negotiation to 100 Mbps on the Gigabit Ethernet interface 1/1:
Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# speed auto 100
Note Turning off autonegotiation on a Gigabit Ethernet interface results in the port being forced into
1000 Mbps and full-duplex mode.
To turn off the port speed autonegotiation for Gigabit Ethernet interface 1/1, perform this task:
Command Purpose
Step 1 Switch(config)# interface fastethernet slot/interface Specifies the interface to be configured.
Step 2 Switch(config-if)# speed [10 | 100 | auto [10 | 100]] Sets the interface speed of the interface.
Command Purpose
Step 1 Switch(config)# interface gigabitethernet1/1 Specifies the interface to be configured.
Step 2 Switch(config-if)# speed nonegotiate Disables autonegotiation on the interface.