C
HAPTER
26
| Interface Commands
Interface Configuration
– 973 –
media-type This command forces the port type selected for combination ports. Use the
no form to restore the default mode.
SYNTAX
media-type mode
no media-type
mode
copper-forced - Always uses the built-in RJ-45 port.
sfp-forced - Always uses the SFP port (even if module not
installed).
sfp-preferred-auto - Uses SFP port if both combination types
are functioning and the SFP port has a valid link.
DEFAULT SETTING
RJ-45: copper-forced
Combination: sfp-preferred-auto
COMMAND MODE
Interface Configuration (Ethernet - Ports
25-28 / 49-52
)
COMMAND USAGE
Ports 1-24/48 are fixed at copper-forced mode.
EXAMPLE
This forces the switch to use the built-in RJ-45 port for the combination
port 28.
Console(config)#interface ethernet 1/28
Console(config-if)#media-type copper-forced
Console(config-if)#
negotiation This command enables auto-negotiation for a given interface. Use the no
form to disable auto-negotiation.
SYNTAX
[no] negotiation
DEFAULT SETTING
Enabled
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)