101
• The display archive configuration command no longer displays the old configuration
archives.
• The serial number for new configuration archives starts at 1.
After the maximum number of configuration archives is reached, the system deletes the oldest
archive to make room for the new archive.
Configuration guidelines
In an IRF fabric, the configuration archive function saves the running configuration only on the
master device. To make sure the system can archive the running configuration after a
master/subordinate switchover, create the directory on all IRF members.
Configuration procedure
To configure configuration archive parameters:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Configure the
directory and file
name prefix for
archiving the
running
configuration.
archive configuration
location
directory
filename-prefix
filename-prefix
Do not include member ID information in the
directory name.
By default, no path or file name prefix is set for
configuration archives, and the system does
not regularly save configuration.
IMPORTANT:
The
undo
form of this command performs the
following operations:
• Disables both manual and automatic
configuration archiving.
• Restores the default settings for the
archive configuration interval and
archive configuration max commands.
• Clears the configuration archive
information displayed by using the
display archive configuration
command.
3. (Optional.) Set the
maximum number of
configuration
archives.
archive configuration max
file-number
The default number is 5.
Change the setting depending on the amount of
storage available on the device.
Enabling automatic configuration archiving
Make sure you have set an archive path and file name prefix before performing this task.
To enable automatic configuration archiving:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enable automatic
configuration archiving and
set the archiving interval.
archive configuration interval
minutes
By default, this function is
disabled.
To display configuration
archive names and their
archiving time, use the
display
archive configuration
command.