No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Typical Configuration Examples

This document provides examples for configuring features in typical usage scenarios.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring a Combo Interface

Example for Configuring a Combo Interface

Overview

A combo interface consists of a GE electrical interface and a GE optical interface on the panel. The multiplexed electrical and optical interfaces cannot work at the same time. When one interface works, the other interface is disabled. You can use the electrical or optical interface according to networking requirements.

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.

Configuration Notes

  • Usage restrictions:
    • The electrical and optical interfaces of a combo interface are multiplexed. The optical interface cannot have a copper module installed.
    • When a combo interface works in auto mode and the combo optical interface has an optical module installed, the combo interface works as an optical interface after the device restarts.
    • You can configure 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. If the local combo interface is configured to work in a different mode from the remote interface, the two interfaces cannot communicate.
  • This example applies to switches that support the combo interface.

Networking Requirements

As shown in Figure 6-1, PC1, PC2, and PC3 connect to GE1/0/1, GE1/0/2 and GE1/0/3 of the Switch respectively. 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.

Figure 6-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 optical module is installed.

Procedure

  1. 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   //Configure the combo interface to work as an electrical interface. By default, the combo interface's working mode is auto.
    [Switch-GigabitEthernet1/0/4] quit
    

  2. 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 
    ...

    If COMBO AUTO is displayed, the combo interface automatically selects the working mode. If FORCE FIBER is displayed, the combo interface is configured to work as an optical interface. If FORCE COPPER is displayed, the combo interface is configured to work as an electrical interface. The preceding command output shows that the combo interface is configured to work as an electrical interface.

Configuration File

Switch configuration file

#
sysname Switch
# 
interface GigabitEthernet1/0/4
 combo-port copper 
#
return
Download
Updated: 2019-04-20

Document ID: EDOC1000069520

Views: 694852

Downloads: 30190

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next