Comment on page
iPXE Console Commands
iPXE includes an interactive command line that can be used for manual booting and for diagnosing problems. Commands can also be used as part of an iPXE script, or to build a custom menu.
The following commands are supported by iPXE.
The following commands are supported by iPXE.
autoboot - Boot system from network interface
ifstat - Display interfaces
ifopen - Open interfaces
ifclose - Close interfaces
ifconf or dhcp - Automatically configure interfaces
route - Display routing table
nstat - Display neighbor table
ipstat - Display IP statistics
vcreate - Create VLAN
vdestroy - Destroy VLAN
imgstat - Display images
chain or imgexec or boot - Download and boot an executable image
imgfetch or module or initrd - Download an image
kernel or imgselect or imgload - Download and select an executable image
imgfree - Discard images
imgargs - Set image command-line arguments
imgtrust - Set image trust requirement
imgverify - Verify an image as trusted
sanhook - Attach SAN device
sanboot - Boot from SAN device
sanunhook - Detach SAN device
fcstat - Display Fibre Channel ports
fcels - Issue Fibre Channel ELS request
config - Start interactive configuration tool
show - Display configuration setting
set - Set configuration setting
clear - Delete configuration setting
read - Prompt user to enter configuration setting
inc - Increment numeric value of configuration setting
login - Prompt user to enter user name and password
Flow - control commands
isset - Test for existence
iseq - Test for equality
goto - Jump to script label
exit - Exit current shell or script
menu - Create menu
item - Add menu item
choose - Choose menu item
console - Configure console
colour - Define colour
cpair - Define colour pair
Form - parameter commands
params - Create form parameter list
param - Add form parameter
echo - Print text to console
prompt - Prompt user to press key
shell - Start new interactive shell
help - Display list of available commands
sleep - Delay for fixed period of time
reboot - Reboot system
poweroff - Power off system
cpuid - Check x86 CPU feature
sync - Wait for background operations to complete
nslookup - Resolve host name to network address
ping - Check network connectivity
pciscan - Scan for PCI devices
lotest - Perform loopback testing
pxebs - Perform PXE boot server discovery
time - Measure time taken to execute command
gdbstub - Start remote debugging
profstat - Display profiling statistics
Last modified 11mo ago