speed

Use this command to set the link speed of the interface.

Use the no parameter to reset the speed to its default value.

On copper ports, auto-negotiation is enabled by default. Limited auto-negotiation is also supported, allowing users to advertise a specific speed for an interface. For example, user can configure an interface to auto-negotiate only with a 100m peer.
On fiber optic ports, auto-negotiation is disabled by default. Auto-negotiation is not supported on fiber optic medium or AOC for speeds 10g and beyond. IP Infusion Inc.does not recommend using auto speed on such transceivers. For DAC cables, both force and auto-negotiation are supported.
IP Infusion Inc. recommends configuring the same speed mode on both peers.
When user configure an interface with the speed auto option, the negotiated parameters are speed, duplex, flowcontrol, and fec, each configured separately. Refer to the respective command for details.

 

  • For 10g DAC or AOC, setting speed auto negotiates with a maximum of 1G.
  • Interface speed setting is only supported on physical front-panel ports and not supported on Management interface eth0.
  • Configuring or unconfiguring speed will reset FEC to auto mode.

The Table 115. Recommendations shows the IP Infusion Inc. recommendations for front-panel port speed and transceivers.

Table 115.

Recommendations

Supported/Recommended

Explanation

Not Supported

When the front panel port capability is less than the transceiver’s capability, the behavior is undefined.

Not Recommended

When the transceiver’s capability matches the front panel port capability, 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 still come up. Set the speed to match the transceiver’s capability.

The table below shows examples of front-panel configurations:

Table 116.

Front-panel configurations

Front Panel Port

Explanation

Front Panel Port 100g

Use the speed 40g command with 40g transceivers.

IP Infusion Inc. does not recommend to use 40g on 100g speed transceivers.

Front Panel Port 40g

Do not use 100g transceivers.

Front Panel Port 25g

Use the port-group command to reduce the speed to 10g when using 10g transceivers.

IP Infusion Inc. does not recommend to use 10g on 25g speed transceivers.

Set the speed to 1g when using 1g transceivers.

 

Below 25g, port speed can vary (10g or 1g) for ports within the same port group, e.g., one port can have 1g while the remaining have 10g. However, one port at 25g and the rest at 10g is not allowed. Using the no speed command at the interface level tries to set the speed to 25g for one port in the port-group while others may be at 10g or 1g, which is not allowed. Use the no port-group command in such cases.

Front Panel Port 10g

Do not use 25g transceivers.

Set the speed to 1g when using 1g transceivers.

Front Panel Port 1g

Do not use 10g or 25g transceivers..

Command Syntax

Copy
speed (10m | 100m | 1g | 2.5g | 10g | 20g | 25g | 40g | 50g | 100g | auto (10m | 100m | 1g) )
no speed 

Parameters

10m

Set the speed to 10 megabits per second.

100m

Set the speed to 100 megabits per second.

1g

Set the speed to 1 gigabit per second.

2.5g

Set the speed to 2.5 gigabits per second.

10g

Set the speed to 10 gigabits per second.

20g

Set the speed to 20 gigabits per second.

25g

Set the speed to 25 gigabits per second.

40g

Set the speed to 40 gigabits per second.

50g

Set the speed to 50 gigabits per second.

100g

Set the speed to 100 gigabits per second.

auto 10m

Auto negotiate only with a 10Mb peer

auto 100m

Auto negotiate only with a 100Mb peer

auto 1g

Auto negotiate only with a 1g peer

Default

None

Command Mode

Interface mode

Applicability

Introduced before OcNOS version 1.3 and added parameters auto 10m, auto 100m, and auto 1g in the OcNOS version 6.4.2.

Example

Enable auto-negotiation:

Copy
#configure terminal
(config)#interface xe0
(config-if)#speed auto 10m