Installing OPBNOS from ONIE

To install OPBNOS from ONIE, please follow the below steps:

  • Login using the console port and reboot the switch

  • Enter ONIE mode

  • Select 'ONIE: Uninstall OS' to clean up installed images

This step takes a few minutes and reboot the switch after cleanup is complete

  • The Switch will reboot and boot into 'ONIE: Install OS' mode, run the below command to stop auto-discovery

ONIE:/ # onie-discovery-stop 

The 'onie-discovery-stop' command is deprecated and will be removed in 2019.02.

If you are using the latest version of ONIE, Use 'onie-stop' instead.

  • Assign 'eth0' with a management-IP to copy image from remote server

ONIE:/ # ifconfig eth0 <mgmt-ip> netmask <netmask> up
//Example - ifconfig eth0 netmask up
  • If server is present on different network using below command to add a default route

ONIE:/ # route add default gw <gw-ip>
//Example - route add default gw 
  • Image can be installed using HTTP or SCP:

    • SCP -

//Copy image - 
ONIE:/ # scp <user>@<server-ip>:/<dir>/opb-nos.bin opbnos.bin
//Example - scp aviz@ opbnos.bin 

//Install copied image -
ONIE:/ # onie-nos-install <image-name.bin>
//Example - onie-nos-install opbnos.bin
  • HTTP -

    • start HTTP-server on image directory, on a linux server below command can be used to achieve this

aviz@$ python3 -m http.server 8030
  • On the switch console use the below command to install the image using HTTP, This will download and install the OPBNOS

ONIE:/ # onie-nos-install http://<IP>:<port>/<opb-nos.bin>
//Example - onie-nos-install

Last updated