cisco IOS XE 17.16.x — Example: iPXE Configuration

DETAILED STEPS Procedure Configuration Examples for iPXE Example: iPXE Configuration The following example shows that iPXE is configured to send DHCP requests forever until the device boots with an image: Device# configure terminal Device(config)# boot ipxe forever switch 2 Device(config)# end The following example shows how to configure the boot mode to ipxe-timeout. The configured timeout is 200 seconds. If an iPXE boot failure occurs after the configured timeout expires, the configured device boot is activated. In this example, the configured device boot is http://[2001:db8::1]/image-filename.

Device# configure terminal Device(config)# boot ipxe timeout 200 switch 2 Device(config)# boot system http://[2001:db8::1]/image-filename Device(config)# end Provisioning Configuration Examples for iPXE Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 • no boot ipxe • default boot ipxe Example: Device(config)# no boot ipxe Example: Device(config)# default boot ipxe Configures device boot. The default bot mode is device boot. Enables default configuration on the device. Step 4 end Example:

Device(config)# end Exits global configuration mode and returns to privileged EXEC mode. Programmability Configuration Guide, Cisco IOS XE 17.16.x 95