15-65
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 15 Configuring Access Control
Configuring and Storing VACLs and QoS ACLs in Flash Memory
Note
See
Chapter 25, “Modifying the Switch Boot Configuration,”
for additional information on using the
commands that are described in this section.
Automatically Moving the VACL and QoS ACL Configuration to Flash Memory
Moving the VACL and QoS ACL configuration to flash memory is done automatically only during the
system software upgrades and then only if there is not sufficient NVRAM for the upgrade. If there is not
enough NVRAM to perform a software upgrade, the QoS ACL and VACL configuration is deleted from
NVRAM and the ACL configuration is automatically moved to flash memory. When this occurs, these
syslog messages display:
1999 Sep 01 17:00:00 %SYS-1-CFG_FLASH:ACL configuration moved to bootflash:switchapp.cfg
1999 Sep 01 17:00:00 %SYS-1-CFG_ACL_DEALLOC:NVRAM full. Qos/Security ACL configuration
deleted from NVRAM.
The VACL and QoS ACL configuration has now been successfully moved to flash memory. During this
process, the system also does the following:
•
Sets the CONFIG_FILE variable to bootflash:switchapp.cfg
•
Enables the
set boot config-register auto-config
command
recurring
,
append
, and
sync
options
If an error occurs during the upgrade, these syslog messages display:
1999 Sep 01 17:00:00 %SYS-1-CFG_FLASH_ERR:Failed to write ACL configuration to
bootflash:switchapp.cfg
1999 Sep 01 17:00:00 %SYS-1-CFG_ACL_DEALLOC:NVRAM full. Qos/Security ACL configuration
deleted from NVRAM.
If you receive these error messages, the VACL and QoS ACL configuration is stored in DRAM only. You
need to make more space available in flash memory and then save the configuration to flash memory (as
described in the
“Moving the VACL and QoS ACL Configuration Back to NVRAM” section on
page 15-67
). Alternatively, you might try to delete the unneeded VACLs and the QoS ACLs and save the
ACL configuration to NVRAM using the
set config acl nvram
command.
Manually Moving the VACL and QoS ACL Configuration to Flash Memory
If your VACL and QoS ACL configuration requirements require more memory than the 512-KB
NVRAM, you can manually move the VACL and QoS ACL configuration to flash memory as follows:
Step 1
Specify the VACL and QoS ACL auto-config file to use to configure the switch at startup.
Console> (enable)
set boot auto-config bootflash:switchapp.cfg
CONFIG_FILE variable = bootflash:switchapp.cfg
Console> (enable)
Step 2
Specify if the switch should retain (
recurring
keyword) or clear (
non-recurring
keyword) the contents
of the CONFIG_FILE environment variable after a reset or power cycle.
Console> (enable)
set boot config-register auto-config recurring
Configuration register is 0x12F
ignore-config: disabled
auto-config: recurring, overwrite, sync disabled
console baud: 9600
boot: image specified by the boot system commands
Console> (enable)