CLI Reference Guide

media-type
Note: This command does not apply to TL-SG3210.
Description
The me d ia -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 gigabitEthernet / interface range
gigabitEthernet)
Example
Configure the media type of Combo port 24T as “SFP”:
TL-SG3424(config)# interface gigabitEthernet 1/0/24
TL-SG3424(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.
135