76
media-type
Description
The
media-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. This command does not apply to TL-SL2210/TL-SL2452 since
TL-SL2210/TL-SL2452 has no Combo port.
Syntax
media-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
”
:
TL-SL2428(config)#
interface gigabitEthernet
1/0/27
TL-SL2428 (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)
Example
Configure the Duplex Mode as full-duplex for port 3: