speed

Use speed to set the speed of an Ethernet interface.

Use undo speed to restore the default.

Syntax

speed { 10 | 100 | 1000 | 10000 | 40000 | 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.

40000: Sets the interface speed to 40000 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 Ten-GigabitEthernet 1/0/1 to autonegotiate the speed.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] speed auto

Related commands

speed auto