IPv6—Subnet prefix length of the device in the format NNN eg. 64 or 112. When manual boot is disabled, the bootloader determines whether to execute a device boot or a network boot based on the configured value of the rommon iPXE variable. Irrespective of whether manual boot is enabled or disabled, the bootloader uses the BOOTMODE variable to determine whether to do a device boot or a network boot. Manual boot means that the user has configured the boot manual switch command. When manual boot is disabled, and when the device reloads, the boot process starts automatically. When iPXE is disabled, the contents of the existing BOOT variable are used to determine how to boot the device.
The BOOT variable may contain a network-based uniform resource identifier (URI) (for example, http://, ftp://, tftp://), and a network boot is initiated; however DHCP is not used to get the network image path. The static network configuration is taken from the IP_ADDRESS, DEFAULT_GATEWAY, and IP_SUBNET_MASK variables. The BOOT variable may also contain a device filesystem-based path, in which case, a device filesystem-based boot is initiated. The DHCP server used for booting can identify a device through the Product ID (PID) (available in DHCP Option 60), chassis serial number (available in DHCP option 61), or the MAC address of the device.
The show inventory and show switch commands also display these values on the device. The following is sample output from the show inventory command: Device# show inventory NAME:“c38xx Stack”, DESCR:“c38xx Stack” PID:WS-3850-12X-48U-L, VID:V01 , SN: F0C1911V01A NAME:“Switch DESCR:“WS-C3850-12X48U-L” PID:WS-C3850-12X48U-L, VID:V01 , SN:F0C1911V01A NAME:”Switch1 -Power Supply DESCR:“Switch1 -Power Supply PID:PWR-C1-1100WAC, VID:V01, SN:LIT1847146Q The following is sample output from the show switch command: Device# show switch Switch/Stack Mac Address : 046c.9d01.7d80 - Local Mac Address Mac persistency wait time:
Indefinite H/W Current Switch# Role Mac Address Priority Version State ------------------------------------------------------------------------------------- 1 Member 046c.9d1e.1a00 1 Ready 2 Standby 046c.9d01.7d80 1 Ready *3 Active f8b7.e24e.9a00 1 P2B Ready The following rommon variables should be configured for iPXE: • BOOTMODE = ipxe-forever | ipxe-timeout | device • IPXE_TIMEOUT = seconds IPv6 iPXE Network Boot This illustration displays how IPv6 iPXE network boot works on a Cisco device: Provisioning IPv6 iPXE Network Boot Programmability Configuration Guide, Cisco IOS XE 17.16.x 88