speed auto

Syntax

speed auto { 10 | 100 | 1000 } *

undo speed

View

GE interface view

Default level

2: System level

Parameters

10: Sets 10 Mbps as an option for speed auto negotiation.

100: Sets 100 Mbps as an option for speed auto negotiation.

1000: Sets 1000 Mbps as an option for speed auto negotiation.

Description

Use speed auto to set options for speed auto negotiation.

Use undo speed to restore the default.

By default, an Ethernet interface automatically negotiates a speed with the peer.

The speed command and the speed auto command supersede each other. The command that is configured last takes effect.

If you configure speed 100 after configuring speed auto 100 1000 on an interface, the interface speed is set to 100 Mbps by force without negotiation. If you configure speed auto 100 1000 after configuring speed 100 on the interface, the interface negotiates with its peer, and the negotiated speed is either 100 Mbps or 1000 Mbps.


[NOTE: ]

NOTE:

  • To avoid negotiation failure, make sure that at least one speed option is supported at both ends.

  • Among the auto-negotiation-capable Layer 2 ports, the FE copper ports support only the 10 and 100 keywords, the GE copper ports support all keywords, and the GE fiber ports support only the 100 and 1000 keywords.


  • Examples

    # Configure the port Ethernet 1/0/1 to use 10 Mbps and 1000 Mbps for speed negotiation.

    <Sysname> system-view
    [Sysname] interface ethernet 1/0/1
    [Sysname-Ethernet1/0/1] speed auto 10 1000