Dell S4112F Open Networking Hardware Diagnostic Guide December 2021 - Page 15

ONIE service discovery, ONIE service discovery and OS installation - on manual

Page 15 highlights

4 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 filenames-for example, USB. 2. Query to the IPv4 and IPv6 link-local neighbors using HTTPS 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 HTTPS, USB, FTP, or TFTP using the onie-nos-install command. NOTE: If you have a recovery USB plugged into your system, you must remove 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 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 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 ONIE service discovery 15

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

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 filenames—for example, USB.
2.
Query to the IPv4 and IPv6 link-local neighbors using HTTPS 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 HTTPS, 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