Configuring the Working Mode of a Combo Interface
Context
If a combo interface is forcibly configured to work in a different mode from the remote interface, the two interfaces cannot communicate.
A combo interface cannot be changed from Layer 3 mode to Layer 2 mode.
Combo interfaces are logical interfaces. One combo interface can work as a GE electrical interface or a GE optical interface. Each combo interface has only one internal forwarding interface. When the electrical interface is enabled, the optical interface is disabled. When the optical interface is enabled, the electrical interface is disabled. Set the working mode of combo interfaces according to network requirements. The electrical and optical interfaces of a combo interface use the same interface view. You can enable the electrical or optical interface, and configure interface attributes such as the rate and duplex mode in the same interface view.
Procedure
- Run system-view
The system view is displayed.
- Run interface gigabitethernet interface-number
The Gigabit Ethernet interface view is displayed.
- Run interface ethernet interface-number
The Gigabit Ethernet interface view is displayed.
- Run combo-port { auto | copper | fiber }
The working mode of the combo interface is configured.
By default, a combo interface works in auto mode and automatically works as an optical or electrical interface.