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

CLI-based Configuration Guide - Interface Management

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples of the interfaces supported by the device.
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 the Auto-Negotiation Rate Range

Example for Configuring the Auto-Negotiation Rate Range

Networking Requirements

As shown in Figure 2-1, PC1, PC2, and PC3 are connected to LAN-side interfaces such as Ethernet2/0/0, Ethernet2/0/1, and Ethernet2/0/2 of the RouterA and connect to the Internet using an uplink.

PC1, PC2, and PC3 work at a rate of 100 Mbit/s, and WAN-side interface Ethernet1/0/0 connecting to the Internet also works at a rate of 100 Mbit/s. In auto-negotiation mode, Ethernet interfaces on both ends of a link negotiate their rate. The negotiated rate may be any rate supported by Ethernet interfaces. If the auto-negotiation rate range is not specified, the rate negotiated between interfaces (Ethernet2/0/0, Ethernet2/0/1, and Ethernet2/0/2) and PCs (PC1, PC2, and PC3) is 100 Mbit/s. This may cause congestion on outbound interface Ethernet1/0/0.

Figure 2-1  Network diagram for configuring the auto-negotiation rate range

Configuration Roadmap

The configuration roadmap is as follows:

# By setting the auto-negotiation rate range, you can configure Ethernet interfaces to negotiate their rate within the specified range.

Procedure

  1. Configure the auto-negotiation function.

    # Configure the auto-negotiation function on Ethernet2/0/0.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface ethernet 2/0/0
    [RouterA-Ethernet2/0/0] negotiation auto
    [RouterA-Ethernet2/0/0] quit

    # Configure the auto-negotiation function on Ethernet2/0/1.

    [RouterA] interface ethernet 2/0/1
    [RouterA-Ethernet2/0/1] negotiation auto
    [RouterA-Ethernet2/0/1] quit

    # Configure the auto-negotiation function on Ethernet2/0/2.

    [RouterA] interface ethernet 2/0/2
    [RouterA-Ethernet2/0/2] negotiation auto
    [RouterA-Ethernet2/0/2] quit

  2. Set the auto-negotiation rate.

    # Set the auto-negotiation rate of Ethernet2/0/0 to 10 Mbit/s.

    [RouterA] interface ethernet 2/0/0
    [RouterA-Ethernet2/0/0] auto speed 10
    [RouterA-Ethernet2/0/0] quit

    # Set the auto-negotiation rate of Ethernet2/0/1 to 10 Mbit/s.

    [RouterA] interface ethernet 2/0/1
    [RouterA-Ethernet2/0/1] auto speed 10
    [RouterA-Ethernet2/0/1] quit

    # Set the auto-negotiation rate of Ethernet2/0/2 to 10 Mbit/s.

    [RouterA] interface ethernet 2/0/2
    [RouterA-Ethernet2/0/2] auto speed 10
    [RouterA-Ethernet2/0/2] quit

Configuration Files

Only the configuration file of RouterA is provided here.

#
 sysname RouterA
#
interface Ethernet2/0/0
 auto speed 10
#
interface Ethernet2/0/1
 auto speed 10
#
interface Ethernet2/0/2
 auto speed 10
#
return
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069331

Views: 21138

Downloads: 95

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