Command reference

iPXE command line

The following commands are supported by iPXE. Commands may be entered at the iPXE command line or used in a script.

Boot commands
autoboot Boot system from network interface
Network interface commands
ifstat Display interfaces
ifopen Open interfaces
ifclose Close interfaces
ifconf or
dhcp
Automatically configure interfaces
iflinkwait Wait for link-up
route Display routing table
nstat Display neighbour table
ipstat Display IP statistics
vcreate Create VLAN
vdestroy Destroy VLAN
Image management commands
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
imgextract Extract a compressed or archive image
shim Configure UEFI shim image
SAN commands
sanhook Attach SAN device
sanboot Boot from SAN device
sanunhook Detach SAN device
fcstat Display Fibre Channel ports
fcels Issue Fibre Channel ELS request
Configuration setting commands
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 commands
menu Create menu
item Add menu item
choose Choose menu item
Certificate management commands
certstat Display certificates
certstore Manage certificates
certfree Discard certificates
Console management commands
console Configure console
colour Define colour
cpair Define colour pair
Form parameter commands
params Create form parameter list
param Add form parameter
Miscellaneous commands
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
ntp Get time and date via NTP
pciscan Scan for PCI devices
Obscure commands
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
cmd.txt ยท Last modified: 2023/05/24 12:57 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.