![HP 3100 v2 Series Скачать руководство пользователя страница 39](http://html.mh-extra.com/html/hp/3100-v2-series/3100-v2-series_command-reference-manual_165751039.webp)
32
Description
Use
speed
to set the speed of an Ethernet interface.
Use
undo speed
to restore the default.
By default, an Ethernet interface automatically negotiates a speed with the peer.
For an Ethernet copper port, use the
speed
command to set its speed to match the speed of the peer
interface.
For a fiber port, use the
speed
command to set its speed to match the rate of a pluggable
transceiver.
NOTE:
The keywords
10
and
1000
are unavailable on SFP ports inserted with 100-Mbps SFP transceiver
modules. The keywords
10
and
100
are unavailable on SFP ports inserted with 1000-Mbps SFP
transceiver modules.
Related commands:
duplex
and
speed auto
.
Examples
# Configure Ethernet 1/0/1 to operate at 100 Mbps.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] speed 100
speed auto
Syntax
speed auto
{
10
|
100
|
1000
} *
undo speed
View
GE interface view
Default level
2: System level
Parameters
10
: Sets 10 Mbps as an option for speed auto negotiation.
100
: Sets 100 Mbps as an option for speed auto negotiation.
1000
: Sets 1000 Mbps as an option for speed auto negotiation.
Description
Use
speed auto
to set options for speed auto negotiation.
Use
undo speed
to restore the default.
By default, an Ethernet interface automatically negotiates a speed with the peer.
The
speed
command and the
speed auto
command supersede each other. The command that is
configured last takes effect.
If you configure
speed 100
after configuring
speed auto 100 1000
on an interface, the interface
speed is set to 100 Mbps by force without negotiation. If you configure
speed auto 100 1000
after
configuring
speed 100
on the interface, the interface negotiates with its peer, and the negotiated
speed is either 100 Mbps or 1000 Mbps.