speed
Use this command to set the link speed of the interface.
Use the no parameter to set the speed to its default value.
On copper ports, auto-negotiation is enabled by default and force speed is not supported.
On fiber optic ports, auto-negotiation is disabled by default. Auto-negotiation is not supported on fiber optic medium/AOC for speeds 10g and beyond. IP Infusion Inc.does not recommend using auto speed on such transceivers. On DAC cables, both force and auto-negotiation are supported.
IP Infusion Inc. recommends configuring the same speed mode on both peers.
When an interface is configured with the speed auto option, the negotiated parameters are speed,
duplex,
flowcontrol, and
fec, each of which is configured separately. Please see the respective command for details.
Note: For 10g DAC/AOC, setting speed auto negotiates with a maximum of 1G.
Note: Interface speed setting is only supported on physical front-panel ports and not supported on Management interface eth0.
Note: Configuring or unconfiguring speed will reset FEC to auto mode.
Table 21-70 shows the IP Infusion Inc. recommendations regarding front-panel port speed and transceivers.
Table 21-70: Recommendatons
Suported/Recommended | Explanation |
---|
Not Supported | When front panel port capability is less than the transceiver’s capability the behavior is undefined. |
Not Recommended | When the transceiver’s capability and front panel port capability is the same, reducing the speed is not recommended. |
Recommended | When the transceiver’s capability is less than the front panel port capability, the behavior is undefined and the link might even come up. So speed needs to be set to match the transceiver’s capability. |
Table 21-71 show examples with front-panel configurations:
Table 21-71: Front-panel configurations
Front Panel Port | Explanation |
---|
Front Panel Port 100g | When 40g transceivers are used, make sure to use the command speed 40g. IP Infusion Inc. does not recommend using 40g on 100g speed transceivers. |
Front Panel Port 40g | 100g transceivers should not be used. |
Front Panel Port 25g | When 10g transceivers are used, make sure to use the port-group command to reduce the speed to 10g. IP Infusion Inc. does not recommend to use 10g on 25g speed transceivers. When using 1g transceivers, make sure to set the speed to 1g. Below 25g, port-speed can defer (10g or 1g) for ports under same port-group i.e. 1 port can have 1g & remaining 10g but 1 port 25g & remaining 10g not allowed. When "no speed" command is used at interface level it tries to set speed "25g" to one of the port of port-group while other may be at 10g or 1g speed which is not allowed. Use "no port-group" command in such case. |
Front Panel Port 10g | 25g transceivers should not be used. When using 1g transceivers, make sure to set the speed to 1g. |
Front Panel Port 1g | 10g/25g transceivers should not be used. |
Command Syntax
speed (10m | 100m | 1g | 2.5g | 10g | 20g | 25g | 40g | 50g | 100g | auto )
no speed
Parameter
10m
10 megabits
100m
100 megabits
1g
1 gigabit
2.5g
2.5 gigabits
10g
10 gigabits
20g
20 gigabits
25g
25 gigabits
40g
40 gigabits
50g
50 gigabits
100g
100 gigabits
auto
Negotiate the speed with a connected port
Default
No default value is specified
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
Enable auto-negotiation:
#configure terminal
(config)#interface xe0
(config-if)#speed auto
Last modified date: 10/19/2023