To do…
Use the command…
Remarks
Shut down the Ethernet interface
shutdown
Optional
By default, an Ethernet interface is in
the up state.
To bring up an Ethernet interface, use
the
undo shutdown
command.
Setting speed options for auto negotiation on an Ethernet
interface
Speed auto negotiation enables an Ethernet interface to negotiate with its peer for the highest speed
supported that both ends support by default. If the highest speed is not desirable, you can narrow down
the speed option list for negotiation.
Figure 1
Speed auto negotiation application scenario
IP network
Server 1
Server 2
Server 3
Switch A
Eth
1/0/1
Eth1/
0/
3
Eth1/0/4
As shown in
, all interfaces on the switch are operating in speed auto negotiation mode, with the
highest speed of 100 Mbps. If the transmission rate of each server in the server cluster is 100 Mbps, their
total transmission rate will exceed the capability of interface Ethernet 1/0/4, the interface providing
access to the Internet for the servers.
To avoid congestion on Ethernet 1/0/4, set 10 Mbps as the only speed option available for negotiation
on interface Ethernet 1/0/1, Ethernet 1/0/2, and Ethernet 1/0/3. As a result, the transmission rate on
each interface connected to a server is limited to 10 Mbps.
Follow these steps to set speed options for auto negotiation on an Ethernet interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface
interface-type
interface-number
—
Set speed options for auto
negotiation
speed
auto
[
10
|
100
|
1000
] *
Optional
The auto-negotiation transmission
rate range is
10
,
100
, and
1000
by default.
3