speed (ethernet interfaces)

Configures the port speed on Ethernet interfaces.

Syntax

speed [ 40000 | 100000 | auto ]

Parameters

40000
Specifies 40 Gbps port speed.
100000
Specifies 100 Gbps port speed.
auto
Specifies auto detection. This is the default port speed.

Modes

Interface config mode

Usage Guidelines

This command is available only to users with admin role.

This command is supported on Ethernet interfaces.

Examples

The following example configures the port speed on Ethernet interfaces.

device# configure terminal  
device(config)# interface ethernet 2/16  
device(config-if-mgmt-0)# speed 40000

device# show running-config interface e 2/16 
interface ethernet 2/16 
  speed 40000 
  shutdown
The following examples show error messages.
device(config-if-eth-1/2)# speed 10000
Invalid Speed 

device(config-if-eth-2/16)# speed 40000
Error: Speed configuration not allowed on interface 2/16 when FEC is configured.