CLI Reference Guide-R05

Table Of Contents
Chapter 11
| Interface Commands
Interface Configuration
– 376 –
Example
This example sets a interval of 15 minutes for sampling standard statisical values on
port 1.
Console(config)#interface ethernet 1/1
Console(config-if)#history 15min 15 10
Console(config-if)#
media-type This command forces the port type selected for combination ports. Use the no
form to restore the default mode.
Syntax
media-type {copper-forced | sfp-forced [mode] | sfp-preferred-auto}
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.
mode
1000sfp - Always uses 1000BASE SFP mode.
100fx - Always uses 100BASE-FX mode.
Default Setting
sfp-preferred-auto
Command Mode
Interface Configuration (Ethernet)
Example
This forces the switch to use the built-in RJ-45 port for the combination port 10.
Console(config)#interface ethernet 1/10
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