EdgeCore SONiC Switch Initial Setup

Note

Further installation requires a Console and Internet connectivity via the management port!

If the switch has pre-installed network operating system (NOS), it needs to be uninstalled first.

  1. NOS Uninstall (if pre-installed)

To uninstall the current NOS, access ONIE from the GRUB menu and select the Uninstall OS option.

_images/uninstallOS.png

Once it’s done, the switch will automatically reboot and get ready for the installation of EC SONiC.

  1. NOS Install

If there is no DHCP in the management network, stop the onie-discovery service and configure an IP address and default gateway manually.

onie-discovery-stop
ip addr add <management IP address/prefix> dev eth0
ip route add default via <gateway of the management network>
echo "nameserver <DNS server address>" > /etc/resolv.conf

The Cumulus image should be available on a web server to which the switch has access through the local network or the Internet.

Example:

onie-nos-install http://192.168.100.10/Edgecore-SONiC_20211125_074752_ec202012_227.bin

After completion of the installation, the switch will automatically reboot.

To login use the default username and password:

admin/YourPaSsWoRd

  1. Set up the Out-of-Band (OOB) Management.

Disable ztp:

ztp disable -y

Configure the IP address, default gateway, and DNS to establish Internet connectivity via the management port.

ip addr add <management IP address/prefix> dev eth0
ip route add default via <gateway of management network>
echo "nameserver <dns server>" > /etc/resolv.conf
  1. Netris agent installation.

Navigate to the Net–>Inventory section and click the three vertical dots (⋮) on the right side of the switch you are provisioning. Then click Install Agent and copy the one-line installer command to your clipboard.

_images/Switch-agent-installation-Inventory.png _images/Switch-agent-installation-oneliner.png _images/Switch-agent-installation-cli.png
  1. Reboot the switch

sudo reboot