10-14
Catalyst 3560 Switch Software Configuration Guide
78-16156-01
Chapter 10 Configuring Interface Characteristics
Configuring Ethernet Interfaces
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 a
10/100 Mbps port:
Switch# configure terminal
Switch(config)# interface fasttethernet0/3
Switch(config-if)# speed 10
Switch(config-if)# duplex half
Configuring IEEE 802.3X Flow Control
Flow control enables connected Ethernet ports to control traffic rates during congestion by allowing
congested nodes to pause link operation at the other end. If one port experiences congestion and cannot
receive any more traffic, it notifies the other port to stop sending until the condition clears by sending a
pause frame. Upon receipt of a pause frame, the sending device stops sending any data packets, which
prevents any loss of data packets during the congestion period.
Note
Catalyst 3560 ports are capable of receiving, but not sending, pause frames.
You use the flowcontrol interface configuration command to set the interface’s ability to receive pause
frames to on, off, or desired. The default state is off.
Step 3
speed {10 | 100 | 1000 | auto | nonegotiate} Enter the appropriate speed parameter for the interface:
•
Enter 10 or 100 to set a specific speed for the interface. The 1000
keyword is available only for SFP module ports with a
1000BASE-T SFP module.
•
Enter auto to enable the interface to autonegotiate speed with the
device connected to the interface.
•
The nonegotiate keyword is available only for SFP module ports.
SFP module ports operate only at 1000 Mbps but can be
configured to not negotiate if connected to a device that does not
support autonegotiation.
Note
When a 1000BASE-T SFP module is in the SFP module port,
the speed can be configured to 10, 100, 1000, or auto, but not
nonegotiate.
Step 4
duplex {auto | full | half}
Enter the duplex parameter for the interface.
This command is not available on SFP module ports unless a
1000BASE-T SFP module is inserted, when the mode can then be
configured to auto or full.
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.
Command
Purpose