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.

100: Sets the interface speed to 100 Mbps.

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 the peer.

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 pluggable transceiver.


[NOTE: ]

NOTE:

The keywords 10 and 1000 are unavailable on SFP ports inserted with 100-Mbps SFP transceiver modules. The keywords 10 and 100 are unavailable on SFP ports inserted with 1000-Mbps SFP transceiver modules.


Related commands: duplex and speed auto.

Examples

# Configure Ethernet 1/0/1 to operate at 100 Mbps.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] speed 100