Configuring Ethernet Interfaces
Command
Step 3
media-type {auto-select | rj45 | sfp |
internal}
Step 4
end
Step 5
show interfaces interface-id transceiver
properties
Step 6
copy running-config startup-config
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.
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
9-14
Purpose
Select the interface and type of a dual-purpose uplink port. These
keyword meanings apply on Gigabit Ethernet interfaces 0/17 to 0/20
and 0/23 to 0/24; they do not apply on Gigabit Ethernet interfaces 0/1
to 0/16 or 0/21 to 0/22. 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.
Gigabit Ethernet interfaces gi0/23 and gi0/24 do not support
Note
the media-type command auto-select module option.
•
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 module
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.
Note
Gigabit Ethernet interfaces gi0/23 and gi0/24 do not support
the media-type command sfp module option.
internal—This option enables the switch to establish a
•
cross-connection to a switch in an adjoining bay only for Gigabit
Ethernet interfaces gi0/23 and gi0/24.
For information about setting the speed and duplex, see the
and Duplex Configuration Guidelines" section on page
Return to privileged EXEC mode.
Verify your setting.
(Optional) Save your entries in the configuration file.
Chapter 9
Configuring Interface Characteristics
"Speed
9-15.
OL-8915-03