Configuration Guidelines
Follow these guidelines when configuring and performing configuration replacement and rollback:
•
Make sure that the switch has free memory larger than the combined size of the two configuration files
(the running configuration and the saved replacement configuration). Otherwise, the configuration
replacement operation fails.
•
Make sure that the switch also has sufficient free memory to execute the configuration replacement or
rollback configuration commands.
•
Certain configuration commands, such as those pertaining to physical components of a networking
device (for example, physical interfaces), cannot be added or removed from the running configuration.
◦
A configuration replacement operation cannot remove the
interface
interface-id command line
from the running configuration if that interface is physically present on the device.
◦
The
interface
interface-id command line cannot be added to the running configuration if no such
interface is physically present on the device.
•
When using the
configure replace
command, you must specify a saved configuration as the replacement
configuration file for the running configuration. The replacement file must be a complete configuration
generated by a Cisco IOS device (for example, a configuration generated by the
copy
running-config
destination-url command).
If you generate the replacement configuration file externally, it must comply with the format of files
generated by Cisco IOS devices.
Note
Configuring the Configuration Archive
Using the
configure replace
command with the configuration archive and with the
archive config
command
is optional but offers significant benefit for configuration rollback scenarios. Before using the
archive config
command
, you must first configure the configuration archive. Starting in privileged EXEC mode, follow
these steps to configure the configuration archive:
Before You Begin
SUMMARY STEPS
1.
configure terminal
2.
archive
3.
pathurl
4.
maximumnumber
5.
time-period minutes
6.
end
7.
show running-config
8.
copy running-config startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2061
Replacing and Rolling Back Configurations
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......