1-26
Parameters
10: Specifies the interface rate as 10 Mbps. The optical interface of a SFP port does not support the 10
keyword.
100: Specifies the interface rate as 100 Mbps. The optical interface of a SFP port does not support the
100 keyword.
1000: Specifies the interface rate as 1,000 Mbps.
auto: Specifies to determine the interface rate through auto-negotiation.
Description
Use the speed command to configure Ethernet port data rate.
Use the undo speed command to restore Ethernet port data rate.
Note that:
z On the electrical interface of an Ethernet port, the purpose of using the speed command to set the
data transmission rate is to make it consistent with that of the peer.
z On an SFP port, the purpose of using the speed command to set the data transmission rate is to
make it consistent with that of the pluggable optical module.
Related commands: duplex, speed auto.
Examples
# Configure the interface rate as 100 Mbps for interface GigabitEthernet 1/0/1.
<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 port view
Default Level
2: System level
Parameters
10: Specifies the interface auto-negotiation rate as 10 Mbps.
100: Specifies the interface auto-negotiation rate as 100 Mbps.
1000: Specifies the interface auto-negotiation rate as 1000 Mbps.
Description
Use the speed auto command to configure the auto-negotiation rate range of the current Ethernet port.