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.
Speed 40G can be configured only on even numbered interfaces. When speed is configured on even interface, previous odd interface is not be deleted, but will not be available for use.
Error message | Reason |
---|---|
Invalid Speed | Valid speed values are 40000, 100000,or auto. |
Port 2/15 does not support this config. Only on even numbered ports speed 40 Gbps is supported. | Attempt to configure 40Gbps on odd-numbered port. |
Speed configuration not allowed on interface 2/16 when FEC is configured | FEC is already configured on this interface. |
The following example configures the port speed on Ethernet interfaces.
device# configure terminal device(config)# interface ethernet 1/1 device(config-if-mgmt-0)# speed 40000 device# show running-config interface e 1/1 interface ethernet 1/1 speed 40000 shutdown device# configure terminal device(config-if-eth-2/16)# speed 40000 WARN: Configuring 40G on interface is a disruptive action and will result ports 2/15 to be unavailable for use. device(config-if-eth-1/2)# speed 10000 Invalid Speed device(config-if-eth-2/15)# speed 40000 Port 2/15 does not support this config. Only on even numbered ports speed 40G is supported. device(config-if-eth-2/16)# speed 40000 Error: Speed configuration not allowed on interface 2/16 when FEC is configured.