Example for Configuring the Working Mode of a Combo Interface
Networking Requirements
As shown in Figure 2-12, PC1, PC2, and PC3 connect to GE1/0/1, GE1/0/2, and GE1/0/3 of the switch respectively. Due to limitations of network adapters on the PCs, the maximum transmission rate of GE1/0/1, GE1/0/2, and GE1/0/3 is 100 Mbit/s. The Switch connects to the Internet through the combo interface GE1/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.
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
- Configure the combo interface GE1/0/4 to work as an electrical interface.
<HUAWEI> system-view [HUAWEI] sysname Switch [Switch] interface gigabitethernet 1/0/4 [Switch-GigabitEthernet1/0/4] combo-port copper [Switch-GigabitEthernet1/0/4] quit
- Verify the configuration.
Run the display interface GigabitEthernet 1/0/4 command in any view to check the working mode of the combo interface.
[Switch] display interface gigabitethernet 1/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.