Gå til hovedindhold
  • Afgiv ordrer hurtigt og nemt
  • Se ordrer og spor status for din forsendelse
  • Opret og få adgang til en liste med dine produkter
Nogle artikelnumre er muligvis blevet ændret. Hvis det ikke er det, du leder efter, kan du prøve at søge i alle artikler. Søg i artikler

Dell Networking SONiC OS Fresh Install using ONIE Install

Oversigt: Dell Networking SONiC OS fresh installation using ONIE Install.

Denne artikel gælder for Denne artikel gælder ikke for Denne artikel er ikke knyttet til et bestemt produkt. Det er ikke alle produktversioner, der er identificeret i denne artikel.

Instruktioner

SONiC OS Fresh Install using ONIE Install 

Prerequisites:

Note: Once ONIE is started in ONIE install mode, ONIE install mode persists until an operating system is installed successfully.
  • Active console connection to the switch
  • Access to the ONIE > ONIE Install.
  • File Server details with operating system loaded with HTTP, TFTP, or FTP services must be available to the switch (HTTP is used for this article).

Instructions:

ONIE Uninstall: If the switch has any operating system installed, before ONIE installing a new operating system, ONIE uninstall must be performed.

  1. As the switch boots up, there is a screen with the installed software version or a choice to enter ONIE. Use the up or down arrows to select ONIE. Using the arrows also stops the automated countdown timer (Figure 1).

ONIE Menu

Figure 1: ONIE Menu
  1. Once the ONIE menu is available, use the up and down arrows to select ONIE: Uninstall OS and press ENTER. Again, there is a countdown timer, which stops once the arrows are used (Figure 2)

ONIE Sub-Menu

Figure 2: ONIE Sub-Menu

  1. ONIE uninstalls all the existing operating system (Figure 3)

ONIE Uninstall Example

Figure 3: ONIE Uninstall Example.

  1. The switch reboots and starts the ONIE Install process.


ONIE Auto OS Install: The switch starts an ONIE install process automatically (ONIE Service Discovery).

  1. The switch defaults to ONIE: Install OS, if no operating system is installed, or it may be selected using the up and down arrows from the ONIE menu (Figure 4)

ONIE: Install OS

Figure 4: ONIE: Install OS.

  1. The ONIE Service Discovery is looking for an install file by HTTP. It has found a software image file named onie-installer, has checked the file checksum, and is starting the download process (Figure 5)

ONIE-installer

Figure 5: ONIE-installer

  1. The partitions are created, and the install begins (Figure 6)

Partition Creation

Figure 6: Partition Creation


ONIE Manual OS Install: Installing an operating system manually with a specific IP address, service, and file name.

  1. The switch defaults to ONIE: Install OS, if no operating system is installed, or it may be selected using the up and down arrows from the ONIE menu. ONIE Rescue mode can be used, but we are using ONIE install mode for this example (Figure 7)

Manual Install, ONIE Install OS

Figure 7: Manual Install, ONIE Install OS.

  1. At the ONIE prompt, the autodiscovery process must be halted with the onie-stop command.

Note: Older versions of ONIE may use the command onie-discovery-stop\start. This command is deprecated in later ONIE versions.
 
Please press Enter to activate this console. Info: eth0:  Checking link... up.
Info: Trying DHCPv4 on interface: eth0
To check the install status inspect /var/log/onie.log.
Try this:  tail -f /var/log/onie.log
** Installer Mode Enabled **
ONIE:/ # onie-stop
discover: installer mode detected.
Stopping: discover... done.
ONIE:/ # Warning: Unable to configure interface using DHCPv4: eth0
  1. If a DHCP process has not obtained an IP, the IP address of the management interface can be manually configured with ifconfig eth0. Verify reachability of the address by pinging the server (Figure 8)

    ONIE:/ #
    ONIE:/ # ifconfig eth0 10.0.0.219 netmask 255.255.255.0 up
    ONIE:/ #

ifconfig Example

Figure 8: ifconfig Example

  1. If a route out of the local subnet is required to reach the install server, use the ip route add command. Check the route using ip route command.
ONIE:/ # ip route add default via 10.0.0.254
ONIE:/ #
ONIE:/ # ip route
default via 10.0.0.254 dev eth0
10.0.0.254/24 dev eth0  src 10.0.0.219
ONIE:/ #
  1. Use the onie-nos-install command to install the specific operating system file from the specific server (Figure 9)
ONIE:/ #
ONIE:/ # onie-nos-install http://10.0.0.200/Enterprise_SONiC_OS_4.0.3_vs_Standard.bin
discover: installer mode detected.
Stopping: discover... done.
Info: Attempting http://10.0.0.200/Enterprise_SONiC_OS_4.0.3_vs_Standard.bin ...
Connecting to 10.0.0.200 (10.0.0.200:80)
installer            100% |*******************************|   913M  0:00:00 ETA
ONIE: Executing installer: http://10.0.0.200/Enterprise_SONiC_OS_4.0.3_vs_Standard.bin
Verifying image checksum ... OK.
Preparing image archive ... OK.
Installing SONiC in ONIE

ONIE-nos-install Example

Figure 9: ONIE-nos-install Example


This concludes the steps required to install SONiC OS through ONIE. If further assistance is required, contact Dell Technical Support.
 

Related article:

Dell Networking SONiC image install from USB drive

Flere oplysninger

Watch this video:

Berørte produkter

Enterprise SONiC Distribution
Artikelegenskaber
Artikelnummer: 000212743
Artikeltype: How To
Senest ændret: 11 jun. 2024
Version:  6
Find svar på dine spørgsmål fra andre Dell-brugere
Supportservices
Kontrollér, om din enhed er dækket af supportservices.