Specifications

ONIE service discovery
The following section describes using the ONIE service discovery feature to install an operating system.
Topics:
ONIE service discovery and OS installation
ONIE service discovery and OS installation
ONIE attempts to locate the installer through several discovery methods.
To download and run an installer, the ONIE Service Discovery feature follows these steps in order and uses the first successful
method found:
1. Search locally attached storage devices for one of the ONIE default installer filenamesfor example, USB.
2. Query to the IPv4 and IPv6 link-local neighbors using HTTP for an installer.
3. Start TFTP-based image from the DHCP server.
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, USB, FTP, or TFTP using the onie-nos-install <URL>
command.
NOTE:
If you have a recovery USB plugged into your system, you must remove it before 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
link-local IPv4 address 169.254.209.190/16.
To display the IP address, use the ifconfig eth0 command, as shown:
ONIE:/ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 90:B1:1C:F4:9C:76
inet addr:x.x.x.x Bcast:x.x.x.x Mask:x.x.x.x
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 network connectivity, use the ifconfig eth0 <ip
address> command, as shown:
ONIE:/ # ifconfig eth0 x.x.x.x netmask x.x.x.x UP
Then set speed on management interface as below
ONIE:/ # ethtool -s eth0 speed 100 duplex full
Verify the network connection with ping.
ONIE:/ # ping x.x.x.x
PING x.x.x.x (x.x.x.x): 56 data bytes
64 bytes from x.x.x.x: seq=0 ttl=62 time=1.357 ms
64 bytes from x.x.x.x: seq=1 ttl=62 time=0.577 ms
^C
4
ONIE service discovery 15