Install SONiC ONIE Image
Connect to switch via serial console.
(Optional) Some switches may come with a NOS which will require you to uninstall the existing NOS first before you install SONiC. To do so, simply boot into ONIE and select Uninstall OS:
GNU GRUB version 2.02~beta2+e4a1fe391
+----------------------------------------------------------------------------+| |*ONIE: Install OS | | ONIE: Rescue | | ONIE: Uninstall OS <----- Select this one | | ONIE: Update ONIE | | ONIE: Embed ONIE | +----------------------------------------------------------------------------+|
Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line.
3. Reboot the switch into ONIE and select Install OS:
GNU GRUB version 2.02~beta2+e4a1fe391 +----------------------------------------------------------------------------+
|*ONIE: Install OS
| ONIE: Rescue
Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line.
Install SONiC. Here, we assume you have uploaded SONiC image onto a http server (192.168.2.10). Once you are in ONIE, you can first configure a management IP (192.168.0.2/24)and default gateway (192.168.0.1) for your switch, and then install the SONiC image from the http server.
ONIE:/ # ifconfig eth0 192.168.0.2 netmask 255.255.255.0
ONIE:/ # ip route add default via 192.168.0.1
ONIE:/ # onie-nos-install http://192.168.2.10/sonic-broadcom.bin
When NOS installation finishes, the box will reboot into SONiC by default. GNU GRUB version 2.02~beta2+e4a1fe391
+----------------------------------------------------------------------------+ |*SONiC-OS-7069cef | |ONIE | +----------------------------------------------------------------------------+
SONiC Login prompt. Use username admin and password Your PaSsWoRd to login for the first time. Debian GNU/Linux 8 sonic ttyS0
sonic login:
Note: By default, the SONiC console baud rate is 9600. You may need to change the baud rate in case you cannot see anything from the console after reboot.
SONiC Welcome Message of the Day:
You are on
____ ___ _ _ _ ____