iPXE Overview Network bootloaders support booting from a network-based source. The bootloaders boot an image located on an HTTP, FTP, or TFTP server. A network boot source is detected automatically by using an iPXE-like solution. iPXE enables network boot for a device that is offline. The following are the three types of boot modes: • iPXE Timeout—Boots through iPXE network boot. Configures a timeout in seconds for iPXE network boot by using the IPXE_TIMEOUT rommon variable. Use the boot ipxe timeout command to configure iPXE timeout. When the timeout expires, device boot is activated. • iPXE Forever—Boots through iPXE network boot.
The device sends DHCP requests forever, when the boot ipxe forever command is configured. This is an iPXE-only boot (which means that the bootloader will not fall back to a device boot or a command prompt, because it will send DHCP requests forever until it receives a valid DHCP response.) • Device—Boots using the local device BOOT line configured on it. When device boot is configured, the configured IPXE_TIMEOUT rommon variable is ignored. You can activate device boot as specified below: • If BOOTMODE=ipxe-forever, device boot is not activated without user intervention (this is possible only if ENABLE_BREAK=yes).
• If BOOTMODE=ipxe-timeout, device boot is activated when the specified IPXE_TIMEOUT variable (in seconds) has elapsed. • If BOOTMODE=device, device boot is activated. This is the default active mode. • Device boot can also be activated through the CLI. Device boot is the default boot mode. Note Note Manual boot is another term used in this document. Manual boot is a flag that determines whether to do a rommon reload or not. When the device is in rommon mode, you have to manually issue the boot command. If manual boot is set to YES, the rommon or device prompt is activated.
If manual boot is set to NO, the autoboot variable is executed; this means that the value set in the BOOT variable is followed. The following section describes how an iPXE bootloader works: Provisioning iPXE Overview Programmability Configuration Guide, Cisco IOS XE 17.16.x 86