Management interfaces

Table of Contents

Serial Management Interface

Ethernet Management Interface

This page describes how to configure management interfaces.

Example model & SONiC version:

  • Aurora 721
  • Netberg SONiC: sonic-broadcom-202311-20240807

Serial Management Interface

Default serial settings in Netberg SONiC are 115200-8N1,

All initial configuration can be done using the serial connection.

Example:

minicom -D /dev/ttyUSB1 -b 115200

Ethernet Management Interface

Default settings:

  • All Netberg models will name management port “eth0”
  • DHCP address on management port”eth0″
  • Configure IP address on management port “eth0”
admin@nba721:~$ sudo config interface ip add eth0 192.168.0.133/24 

admin@nba721:~$ sudo config interface ip add eth0 2001::8/64
  • Check IP addresses
admin@nba721:~$ 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.133/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::b8ef:ceff:fe71:9e79%Bridge/64     up/down       N/A             N/A
Loopback0              fe80::3c41:d6ff:fe7e:c017%Loopback0/64  up/up         N/A             N/A
docker0                fd00::1/80                              up/down       N/A             N/A
                       fe80::1%docker0/64                                    N/A             N/A
eth0                   2001::8/64                              up/up         N/A             N/A
                       fe80::5e07:58ff:fe6f:af02%eth0/64                     N/A             N/A
lo                     ::1/128                                 up/up         N/A             N/A

Save settings to config_db.json

admin@nba721:~$ sudo config save -y

Check IP address setting in config_db.json

admin@nba721:~$ sudo nano /etc/sonic/config_db.json
   "MGMT_INTERFACE": {
       "eth0|192.168.0.133/24": {},
       "eth0|2001::8/64": {}
   },
NEWS

Latest news