Configuring the Working Mode of a Combo Interface
Context
A combo interface consists of a GE electrical interface and a GE optical interface on the panel. The multiplexed electrical and optical interfaces share one internal forwarding interface and cannot work at the same time. When one interface works, the other interface is disabled. You can use the electrical or optical interface based on the remote interface type. The electrical and optical interfaces share one interface view. When you enable the electrical or optical interface, configure the interface attributes (such as the rate and duplex mode) in the same interface view.
For details about the combo interface location on the panel, see "Cards" in the Hardware Description.
The working mode of a combo interface can be configured only on ES0D0G24CA00, ES1D2S04SX1E and ES1D2S08SX1E cards.
Procedure
- Run system-view
The system view is displayed.
- Run interface gigabitethernet interface-number
The GE 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, in which the combo interface automatically works as an optical or electrical interface.
- When the auto mode is specified, the system checks whether the combo optical interface has an optical module installed, and selects the interface working mode as follows:
- When the electrical interface is not connected, the combo interface works as an optical interface if the combo optical interface has an optical module installed.
- When the electrical interface is connected using a network cable and the combo interface is Up, the combo interface works as an electrical interface even if the combo optical interface has an optical module installed. However, the combo interface works as an optical interface after the device restarts.
- When the electrical interface is connected using a network cable and the combo interface is Down, the combo interface works as an optical interface if the combo optical interface has an optical module installed.
In summary, when the auto mode is specified and the combo optical interface has an optical module installed, the combo interface works as an optical interface after the device restarts.
You can forcibly specify the working mode of the combo interface based on the remote interface type. If the local combo electrical interface is connected to a remote electrical interface, configure the combo interface to work in copper mode. If the local combo optical interface is connected to a remote optical interface, configure the combo interface to work in fiber mode.