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