Command Reference Interface Commands
1.16 medium-type
Use this command to specify the medium type for an interface. Use the
no
form of this command to
restore the default setting.
medium-type
{
auto-select
[
prefer
[
fiber | copper
] ]
|
fiber
|
copper
}
no medium-type
Parameter
Description
Parameter
Description
fiber
Optical interface.
prefer
[
fiber
|
copper
]
The preferred medium type for the interface is selected.
auto-select
Auto-selects the medium type for the interface.
copper
Copper interface.
Defaults
The default is
copper
.
Command
Mode
Interface configuration (physical interface, except for AP and SVI)
Usage Guide
Select either fiber or copper as the medium type of a port when both medium types are available.
Once the medium type is selected, all interface attributes, including the status, duplex mode, and
speed, are configured for the interface of the selected medium type. If the interface type is changed,
the attributes of the new interface type are the default attributes. You can reconfigure these attributes
as required.
If you enable automatic selection of the medium type, the device uses the current medium if only one
medium is available. If both media are available, the device uses the preferred medium as configured.
By default, the preferred medium is copper. You can run the
medium-type auto-select prefer fiber
command to configure fiber as the preferred media. In automatic medium selection mode, the
interface adopts the default settings of attributes, such as the speed, duplex mode, and flow control
mode.
Configuration
Examples
The following example specifies the medium type for interface gigabitethernet 1/1.
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)# medium-type copeer
Related
Commands
Command
Description
show interfaces
Displays the interface information.
Platform
Description
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...