9-13
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 9 Configuring the Switch Interfaces
Configuring Switch Interfaces
Setting the Interface Speed and Duplex Parameters
Note The Ethernet link settings on the CPE Ethernet ports have special considerations and different default
settings from the 10/100 ports. For this information, see the “Ports on the 2950 LRE” section on
page 10-1.
Beginning in privileged EXEC mode, follow these steps to set the speed and duplex mode for a physical
interface:
Use the no speed and no duplex interface configuration commands to return the interface to the default
speed and duplex settings (autonegotiate). To return all interface settings to the defaults, use the default
interface interface-id interface configuration command.
This example shows how to set the interface speed to 10 Mbps and the duplex mode to half on
FastEthernet interface 0/3 and to verify the configuration:
Switch# configure terminal
Switch(config)# interface fastethernet0/3
Switch(config-if)# speed 10
Switch(config-if)# duplex half
Switch(config)# end
Switch# show running-config
Building configuration...
Current configuration : 1954 bytes
!
version 12.1
no service pad
service timestamps debug uptime
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Enter interface configuration mode and the physical interface
identification.
Step 3
speed {10 | 100 | 1000 | auto| nonegotiate} Enter the appropriate speed parameter for the interface, or enter auto
or nonegotiate.
Note The 1000 keyword is available only for 10/100/1000-Mbps
ports. 100BASE-FX ports operate only at 100 Mbps.
1000BASE-SX ports and GBIC module ports operate only at
1000 Mbps. The nonegotiate keyword is available only for
1000BASE-SX, -LX, and -ZX GBIC-module ports.
Step 4
duplex {auto | full | half} Enter the duplex parameter for the interface.
Note The 100BASE-FX, 1000BASE-SX, and the 10/100/1000
ports operate only in full-duplex mode for non-LRE switches.
The 10/100/1000 ports can run at either full- or half- duplex
for 10/100 Mbps but only operate in full-duplex for 1000
Mbps for LRE switches.
Step 5
end Return to privileged EXEC mode.
Step 6
show interfaces interface-id Display the interface speed and duplex mode configuration.
Step 7
copy running-config startup-config (Optional) Save your entries in the configuration file.