28
speed
Syntax
speed
{
10
|
100
|
1000
|
auto
}
undo speed
View
Ethernet interface view
Default level
2: System level
Parameters
10
: Sets the interface speed to 10 Mbps. The optical interface does not support the
10
keyword.
100
: Sets the interface speed to 100 Mbps. The optical interface does not support the
100
keyword.
1000
: Sets the interface speed to 1,000 Mbps.
auto
: Enables the port to negotiate a speed with its peer. In auto negotiation mode, two ends of a link
negotiate the highest speed supported by both of them.
Description
Use the
speed
command to set the speed of an Ethernet interface.
Use the
undo speed
command to restore the default.
By default, Ethernet ports operate in auto negotiation mode.
Note that:
•
For an Ethernet electrical port, you use the
speed
command to set its speed to match the speed of
the peer interface.
•
For an optical port, you use the
speed
command to set its speed to match the rate of a pluggable
optical transceiver.
Related commands:
duplex
and
speed auto
.
Examples
# Configure interface GigabitEthernet 1/0/1 to operate at 100 Mbps.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] speed 100
speed auto
Syntax
speed auto
{
10
|
100
|
1000
}*
undo speed
View
Ethernet interface view
Default level
2: System level