Table of Contents
Example model & SONiC version:
By CLI:
admin@sonic:~$ sudo config interface speed Ethernet48 100000 admin@sonic:~$ sudo config interface speed Ethernet52 100000
Check the status:
admin@sonic:~$ show interface status | grep 'Ethernet28\|Ethernet60' Ethernet48 101,102,103,104 100G 9100 rs Ethernet48 routed up up N/A N/A Ethernet52 69,70,71,72 100G 9100 rs Ethernet52 routed up up N/A N/A
By editing /etc/sonic/config_db.json file:
"PORT": { .... "Ethernet48": { "admin_status": "up", "alias": "Ethernet28", "autoneg": "1", "fec": "rs", "index": "7", "lanes": "101,102,103,104", "mtu": "9100", "speed": "100000"
}, .... }
And reload the config by “admin@sonic:~$ sudo config reload -y”
By editing /etc/sonic/config_db.json file:
"PORT": {
....
"Ethernet0": {
"alias": "Eth0(Port0)",
"lanes": "1,2,3,4,5,6,7,8",
"speed": "400000",
"index": "0",
"subport": "0",
"admin_status": "up",
"description": "Uplink_to_Fabric",
"mtu": "9100"
},
....
}
And reload the config by “admin@sonic:~$ sudo config reload -y”
Check the status:
admin@sonic:~$ show interface description
Interface Oper Admin Alias Description
----------- ------ ------- ------------- -------------------
Ethernet0 up up Eth0(Port0) Uplink_to_Fabric
...
This section shows a sample port configuration to enable forward error correction (FEC) mode in SONiC.
FEC mode support three options:
rs – Reed-Solomon
fc – FireCode
none – no FEC applied.
25G FEC recommendations
Media type |
1m copper |
2-3m copper |
25G AOC |
25G SR |
25G LR |
10G |
---|---|---|---|---|---|---|
FEC |
RS |
RS |
RS |
RS |
RS |
no FEC |
100G FEC recommendations
Media type |
1m copper |
2-3m copper |
100G AOC |
100G SR4 |
100G LR4 |
---|---|---|---|---|---|
FEC |
no FEC |
RS |
RS |
RS |
no FEC* |
Having FEC enabled allows using of less expensive optics without significantly impacting network performance.
admin@sonic:~$ sudo config interface fec Ethernet4 none admin@sonic:~$ show interfaces status Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC ----------- --------------- ------- ----- ----- ----------- ------ ------ ------- --------------- ---------- Ethernet4 125,126,127,128 100G 9100 none Ethernet4 routed down up N/A N/A
Or edit /etc/sonic/config_db.json file:
"PORT": {
....
"Ethernet28": {
"admin_status": "up",
"alias": "Ethernet28",
"autoneg": "1",
"fec": "rs",
"index": "7",
"lanes": "101,102,103,104",
"mtu": "9100",
"speed": "100000"
....
}
With the help of 1/10G RJ45 SFP+ transceivers, we can connect 1G copper infrastructure to a 25G switch.
In this example, Ethernet0 has a 1/10G RJ45 SFP+ transceiver installed. To establish a 1G connection, we need to set the port speed to 10G and disable FEC.
Settings by CLI:
admin@sonic:~$ sudo config interface speed Ethernet0 100000 admin@sonic:~$ sudo config interface fec Ethernet0 none
Check the result:
admin@sonic:~$ sudo show interfaces status Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC ----------- ----------- ------- ----- ----- ---------- ------ ------ ------- -------------- ---------- Ethernet0 113 10G 9100 none Ethernet0 routed up up SFP/SFP+/SFP28 N/A
Despite indicating 10G speed in SONiC, the connection speed is 1G. 1/10G RJ45 SFP+ transceivers have a PHY controller by design. While the port speed is still 10G, the PHY established the outer connection at 1G speed.
Taoyuan city, Taiwan, 24th of June 2024. Netberg announced the new Aurora 721 100G and Aurora 421 10G switches, which feature programmable pipelines powered by Broadcom StrataXGS® Trident3 Ethernet switch chips.
Taoyuan city, Taiwan, January 24th, 2024. Netberg announced the release of two new models powered by the Broadcom StrataXGS® Trident3 series , the Netberg Aurora 221 1G switch and Aurora 621 25G switch.
Effective January 12, 2024: The following products are now End of Life (EOL) - Aurora 720 and Aurora 620.
Taoyuan city, Taiwan, December 20th, 2023. Netberg updates its Netberg SONiC distribution to release 2022.11 on Aurora 610, Aurora 710, and Aurora 750 P4-Programmable Intel Tofino IFP systems.
Taipei, Taiwan, 14th of November 2022. Netberg announced the new Aurora 810 400G model programmable switch with Intel Tofino 2 Intelligent Fabric Processors (IFPs) at its heart. The new platform has 32x 400G QSFP-DD Ethernet ports and a 12.8Tbps switching capacity.
Taipei, Taiwan, 24th of October 2022. Netberg participates in the new round of the Fast Forward Initiative by Intel (FFI'22). The program supports academic and research organizations today, aiming at accelerating tomorrow's best network programmability research.