Use this command to change
between fiber and copper mode on the combo port.
Combo Port: A port or an interface that can operate in either copper or in fiber mode.
Copper and Fiber port: A port that uses copper a medium for communication (for example, RJ45 ports). A fiber port uses the fiber optics as a medium for communication (for example, example SFP ports).
Default
Auto-select, SFP preferred
Format
media-type {auto-select | rj45 | sfp }
Mode
Interface Config
The following modes are supported by the media-type command.
Auto-select, SFP preferred: The medium is selected automatically based on the physical medium presence. However, when both the fiber and copper links are connected, the fiber link takes precedence and the fiber link is up.
Auto-select, RJ45 preferred: The medium is selected automatically based on the physical medium presence. However, when both the fiber and copper links are connected, the copper link takes precedence and the copper link is up.
SFP: Only the fiber medium works. The copper medium is always down.
RJ45: Only the copper medium works. The fiber medium is always down.