CLI Reference Guide

85
media-type
Description
The me dia -type command is used to configure the media type of Combo port.
For a Combo port, the media type should be configured before you set its speed
and mode.
Syntax
me dia-type { rj45 | sfp }
Parameter
rj45 | sfp —— Media type.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Configure the media type of Combo port 27T as “SFP”:
T1500-28PCT(config)# interface gigabitEthernet 1/0/27
T1500-28PCT (config-if)# media-type sfp
duplex
Description
The duplex command is used to configure the Duplex Mode for an Ethernet
port. To return to the default configuration, please use no duplex command.
Syntax
duplex { full | half }
no duplex
Parameter
full | half —— The duplex mode of the Ethernet port. There are two options:
full-duplex mode (default) and half-duplex mode.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)