![Cisco 2948G - Catalyst Switch Скачать руководство пользователя страница 524](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462524.webp)
32-8
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 32 Modifying the Switch Boot Configuration
Displaying the Switch Boot Configuration
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 CONFIG_FILE Environment Variable Entries
To clear entries from the CONFIG_FILE environment variable, perform this task in privileged mode:
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)
Displaying the Switch Boot Configuration
To display the current configuration register, BOOT environment variable, and CONFIG_FILE
environment variable settings, perform this task in privileged mode:
This example shows how to display the current configuration register, BOOT environment variable, and
CONFIG_FILE environment variable settings:
Console> (enable) show boot
BOOT variable = bootflash:cat4000.5-2-1.bin,1;
CONFIG_FILE variable = bootflash:generic.cfg;bootflash:4003_1_noc.cfg
Configuration register is 0x12f
ignore-config: disabled
auto-config: recurring
console baud: 9600
boot: image specified by the boot system commands
Console> (enable)
Task
Command
Clear entries in the CONFIG_FILE environment variable.
clear boot auto-config
Task
Command
Display the current configuration register, BOOT environment
variable, and CONFIG_FILE environment variable settings.
show boot [mod_num]