Interface port speed configuration
By default, ports on SR Linux devices operate at the speeds listed in Default and supported port speeds for SR Linux devices. You can optionally configure ports to operate a different speed as long as that speed is supported for the port. On all devices, the Mgmt ports operate at 1G.
On 7220 IXR-D1 systems, it is possible to configure auto-negotiation for the port. See Configuring link auto-negotiation (7220 IXR-D1 only).
On 7220 IXR-Dx, IXR-Hx, 7250 IXR-6/6e, IXR10/10e, and IXR-X1b/X3b platforms, when the SR Linux device is started, and a transceiver is detected, the port speed is set based on the port-speed or breakout-mode configuration if any exists. Otherwise, the port speed is automatically set to the speed of the transceiver; for example, if a QSFP28 transceiver is installed in a 400G cage, the system sets 100G speed for the port.
SR Linux Device |
Port range |
Default port speed |
Supported port speeds |
---|---|---|---|
7250 IXR-6/10 IMM |
Ports 1-8, 13-32 |
100G |
40G, 100G |
Ports 9-12 |
100G |
100G |
|
Ports 33-36 |
100G |
40G, 100G, 400G |
|
7215 IXS-A1 |
Ports 1-48 |
1G |
10M, 100M, 1G |
Ports 49-52 |
10G |
1G, 10G |
|
7220 IXR-D1 |
Ports 1-48 |
1G |
10M, 100M, 1G |
Ports 49-52 |
10G |
10G |
|
7220 IXR-D2 |
Ports 1-48 |
25G |
1G, 10G, 25G Note: If one port in each consecutive group of 4 ports (1-4, 5-8, .. , 45-48) is enabled and has a configured speed of 25G, then the other 3 ports may only be enabled if they also have a configured speed of 25G or no speed configured; if one port in each consecutive group of 4 ports is enabled and has a configured speed of 1G or 10G, the other 3 ports may only be enabled if they also have a configured speed of 1G or 10G or no speed configured. |
Ports 49-56 |
100G |
10G, 25G, 40G, 100G |
|
7220 IXR-D2L |
Ports 1-48 |
25G |
1G, 10G, 25G Note: If one port in each port group of 4 ports ({1, 2, 3, 6}, {4, 5, 7, 9}, {8, 10, 11, 12}, {13, 14, 15, 18}, {16, 17, 19, 21}, {20, 22, 23, 24}, {25, 26, 27, 30}, {28, 29, 31, 33}, {32, 34, 35, 36}, {37, 38, 39, 42}, {40, 41, 43, 45}, {44, 46, 47, 48}) is enabled and has a configured speed of 25G, the other 3 ports may only be enabled if they also have a configured speed of 25G or no speed configured; if one port in each port group of 4 ports is enabled and has a configured speed of 1G or 10G, the other 3 ports may only be enabled if they also have a configured speed of 1G or 10G or no speed configured. |
Ports 49-56 |
100G |
10G, 25G, 40G, 100G |
|
Ports 57-58 |
10G |
10G |
|
7220 IXR-D3 |
Ports 1-2 |
10G |
10G |
Ports 3-34 |
100G |
10G, 25G, 40G, 50G, 100G |
|
7220 IXR-D3L |
Ports 1-32 |
100G |
10G, 25G, 40G, 50G, 100G |
Ports 33-34 |
10G |
10G |
|
7220 IXR-D4 |
Ports 1-8 |
100G |
40G, 100G |
Ports 9-28 |
100G |
10G, 25G, 40G, 100G |
|
Ports 29-36 |
400G |
10G, 25G, 40G, 100G, 400G |
|
7220 IXR-D5 |
Ports 1-32 |
400G |
40G, 100G, 400G |
Ports 33-38 |
10G |
10G |
|
7220 IXR-H2 |
Ports 1-128 |
100G |
100G |
7220 IXR-H3 |
Ports 1-2 |
10G |
10G |
Ports 3-34 |
400G |
40G, 100G, 200G, 400G |
|
7220 IXR-H4 |
Ports 1-64 |
400G |
40G, 100G, 200G, 400G |
Ports 65-66 |
10G |
10G |
|
7250 IXR-6e/10e 60p QSFP28 IMM |
All ports |
100G |
100G |
7250 IXR-6e/10e 36p QSFPDD-400 IMM |
All ports |
400G |
40G, 100G, 400G |
7250 IXR-X1b QSFP28 |
Ports 1-24 |
100G |
40G, 100G |
7250 IXR-X1b QSFPDD |
Ports 25-36 |
400G |
40G, 100G, 400G |
7250 IXR-X3b QSFPDD |
All ports |
400G |
40G, 50G, 100G, 400G |
7730 SXR-1d-32D QSFP28 |
Ports 1-16, 21-32 |
100G |
40G, 100G |
7730 SXR-1d-32D QSFPDD |
Ports 17-20 |
400G |
40G, 100G, 400G |
7730 SXR-1x-44S SFPDD |
Ports 1-20, 23-42 |
100G |
10G, 25G, 100G |
7730 SXR-1x-44S QSFPDD |
Ports 21, 22, 43, 44 |
400G |
40G, 100G, 400G |
Configuring interface port speed
You can configure the port speed for an interface.
--{ * candidate shared default }--[ ]--
# info interface ethernet-1/1 ethernet
interface ethernet-1/1 {
ethernet {
port-speed 100G
}
}
Configuring link auto-negotiation (7220 IXR-D1 only)
For ports 1-48 on 7220 IXR-D1 systems, you can configure the interface to use auto-negotiation for the speed, duplex, and flow-control settings. Port speed negotiation for RJ-45 ports (7220 IXR-D1 systems) lists how the auto-negotiation setting inter-operates with the port-speed configured for the interface.
auto-negotiate parameter setting |
Port speed parameter configured? |
Port speed behavior |
---|---|---|
false |
No |
Bring up the port at the default speed of 1G. |
false |
Yes |
Bring up the port at the configured speed of 10M, 100M or 1G if the other side is configured for the same speed; otherwise, the port state is oper-down. |
true (default) |
No |
All speeds are advertised as supported, and the actual speed is the highest common value between the two sides. |
true (default) |
Yes |
The configured port speed is the only speed advertised. If the port at the other side of the link advertises this speed as well, the link comes up; otherwise it stays down. |
The following example configures auto-negotiation and port speed for a port on a 7220 IXR-D1 system. In this example, a port speed is configured, and the auto-negotiation setting is enabled. The SR Linux advertises the configured port speed to the other end of the link. If the other port also advertises this speed, then the link is established; otherwise, the port state is oper-down.
--{ * candidate shared default }--[ ]--
# info interface ethernet-1/1 ethernet
interface ethernet-1/1 {
ethernet {
auto-negotiate true
port-speed 100M
}
}