Check your switch
To confirm that ONIE is working properly, use the
onie-sysinfo
command. Run the
onie-sysinfo
command at the ONIE
prompt.
ONIE:/ # onie-sysinfo x86_64-dell_<
platform
>_c25
ONIE:/ # onie-sysinfo –v (ONIE Version programmed)
3.23.1.0
ONIE:/ #
ONIE:/ # uname -a
Linux onie 3.2.35-onie+ #1 SMP Tue Dec 9 17:08:16 PST 2014 x86_64 GNU/Linux ONIE:/ #
ONIE:/ #
ONIE service discovery
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 filenames—for example,
onie self update
from the USB.
2. Discover TFTP-based image from the DHCP server.
3. Query to the IPv6 link-local neighbors using HTTP for an installer.
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.
NOTE:
If you have a recovery USB plugged into your switch, you must uninstall it before using the
onie-nos-install
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 192.168.3.10/255.255.255.0.
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:xx.xx.xx.xx Bcast:xx.xxx.xxx.xxx Mask:xxx.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 xx.xx.xx.xx/xx up
Verify the network connection with ping.
ONIE:/ # ping xx.xx.x.xx
PING xx.xx.x.xx (xx.xx.x.xx): 56 data bytes
64 bytes from xx.xx.x.xx: seq=0 ttl=62 time=1.357 ms
64 bytes from xx.xx.x.xx: seq=1 ttl=62 time=0.577 ms
^C
46
Before you install an operating system