< Home

Example for Configuring the Working Mode of a Combo Interface

Networking Requirements

As shown in Figure 1, PC1, PC2, and PC3 connect to GE0/0/1, GE0/0/2, and GE0/0/3 of the switch respectively. Due to limitations of network adapters on the PCs, the maximum transmission rate of is 100 Mbit/s. The Switch connects to the Internet through the combo interface GE0/0/4. You can configure the working mode of the combo interface based on the remote interface type. In this example, the remote interface at the Internet side is an electrical interface.

Figure 1 Networking diagram for configuring the working mode of a combo interface

Configuration Roadmap

The configuration roadmap is as follows:

  • Configure the combo interface to work as an electrical interface. This configuration ensures that the combo interface's working mode does not change when the transmission medium changes, for example, a GE copper module is installed.

Procedure

  1. Configure the combo interface GE0/0/4 to work as an electrical interface.

    <HUAWEI> system-view
    [HUAWEI] sysname Switch
    [Switch] interface gigabitethernet 0/0/4
    [Switch-GigabitEthernet0/0/4] combo-port copper
    [Switch-GigabitEthernet0/0/4] quit
    

  2. Verify the configuration.

    Run the display interface GigabitEthernet 0/0/4 command in any view to check the working mode of the combo interface.

    [Switch] display interface gigabitethernet 0/0/4
    ...
    Port Mode: FORCE COPPER                                                         
    Speed : 1000,   Loopback: NONE                                                  
    Duplex: FULL,   Negotiation: ENABLE                                             
    Mdi   : AUTO,   Flow-control: DISABLE 
    ...

    The command output shows that the combo interface works as an electrical interface.

Configuration File

Configuration file of the Switch

#
sysname Switch
# 
interface GigabitEthernet0/0/4
 combo-port copper 
#
return
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >