109
Configuration file management commands
In R1808P12 and later versions, the device supports the FIPS mode that complies with NIST FIPS 140-2
requirements. Support for features, commands, and parameters might differ in FIPS mode and non-FIPS
mode. For more information about FIPS mode, see
Security Configuration Guide
.
archive configuration
Use
archive configuration
to manually archive the running configuration to the configuration archive
directory.
Syntax
archive configuration
Views
User view
Default command level
3: Manage level
Usage guidelines
Before manually archiving the running configuration, 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. 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).
Examples
# Archive the running configuration.
<Sysname> archive configuration
Warning: Save the running configuration to an archive file. Continue? [Y/N]: Y
Please wait...
Info: The archive configuration file myarchive_1.cfg is saved.
Related commands
archive configuration location