# iPXE Console Commands

During the iPXE initialization phase, pressing the **C** key interrupts the automated network boot process and opens the interactive iPXE command-line interface. This provides direct administrative access to the current boot session, allowing manual execution of network operations for troubleshooting and validation purposes.

Entering the iPXE command line does not modify firmware, server configuration, or DHCP settings, and any actions performed are limited to the current boot session only. This feature is intended for diagnostic and advanced troubleshooting scenarios and should not be used during standard production boot workflows unless investigation is required.

### **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\
**route** - Display routing table\
**nstat** - Display neighbor 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

### **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

### 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\
**pciscan** - Scan for PCI devices

### Misc 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.2pintsoftware.com/2pxe-server/reference/ipxe-console-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
