Cisco WS-C4003 Software Guide - Page 426
Setting and Clearing the CONFIG_FILE Environment Variable, Setting the Variable
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 426 highlights
Setting and Clearing the CONFIG_FILE Environment Variable Chapter 28 Modifying the Switch Boot Configuration Setting and Clearing the CONFIG_FILE Environment Variable These sections describe how to set and clear the CONFIG_FILE environment variable: Note For more information about using configuration files, see Chapter 31, "Working with Configuration Files." Setting the Variable You can specify multiple configuration files with the set boot auto-config command by separating them with a semicolon (;). You must specify both the device name and the filename for each configuration file. Note You cannot prepend or append configuration files to the CONFIG_FILE environment variable. Entering the set boot auto-config command erases any list of configuration files previously specified using the set boot auto-config command. To set the CONFIG_FILE environment variable, perform this task in privileged mode (depending on your supervisor engine and switch type): Task Command Specify the list of configuration files to add to the set boot auto-config CONFIG_FILE environment variable. device:filename[;device:filename...] This example shows how to add a list of configuration files to the CONFIG_FILE environment variable: Console> (enable) set boot auto-config bootflash:generic.cfg;bootflash:4003_1_noc.cfg CONFIG_FILE variable = bootflash:generic.cfg;bootflash:4003_1_noc.cfg WARNING: nvram configuration may be lost during next bootup, and re-configured using the file(s) specified. Console> (enable) Clearing the Variable Settings To clear the entries from the CONFIG_FILE environment variable, perform this task in privileged mode: Task Clear the entries in the CONFIG_FILE environment variable. Command clear boot auto-config This example shows how to clear the entries in the CONFIG_FILE environment variable: Console> (enable) clear boot auto-config CONFIG_FILE variable = Console> (enable) 28-8 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 78-12647-02