10-12
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter10 Configuring Interface Characteristics
Configuring Ethernet Interfaces
To return to the default setting, use the no media-type interface configuration command.
When you change the interface type, the speed and duplex configurations are removed. The switch
configures both types to autonegotiate speed and duplex (the default). If you configure auto-select, you
cannot configure the speed and duplex interface configuration commands.
When the switch powers on or when you enable a dual-purpose uplink port through the shutdown and
the no shutdown interface configuration commands, the switch gives preference to the SFP module
interface. In all other situations, the switch selects the active link based on which type first links up.
The Catalyst 2960 switch operates with 100BASE-x (where -x is -BX, -FX-FE, -LX) SFP modules as
follows:
When the 100BASE -x SFP module is inserted into the module slot and there is no link on the RJ-45
side, the switch disables the RJ-45 interface and selects the SFP module interface. This is the
behavior even if there is no cable connected and if there is no link on the SFP side.
When the 100BASE-x SFP module is inserted and there is a link on the RJ-45 side, the switch
continues with that link. If the link goes down, the switch disables the RJ-45 side and selects the
SFP module interface.
When the 100BASE-x SFP module is removed, the switch again dynamically selects the type
(auto-select) and re-enables the RJ-45 side.
Step3 media-type {auto-select | rj45 | sfp} Select the interface and type of a dual-purpose uplink port. The
keywords have these meanings:
auto-select—The switch dynamically selects the type. When link
up is achieved, the switch disables the other type until the active
link goes down. When the active link goes down, the switch
enables both types until one of them links up. In auto-select
mode, the switch configures both types with autonegotiation of
speed and duplex (the default). Depending on the type of installed
SFP module, the switch might not be able to dynamically select
it. For more information, see the information that follows this
procedure.
rj45—The switch disables the SFP module interface. If you
connect a cable to this port, it cannot attain a link even if the
RJ-45 side is down or is not connected. In this mode, the
dual-purpose port behaves like a 10/100/1000BASE-TX
interface. You can configure the speed and duplex settings
consistent with this interface type.
sfp—The switch disables the RJ-45 interface. If you connect a
cable to this port, it cannot attain a link even if the SFP side is
down or if the SFP module is not present. Based on the type of
installed SFP module, you can configure the speed and duplex
settings consistent with this interface type.
For information about setting the speed and duplex, see the “Speed
and Duplex Configuration Guidelines” section on page10-11.
Step4 end Return to privileged EXEC mode.
Step5 show interfaces interface-id transceiver
properties
Verify your setting.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose