Specifying The Config_File Environment Variable On Class A Flash File Systems - Cisco Catalyst 9500 Manual

System management configuration guide, cisco ios xe amsterdam 17.2.x
Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Specifying the CONFIG_FILE Environment Variable on Class A Flash File Systems

Specifying the CONFIG_FILE Environment Variable on Class A Flash File
Systems
On Class A flash file systems, you can configure the Cisco IOS software to load the startup configuration file
specified by the CONFIG_FILE environment variable. The CONFIG_FILE variable defaults to NVRAM.
To change the CONFIG_FILE environment variable, complete the tasks in this section:
Procedure
Step 1
Step 2
Step 3
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
238
Command or Action
Device# delete usbflash0:myconfig
Command or Action
enable
Example:
Device> enable
copy [flash-url | ftp-url | rcp-url | tftp-url |
system:running-config |
nvram:startup-config] dest-flash-url
Example:
Device# copy system:running-config
nvram:startup-config
configure terminal
Example:
Managing Configuration Files
Purpose
On Class A and B Flash file
Note
systems, when you delete a
specific file in flash memory, the
system marks the file as deleted,
allowing you to later recover a
deleted file using the undelete
EXEC command. Erased files
cannot be recovered. To
permanently erase the
configuration file, use the squeeze
EXEC command. On Class C
Flash file systems, you cannot
recover a file that has been
deleted. If you attempt to erase or
delete the configuration file
specified by the CONFIG_FILE
environment variable, the system
prompts you to confirm the
deletion.
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Copies the configuration file to the flash file
system from which the device loads the file on
restart.
Enters global configuration mode.

Advertisement

Table of Contents
loading

Table of Contents