S4048-ON Installation Guide January 2019


ONIE service discovery

ONIE attempts to locate the installer through a number of discovery methods, as shown. To download and run an installer, the ONIE Service Discovery feature uses the first successful method found.

  1. Passed from the boot loader.
  2. Search locally attached storage devices for one of the ONIE default installer filenames (for example, USB).
  3. Exact URLs from DHCPv4.
  4. Inexact URLs based on DHCPv4 responses.
  5. Query to IPv6 link-local neighbors using HTTP for an installer.
  6. TFTP waterfall — from DHCPv4 option 66

Examples of the ONIE ifconfig eth0 Commands

If none of the ONIE Service Discovery methods are successful, you can disable this using the onie-discovery-stop command.

You can install an operating system manually from HTTP, FTP, or TFTP using the onie-nos-install <URL> command.

The ONIE Install environment uses DHCP to assign an IP address to the management interface (eth0). If that fails, it uses the default IP address

To display the IP address, use the ifconfig eth0 command.

The following is an example of the ifconfig eth0 command.

ONIE:/ # ifconfig eth0
                                 eth0 Link encap:Ethernet HWaddr 90:B1:1C:F4:9C:76
                                 inet addr: Bcast: Mask:
                                 inet6 addr: fe80::92b1:1cff:fef4:9c76/64 Scope:Link
                                 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                                 RX packets:18 errors:0 dropped:0 overruns:0 frame:0
                                 TX packets:24 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
                                 RX bytes:1152 (1.1 KiB) TX bytes:6864 (6.7 KiB)
                                 Interrupt:21 Memory:ff300000-ff320000

To assign an IP address to the management interface (eth0) and verify the network connectivity, use the ifconfig eth0 <ip address> command, as shown in the following example.

ONIE:/ # ifconfig eth0
                                 Verify the network connection with ping.
                                 ONIE:/ # ping
                                 PING ( 56 data bytes
                                 64 bytes from seq=0 ttl=62 time=1.357 ms
                                 64 bytes from seq=1 ttl=62 time=0.577 ms

Rate this content

Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\