Specifications

2-248
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
media-type
media-type
Use the media-type interface configuration command to manually select the interface and type of a
dual-purpose port or to enable the switch to dynamically select the type that first links up. Use the no
form of this command to return to the default setting.
media-type {auto-select | rj45 | sfp}
no media-type
Note This command is visible only on the Cisco ME- 3400G-12CS and ME-3400G-2CS switches.
Syntax Description
Defaults The default is that the switch dynamically selects the link (auto-select)
Command Modes Interface configuration
Command History
Usage Guidelines You cannot use the RJ-45 interface and the SFP interface of the dual-purpose ports simultaneously to
provide redundant links.
When you select auto-select, the switch dynamically selects the type that first links up. This is the
default mode. The switch disables the other media type until the active link goes down. When the active
link goes down, the switch enables both types until one of them links up. If there are active links on both
media, the SFP link has priority. In auto-select mode, the switch configures both types with
autonegotiation of speed and duplex (the default).
When you select rj45, the switch disables the SFP module interface. If you connect a cable to the SFP
port, it cannot attain a linkup 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.
When you select sfp, the switch disables the RJ-45 interface. If you connect a cable to this port, it cannot
attain a linkup 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.
auto-select Enable the switch to dynamically select the type based on the first to link up.
rj45 Select the RJ-45 interface.
sfp Select the small form-factor pluggable (SFP) module interface.
Release Modification
12.2(25)SEG1 This command was introduced.