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 Ethernet2/0/0, Ethernet2/0/1, and Ethernet2/0/2 of the RouterA, respectively, 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.
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
- 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
- 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