Reference Guide

File Management | 27
When you specify a file as the boot config file, it is listed in the boot variables (bootvar) as LOCAL
CONFIG FILE
. If you do not specify a boot config file, then the startup-configuration is used, although
the bootvar shows LOCAL CONFIG FILE = variable does not exist. When you specify a boot
config file, the switch reloads with that config file, rather than the startup-config. Note that if you
specify a local config file which is not present in the specified location, then the startup-configuration
is loaded.
The write memory command always saves the running-configuration to the file labeled
startup-configuration. When using a LOCAL CONFIG FILE other than the startup-config, use the copy
command to save any running-configuration changes to that local file.
Output for show bootvar with no boot configuration configured
Output for show bootvar with boot configuration configured
Related
Commands
boot host
c e
Set the location of the configuration file from a remote host.
Syntax
boot host {primary | secondary} remote-url
To return to the default settings, enter no boot host {primary | secondary} command.
Parameters
FTOS#show bootvar
PRIMARY IMAGE FILE = flash://FTOS-EF-8.2.1.0.bin
SECONDARY IMAGE FILE = flash://FTOS-EF-7.6.1.0.bin
DEFAULT IMAGE FILE = flash://FTOS-EF-7.5.1.0.bin
LOCAL CONFIG FILE = variable does not exist
PRIMARY HOST CONFIG FILE = variable does not exist
SECONDARY HOST CONFIG FILE = variable does not exist
PRIMARY NETWORK CONFIG FILE = variable does not exist
SECONDARY NETWORK CONFIG FILE = variable does not exist
CURRENT IMAGE FILE = flash://FTOS-EF-8.2.1.0.bin
CURRENT CONFIG FILE 1 = flash://startup-config
CURRENT CONFIG FILE 2 = variable does not exist
CONFIG LOAD PREFERENCE = local first
BOOT INTERFACE GATEWAY IP ADDRESS = variable does not exist
FTOS#show bootvar
PRIMARY IMAGE FILE = flash://FTOS-EF-8.2.1.0.bin
SECONDARY IMAGE FILE = flash://FTOS-EF-7.6.1.0.bin
DEFAULT IMAGE FILE = flash://FTOS-EF-7.5.1.0.bin
LOCAL CONFIG FILE = variable does not exist
PRIMARY HOST CONFIG FILE = variable does not exist
SECONDARY HOST CONFIG FILE = variable does not exist
PRIMARY NETWORK CONFIG FILE = variable does not exist
SECONDARY NETWORK CONFIG FILE = variable does not exist
CURRENT IMAGE FILE = flash://FTOS-EF-8.2.1.0.bin
CURRENT CONFIG FILE 1 = flash://CustomerA.cfg
CURRENT CONFIG FILE 2 = variable does not exist
CONFIG LOAD PREFERENCE = local first
BOOT INTERFACE GATEWAY IP ADDRESS = variable does not exist
show bootvar
Display the variable settings for the E-Series boot parameters.
primary Enter the keywords primary to attempt to load the primary host configuration files.