Configures the port speed on Ethernet interfaces.
Interface config mode
This command is available only to users with admin role.
This command is supported on Ethernet interfaces.
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 shutdownThe 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.