Purpose
Command or Action
Device(config-archive)# path flash:myconfiguration
If a directory is specified in the path instead of
file, the directory name must be followed by a
forward slash as follows: path flash:/directory/.
The forward slash is not necessary after a
filename; it is only necessary when specifying a
directory.
Note
(Optional) Sets the maximum number of archive files of
the running configuration to be saved in the Cisco IOS
configuration archive.
maximum number
Example:
Device(config-archive)# maximum 14
Step 5
• The
number
argument is the maximum number of
archive files of the running configuration to be saved
in the Cisco IOS configuration archive. Valid values
are from 1 to 14. The default is 10.
Before using this command, you must configure
the
path
command to specify the location and
filename prefix for the files in the Cisco IOS
configuration archive.
Note
(Optional) Sets the time increment for automatically saving
an archive file of the current running configuration in the
Cisco IOS configuration archive.
time-period minutes
Example:
Device(config-archive)# time-period 1440
Step 6
• The
minutes
argument specifies how often, in minutes,
to automatically save an archive file of the current
running configuration in the Cisco IOS configuration
archive.
Before using this command, you must configure
the
path
command to specify the location and
filename prefix for the files in the Cisco IOS
configuration archive.
Note
Exits to privileged EXEC mode.
end
Example:
Step 7
Device(config-archive)# end
Saves the current running configuration file to the
configuration archive.
archive config
Example:
Step 8
The
path
command must be configured before
using this command.
Note
Device# archive config
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
222
Configuration Replace and Configuration Rollback
Creating a Configuration Archive