SONiC installation through ONIE
It have two options to install SONiC via ONIE, one option is from USB file, one option is from url.
Option 1: Installing SONiC image from USB file
1) Prepare a USB flash drive (it must be formatted in fat32), and store the target version into the USB flash drive, rename it as onie-installer.bin. Inserting the USB flash drive.
2) Restart the switch and enter the ONIE.
3) Enter the ONIE: Install OS by default.
4) The system will automatically install SONIC image, the following is the automatic installation process:
5) After the system installation is complete, it will automatically restart and start the SONiC OS.
Option 2: Installing SONiC image from url
1) Restart the switch and select ONIE to enter the ONIE, then select ONIE: Install OS. These steps are the same as Option 2 step (2)-(3).
2) Using the following command to stop the automatic search function logs display.
onie-discovery-stop
3) Configure an address for the MGMT port on the switch for file transfer. Using the following command:
-
- ifconfig eth0 <A.B.C.D> netmask <X.X.X.X>
- route add default gw <A.B.C.D>
4) Using the following command to install SONiC image from url.
onie-nos-install <image url>
5) After the installation, the device automatically restarts and starts SONiC OS.
Comments
0 comments
Please sign in to leave a comment.