Command Reference Interface Commands
Description
fiber
Optical interface.
prefer[fiber| copper]
The preferred medium type for the interface is selected.
auto-select
Auto-select the medium type for the interface.
copper
Copper interface.
Defaults
Copper interface.
Command
Mode
Interface configuration (physical interface, except for AP and SVI)
Usage Guide
If a port can be selected as an optical port or electrical port, you can only select one of them. Once
the media type is selected, the attributes of the port, for example, status, duplex, flow control, and
rate, all mean those of the currently selected media type. After the port type is changed, the attributes
of the new port type take the default values, which can be modified as needed.
Configuration
Examples
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)# medium-type copeer
Related
Commands
Command Description
show interfaces
Show the interface information.
Platform
Description
The 12 SFP interfaces of the 24SFP/12GT line cards and 1210/100/1000M BASE-T interfaces allow
for dynamic switching.
The combo interface is not supported to automatically determine whether the current port is the SFP
interface or the 10/100/1000M BASE-T interface.
mtu
Use this command to set the MTU supported on the interface.
mtu num
Parameter
Description
Parameter Description
num
64 to 9216 (or 65536, which varies by products)
Defaults
By default, the num is 1500.
Command
Mode
Interface configuration mode.
Usage Guide
Set the maximum transmission unit (MTU) supported on the interface.