110
archive configuration interval
Use
archive configuration interval
to enable automatic running-configuration archiving and set the
archiving interval.
Use
undo archive configuration interval
to restore the default.
Syntax
archive configuration interval
minutes
undo archive configuration interval
Default
The system does not automatically archive the running configuration.
Views
System view
Default command level
3: Manage level
Parameters
minutes
: Specifies the interval (in minutes) for automatically saving the running configuration. The value
range is 10 to 525600 (365 days).
Usage guidelines
Before enabling automatic configuration archiving, complete the following tasks:
1.
Create a directory for saving configuration archives.
2.
Use the
archive configuration location
command to specify the directory as the configuration
archive directory and specify an archive name prefix.
Configuration archive is a function that facilitates configuration rollback. It provides the manual and
automatic methods for saving the running configuration.
Automatic configuration archiving enables the system to automatically save the running configuration to
the archive directory. For more information about the archiving mechanism, see the section about
configuration rollback in
Fundamentals Configuration Guide
.
To ensure system performance, follow these guidelines:
•
If the device configuration does not change frequently, manually archive the running configuration
as needed.
•
If the device configuration changes frequently, configure automatic archiving with an interval longer
than 1440 minutes (24 hours).
•
Change the archiving interval depending on the available storage space. The shorter the interval,
the more free storage space is required.
Examples
# Configure the system to archive the running configuration every 1600 minutes.
<Sysname> system-view
[Sysname] archive configuration interval 1600
Info: Archive files will be saved every 1600 minutes.
Related commands
archive configuration location