Cisco Systems 3560 사용자 설명서

다운로드
페이지 1288
 
11-17
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 11      Configuring Interface Characteristics
Configuring Ethernet Interfaces
To return to the default setting, use the media-type auto interface or the no media-type interface 
configuration commands. 
e 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.
Configuring Interface Speed and Duplex Mode
Ethernet interfaces on the switch operate at 10, 100, or 1000 Mb/s and in either full- or half-duplex mode. 
In full-duplex mode, two stations can send and receive traffic at the same time. Normally, 10-Mb/s ports 
operate in half-duplex mode, which means that stations can either receive or send traffic. 
Switch models include combinations of Fast Ethernet (10/100-Mb/s) ports, Gigabit Ethernet 
(10/100/1000-Mb/s) ports, and small form-factor pluggable (SFP) module slots supporting SFP 
modules. 
Step 3
media-type {auto-select | rj45 | sfp}
Select the interface and type of a dual-purpose uplink port. 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.
  •
rj45—The switch disables the SFP module interface. If you 
connect an SFP module 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 the RJ-45 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. 
For information about setting the speed and duplex, see the 
.
Step 4
end
Return to privileged EXEC mode.
Step 5
show interfaces interface-id transceiver 
properties
Verify your setting. 
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose