Cisco Systems DOC-7814982 Stereo System User Manual


 
9-14
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 9 Configuring the Switch Interfaces
Configuring Switch Interfaces
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
<output truncated>
!
interface FastEthernet0/3
switchport mode trunk
no ip address
duplex half
speed 10
!
<output truncated>
Configuring Media Types for Gigabit Interfaces
You can use the media-type interface configuration command to configure the media-type for Gigabit
iinterfaces. The media-type interface configuration command allows you to enable or disable fiber-optic
or copper connections on a Long-Reach Ethernet (LRE) switch. It also allows you to manually set the
port to select an SFP connector or an RJ45 connector. Use the no form of this command to return to the
default setting of SFP-preferred. To configure media types, use the command:
media-type {auto-select | sfp | rj45}
See the Catalyst 2950 Desktop Switch Command Reference for further details.
Configuring IEEE 802.3X Flow Control on Gigabit Ethernet Ports
Flow control is supported only on switch and module ports operating at 1000 Mbps. Flow control enables
connected Gigabit 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. When the local device detects
any congestion at its end, it can notify the link partner or the remote device of the congestion by sending
a pause frame. Upon receipt of a pause frame, the remote device stops sending any data packets, which
prevents any loss of data packets during the congestion period.
Note We strongly recommend that you do not configure IEEE 802.3X flowcontrol when quality of service
(QoS) is configured on the switch. Before configuring flowcontrol on an interface, make sure to return to
the default QoS settings listed in the Default QoS Configuration section on page 26-9.
Flow control can be implemented in two forms, symmetric and asymmetric. The symmetric
implementation is suitable for point-to-point links, and asymmetric is suitable for hub-to-end node
connections, where it is desirable for the hub to pause the end system, but not vice-versa. You use the
flowcontrol interface configuration command to set the interfaces ability to receive and send pause
frames to on, off, or desired. The default state for Gigabit Ethernet ports is receive off and send desired.
The default state for Fast Ethernet ports is receive off and send off.