InterfacesInterface Config

speed [10|100|1000|auto]

Sets the speed of a Cisco switch or router interface to a specific value or auto-negotiation.

Syntax·Interface Config
speed [10|100|1000|auto]

When to Use This Command

  • Manually setting a switch port to 100 Mbps full duplex to match an older device that doesn't support auto-negotiation.
  • Forcing a router WAN interface to 1000 Mbps to ensure maximum throughput on a known gigabit link.
  • Setting a port to 10 Mbps to intentionally limit bandwidth for traffic shaping or testing.
  • Configuring auto-negotiation on a port to allow the device to automatically select the best speed with the connected device.

Command Examples

Setting interface speed to 100 Mbps

speed 100
Switch(config-if)# speed 100
Switch(config-if)#

The command sets the interface speed to 100 Mbps. No output is shown if successful; the prompt returns.

Setting interface speed to auto-negotiate

speed auto
Switch(config-if)# speed auto
Switch(config-if)#

The command enables auto-negotiation on the interface. The device will automatically negotiate speed with the connected device.

Understanding the Output

The 'speed' command does not produce any output on its own; it simply configures the interface. To verify the speed setting, use 'show interfaces [interface]' or 'show interfaces status'. In 'show interfaces', look for the line 'BW 100000 Kbit' for 100 Mbps or 'BW 1000000 Kbit' for 1000 Mbps. In 'show interfaces status', the 'Speed' column shows the configured or negotiated speed. A mismatch between the configured speed and the actual link speed indicates a problem, often due to duplex mismatch or faulty cabling.

CCNA Exam Tips

1.

Remember that on Cisco switches, the 'speed' command is available in interface configuration mode, and the default is 'auto'.

2.

Know that if you set speed manually, you should also set duplex manually to avoid mismatch; auto-negotiation handles both.

3.

The CCNA exam may test that 'speed 1000' is only valid on Gigabit Ethernet interfaces; 10/100 ports cannot be set to 1000.

4.

Be aware that 'speed auto' is the default and is recommended for most scenarios to avoid configuration errors.

Common Mistakes

Setting speed to 1000 on a FastEthernet (10/100) port, which will be rejected with an error.

Forgetting to set duplex when manually setting speed, leading to duplex mismatch and poor performance.

Assuming 'speed auto' will always result in the highest speed; it depends on the capabilities of both devices.

Related Commands

Practice for the CCNA 200-301

Test your knowledge with hundreds of CCNA practice questions covering all exam domains.

Practice CCNA Questions