What To Do Next - Cisco Catalyst 9400 System Management Configuration Manual

Cisco ios xe bengaluru 17.4.x
Hide thumbs Also See for Catalyst 9400:
Table of Contents

Advertisement

Managing Configuration Files
Step 4
Step 5
Step 6
Step 7
Examples
The following example copies the running configuration file to the device. This configuration is then
used as the startup configuration when the system is restarted:
Device# copy system:running-config usbflash0:config2
Device# configure terminal
Device(config)# boot config usbflash0:config2
Device(config)# end
Device# copy system:running-config nvram:startup-config
[ok]
Device# show boot
BOOT variable = usbflash0:rsp-boot-m
CONFIG_FILE variable = nvram:
Current CONFIG_FILE variable = usbflash0:config2
Configuration register is 0x010F

What to Do Next

After you specify a location for the startup configuration file, the nvram:startup-config command is aliased
to the new location of the startup configuration file. The more nvram:startup-config EXEC command
displays the startup configuration, regardless of its location. The erase nvram:startup-config EXEC command
erases the contents of NVRAM and deletes the file pointed to by the CONFIG_FILE environment variable.
When you save the configuration using the copy system:running-config nvram:startup-config command,
the device saves a complete version of the configuration file to the location specified by the CONFIG_FILE
environment variable and a distilled version to NVRAM. A distilled version is one that does not contain access
Command or Action
boot config dest-flash-url
Example:
Device(config)# boot config 172.16.1.1
end
Example:
Device(config)# end
copy system:running-config
nvram:startup-config
Example:
Device# copy system:running-config
nvram:startup-config
show boot
Example:
Device# show boot
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
Purpose
Sets the CONFIG_FILE environment variable.
This step modifies the runtime CONFIG_FILE
environment variable.
Exits global configuration mode.
Saves the configuration performed in Step 3 to
the startup configuration.
(Optional) Allows you to verify the contents of
the CONFIG_FILE environment variable.
What to Do Next
313

Advertisement

Table of Contents
loading

Table of Contents