Performing Device Setup Configuration
Common Environment Variables
This table describes the function of the most common environment variables.
Table 5: Common Environment Variables
Variable
BOOT
MANUAL_BOOT
Boot Loader Command
set BOOT filesystem :/ file-url
...
A semicolon-separated list of
executable files to try to load
and execute when
automatically booting.
set MANUAL_BOOT yes
Decides whether the switch
automatically or manually
boots.
Valid values are 1, yes, 0, and
no. If it is set to no or 0, the
boot loader attempts to
automatically boot up the
system. If it is set to anything
else, you must manually boot
up the switch from the boot
loader mode.
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
Common Environment Variables
Cisco IOS Global Configuration
Command
boot system {filesystem : /file-url ... |
switch {number | all}}
Specifies the Cisco IOS image to load
during the next boot cycle and the stack
members on which the image is loaded.
This command changes the setting of
the BOOT environment variable.
The package provisioning file, also
referred to as the packages.conf file, is
used by the system to determine which
software packages to activate during
boot up.
• When booting in installed mode,
the package provisioning file
specified in the boot command is
used to determine which packages
to activate. For example boot
flash:packages.conf.
• When booting in bundle mode, the
package provisioning file
contained in the booted bundle is
used to activate the packages
included in the bundle. For
example, boot flash:image.bin.
boot manual
Enables manually booting the switch
during the next boot cycle and changes
the setting of the MANUAL_BOOT
environment variable.
The next time you reboot the system,
the switch is in boot loader mode. To
boot up the system, use the boot flash:
filesystem :/ file-url boot loader
command, and specify the name of the
bootable image.
51