11-20
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 11 Configuring Interface Characteristics
Configuring Ethernet Interfaces
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 by sending a pause frame to stop sending until the
condition clears. 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 can receive, but not send, 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.
When set to desired, an interface can operate with an attached device that is required to send
flow-control packets or with an attached device that is not required to but can send flow-control packets.
These rules apply to flow control settings on the device:
receive on (or desired): The port cannot send pause frames but can operate with an attached device
that is required to or can send pause frames; the port can receive pause frames.
receive off: Flow control does not operate in either direction. In case of congestion, no indication
is given to the link partner, and no pause frames are sent or received by either device.
Note For details on the command settings and the resulting flow control resolution on local and remote ports,
see the flowcontrol interface configuration command in the command reference for this release.
Beginning i n privileged EXE C mode, follow th ese steps to configure flow control on an interface:
To disable flow control, use the flowcontrol receive off interface configuration command.
This example shows how to turn on flow control on a port:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# flowcontrol receive on
Switch(config-if)# end
Command Purpose
Step 1 configure terminal Enter global co nfiguration mode.
Step 2 interface interface-id Specify the physical interface to be configured, and enter
interface configuration mode.
Step 3 flowcontrol {receive} {on | off | desired}Configure the flow control mode for the port.
Step 4 end Return to privileged EXEC mode.
Step 5 show interfaces interface-id Verify the interface flow control settings.
Step 6 copy running-config startup-config (Optional) Save your entries in the configuration file.