14
You may need to shut down and then bring up an Ethernet interface to activate configuration changes
such as the speed or duplex mode changes.
Examples
# Shut down and then bring up GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] shutdown
[Sysname-GigabitEthernet1/0/1] undo shutdown
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. This key word is not available on Ethernet fiber ports.
100
: Sets the interface speed to 100 Mbps. This key word is not available on Ethernet fiber ports.
1000
: Sets the interface speed to 1000 Mbps.
auto
: Enables the interface to negotiate a speed with its peer.
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 its peer.
For an Ethernet copper port, use the
speed
command to set its speed to match the speed of the peer
interface.
For an Ethernet fiber port, use the
speed
command to set its speed to match the rate of a pluggable
transceiver.
Related commands:
duplex
.
Examples
# Configure GigabitEthernet 1/0/1 to operate at 100 Mbps.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] speed 100