This page describes how to configure management port and front panel interfaces.
Default settings:
admin@sonic:~$ sudo config interface ip add eth0 192.168.0.126/24 admin@sonic:~$ sudo config interface ip add eth0 2001::8/64
# show ip interfaces Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP ----------- -------- ------------------- ------------ -------------- ------------- Loopback0 10.1.0.1/32 up/up N/A N/A docker0 240.127.1.1/24 up/down N/A N/A eth0 192.168.0.126/24 up/up N/A N/A lo 127.0.0.1/16 up/up N/A N/A # show ipv6 interfaces Interface Master IPv6 address/mask Admin/Oper BGP Neighbor Neighbor IP ----------- -------- --------------------------------------- ------------ -------------- ------------- Bridge fe80::b4d1:a3ff:fec0:207d%Bridge/64 up/down N/A N/A Loopback0 fe80::845c:fdff:fe2c:7143%Loopback0/64 up/up N/A N/A docker0 fd00::1/80 up/down N/A N/A fe80::1%docker0/64 up/down N/A N/A eth0 2001::8/64 up/up N/A N/A fe80::72b3:d5ff:fecc:f7f3%eth0/64 up/up N/A N/A lo ::1/128 up/up N/A N/A
# show management_interface address Management IP address = 192.168.0.126/24 Management Network Default Gateway = 192.168.0.1 Management IP address = 2001::8/64 Management Network Default Gateway = 2001::1
admin@sonic:~$ sudo config save -y
root@sonic:/home/admin# vi /etc/sonic/config_db.json "MGMT_INTERFACE": { "eth0|192.168.0.126/24": { "gwaddr": "192.168.0.1" }, "eth0|2001::8/64": { "gwaddr": "2001::1" } },
admin@sonic:~$ sudo config interface ip add Ethernet0 172.18.0.1/24 admin@sonic:~$ sudo config interface ip add Ethernet0 2002::1/64
admin@sonic:~$ sudo show ip interfaces Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP ----------- -------- ------------------- ------------ -------------- ------------- Ethernet0 10.0.0.0/31 up/down N/A 10.0.0.1 172.18.0.1/24 up/up N/A N/A Loopback0 10.1.0.1/32 up/up N/A N/A docker0 240.127.1.1/24 up/down N/A N/A eth0 192.168.0.126/24 up/up N/A N/A lo 127.0.0.1/16 up/up N/A N/A admin@sonic:~$ sudo show ipv6 interfaces Interface Master IPv6 address/mask Admin/Oper BGP Neighbor Neighbor IP ----------- -------- --------------------------------------- ------------ -------------- ------------- Bridge fe80::8013:9ff:feb5:5bc6%Bridge/64 up/down N/A N/A Ethernet0 2002::1/64 up/up N/A N/A Loopback0 fe80::744f:d2ff:fe6f:8c8e%Loopback0/64 up/up N/A N/A docker0 fd00::1/80 up/down N/A N/A fe80::1%docker0/64 up/down N/A N/A eth0 2001::8/64 up/up N/A N/A fe80::72b3:d5ff:fecc:f7f3%eth0/64 up/up N/A N/A lo ::1/128 up/up N/A N/A
admin@sonic:~$ sudo config save -y
To configure interfaces and ports on SONiC, modify the INTERFACE hierarchy statements in the /etc/sonic/config_db.json file.
"INTERFACE": { "Ethernet0": {}, "Ethernet0|172.18.0.1/24": {}, } "PORT": { "Ethernet0": { "admin_status": "up", "alias": "Ethernet0", "fec": "rs", "index": "0", "lanes": "121,122,123,124", "mtu": "9100", "speed": "100000" },
admin@sonic:~$ sudo config interface ip add PortChannel01 192.168.0.100/24 admin@sonic:~$ sudo config interface ip add PortChannel01 2002::1/64
admin@sonic:~$ show ip interfaces Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP ------------- -------- ------------------- ------------ -------------- ------------- Loopback0 10.1.0.1/32 up/up N/A N/A PortChannel01 192.168.0.100/24 up/down N/A N/A docker0 240.127.1.1/24 up/down N/A N/A eth0 192.168.0.126/24 up/up N/A N/A lo 127.0.0.1/16 up/up N/A N/A admin@sonic:~$ show ipv6 interfaces Interface Master IPv6 address/mask Admin/Oper BGP Neighbor Neighbor IP ------------- ------------- ---------------------------------------- ------------ -------------- ------------- Bridge fe80::3049:73ff:fef0:271%Bridge/64 up/down N/A N/A Loopback0 fe80::5c79:5bff:fe2e:f6fb%Loopback0/64 up/up N/A N/A PortChannel01 2002::1/64 up/down N/A N/A docker0 fd00::1/80 up/down N/A N/A fe80::1%docker0/64 up/down N/A N/A eth0 fe80::72b3:d5ff:fecc:f7f3%eth0/64 up/up N/A N/A lo ::1/128 up/up N/A N/A
Save settings to config_db.json
admin@sonic:~$ sudo config save -y
Modify the PORTCHANNEL hierarchy statements in the /etc/sonic/config_db.json file.
"PORTCHANNEL": { "PortChannel01": { "admin_status": "up", "mtu": "9100" } }, "PORTCHANNEL_INTERFACE": { "PortChannel01": {}, "PortChannel01|192.168.0.100/24": {}, "PortChannel01|2002::1/64": {} }, "PORTCHANNEL_MEMBER": { "PortChannel01|Ethernet0": {}, "PortChannel01|Ethernet12": {} },
admin@sonic:~$ sudo config interface ip add Loopback0 1.1.1.1/32
admin@sonic:~$ sudo config interface ip add Loopback0 2002::1/128
admin@sonic:~$ show ip interfaces
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Loopback0 1.1.1.1/32 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 192.168.10.1/16 up/up N/A N/A
lo 127.0.0.1/8 up/up N/A N/A
admin@sonic:~$ show ipv6 interfaces
Interface Master IPv6 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- -------------------------------------- ------------ -------------- -------------
Loopback0 2002::1/128 up/up N/A N/A
lo ::1/128 up/up N/A N/A
admin@sonic:~$ sudo config save -y
Taoyuan, Taiwan, 20th of January 2025. Netberg, the leading provider of open networking solutions, announces support of Ubuntu 24.04 Noble Numbat on its Broadcom-enabled portfolio.
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.