boot ipxe
To configure iPXE boot, use the boot ipxe command in global configuration mode. To disable the configuration, use the no form of this command.
boot ipxe { forever | timeout | seconds } switch switch-number
no boot ipxe { forever | timeout | seconds } switch switch-number
Syntax Description
forever |
Attempts iPXE boot forever. |
timeout seconds |
Configures a timeout in seconds for iPXE network boot. Valid values are from 1 to 2147483647. |
switch switch-number |
Enables iPXE boot for switches in the stack. Valid values are from 0 to 9. |
Command Modes
Global configuration (config)
Command History
Release | Modification |
---|---|
Cisco IOS XE Denali 16.3.2 |
This command was introduced on Cisco Catalyst 3650 and 3850 Series Switches. |
Cisco IOS XE Everest 16.6.1 |
This command was implemented on Cisco Catalyst 9300 and 9500 Series Switches |
Usage Guidelines
iPXE is an open source implementation of the Preboot eXecution Environment (PXE). Bootloaders boot an image located on a File Transfer Protocol (FTP), Hypertext Transfer Protocol (HTTP), or Trivial File Transfer Protocol (TFTP) server.
If the forever keyword is configured, the switch sends Dynamic Host Configuration Protcol (DHCP) requests forever. If the timeout keyword is configured, DHCP requests are sent for the specified amount of time, and when the timeout expires, the switch reverts to device boot.
Examples
The following example shows how to configure an iPXE boot timeout for switch 2:
Device(config)# boot ipxe timeout 240 switch 2