Media-Type - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

media-type

media-type
Use the media-type interface configuration command to enable or disable fiber-optic or copper
connections on a Long-Reach Ethernet (LRE) switch. You can also manually set the port to select a small
form-factor pluggable (SFP) module connector or an RJ-45 connector. Use the no form of this command
to return to the default setting.
This command is available only on Catalyst 2950 LRE switches.
Syntax Description
auto-select
rj45
sfp
Defaults
The default is SFP module preferred.
Command Modes
Interface configuration
Command History
Release
12.1(11)YJ
Usage Guidelines
If an LRE switch detects an SFP connector in the switch, whether or not a fiber-optic connector is
connected to that connector, it attempts to establish a link by using the SFP module as the media type.
This preference of a fiber-optic connection over a copper connection is called SFP-module preferred. To
physically connect both fiber-optic and copper connections and to override the SFP-module-preferred
setting, use the auto-select keyword, or manually configure the port by using the rj45 or sfp keyword.
Examples
This example shows how to force the connection to a copper RJ-45 connection:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# media-type rj45
You can verify your settings by using the show interfaces media or media interface-id privileged EXEC
command.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-210
media-type {auto-select | rj45 | sfp}
no media-type {auto-select | rj45 | sfp}
First media-type detected makes the link.
RJ-45 copper connection makes the link even when a link is already established with
fiber optic.
SFP fiber-optic connection makes the link even when a link is already established
with copper.
Modification
This command was introduced.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
OL-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents