30
Syntax
speed { 10 | 100 | 1000 | 10000 | auto }
undo speed
Default
An Ethernet interface negotiates a speed with its peer.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
10: Sets the interface speed to 10 Mbps.
100: Sets the interface speed to 100 Mbps.
1000: Sets the interface speed to 1000 Mbps.
10000: Sets the interface speed to 10000 Mbps.
auto: Enables the interface to negotiate a speed with its peer.
Usage guidelines
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 transceiver module.
Support of an interface for the keywords depends on the interface type. For more information, use
the
speed ? command in interface view.
Examples
# Configure GigabitEthernet 1/0/1 to autonegotiate the speed.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] speed auto
Related commands
speed auto
speed auto downgrade
Use speed auto downgrade to enable automatic negotiation for speed downgrading.
Use
undo speed auto downgrade to disable automatic negotiation for speed downgrading.
Syntax
speed auto downgrade
undo speed auto downgrade
Default
Automatic negotiation for speed downgrading is enabled.
Views
Ethernet interface view