< Home

combo-port

Function

The combo-port command configures the working mode of a combo interface.

The undo combo-port command restores the default setting.

By default, a combo interface works in auto mode. That is, the combo interface automatically switches between the electrical mode and optical mode.

Format

combo-port { auto | copper | fiber }

undo combo-port

Only the S2720-12TP-EI, S2720-12TP-PWR-EI, S2720-28TP-EI, S2720-28TP-PWR-EI, S2720-28TP-PWR-EI-L, S5720-12TP-LI-AC, S5720-12TP-PWR-LI-AC, S5720-28TP-LI-AC, S5720-28TP-PWR-LI-AC, S5720-28TP-PWR-LI-ACL, S5720S-12TP-LI-AC, S5720S-12TP-PWR-LI-AC, S5720S-28TP-PWR-LI-ACL, S5720S-28X-LI-24S-AC, S5720-28P-SI-AC, S5720-28X-SI-AC, S5720-28X-SI-DC, S5720-28X-PWR-SI-AC, S5720-28X-PWR-SI-DC, S5720-28X-SI-24S-AC, S5720-28X-SI-24S-DC, S5721-28X-SI-24S-AC, S5720-52X-SI-48S, S5720-36C-EI-AC, S5720-36C-EI-DC, S5720-36C-EI-28S-AC, S5720-36C-EI-28S-DC, S5720-36C-PWR-EI-AC, S5720-36C-PWR-EI-DC, S5720-36PC-EI-AC, S5720-32C-HI-24S-AC, S5730-36C-HI-24S and S5730-44C-HI-24S support this command.

Parameters

Parameter

Description

Value

auto
Allows a combo interface to automatically select the working mode. The combo interface checks whether an optical module has been installed:
  • When a cable is not connected and an optical module is installed, the combo interface works in optical mode.
  • When a cable is connected, the interface is in Up state, and an optical module is installed, the combo interface works in electrical mode. After the device restarts, the combo interface works in optical mode.
  • When a cable is connected, the interface is in Down state, and an optical module is installed, the combo interface works in optical mode.

In summary, when an optical module is installed on the combo optical interface, the combo interface works in optical mode after the device restarts.

-
copper Configures a combo interface to work in electrical mode so that data is transmitted through network cables. -
fiber Configures a combo interface to work in optical mode so that data is transmitted through optical fibers. -

Views

GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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.

Precautions

This command takes effect only on combo interfaces.

If a combo interface is configured to work in a different mode from the remote interface, the two interfaces cannot communicate.

The electrical interface is used with the optical interface as a combo interface. Combo optical interface does not support GE copper module.

Example

# Configure GE0/0/1 to work in electrical mode.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] combo-port copper
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >