3.1.2. speed

Syntax

speed (10 | 100 | 1000)

speed auto [(10 | 100 | 1000 | 10/100)]

speed nonegtiate

no speed nonegtiate

Parameter


10 Specify port speed to force 10Mbits/s or auto with 10Mbits/s ability.

100 Specify port speed to force 100Mbits/s or auto with 100Mbits/s ability.

1000 Specify port speed to force 1000Mbits/s or auto with 1000Mbits/s ability.

10/100 Specify port speed to auto with 10Mbits/s and 100Mbits/s


Default

Default port speed is auto with all available abilities.

Mode

Interface Configuration

Usage

Use “speed” command to change port speed configuration. The speed is only able to configure to the physical maximum speed. For example, in fast Ethernet port, speed 1000 is not available.

You cannot configure the speed on the SFP module ports, but you can configure the speed to not negotiate (nonegotiate) if it is connected to a device that does not support autonegotiation.

Example

This example shows how to modify port speed configuration.

Switch(config)# interface fa1
Switch(config-if)# speed 100
Switch(config-if)# exit
Switch(config)# interface fa2
Switch(config-if)# speed auto 10/100

This example shows how to show current speed configuration.

Switch# show running-config interfaces fa1-2
interface fa1
speed 100
interface fa2
speed auto 10/100

This example shows how to show current interface link speed.

Switch# show interfaces fa1-2 status
Port Name Status Vlan Duplex Speed Type
gi1 notconnect 1 auto 100M Copper
gi2 notconnect 1 auto auto Copper