Configuration file management commands
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
Syntax
archive configuration
View
User view
Default level
3: Manage level
Parameters
None
Description
Use archive configuration to manually archive the running configuration to the configuration archive
directory.
Before manually archiving the running configuration, you must use the archive configuration location
command to specify a directory as the configuration archive directory and specify an archive name
prefix.
Configuration archive facilitates configuration rollback. It provides manual and automatic approaches to
saving the running configuration as checkpoint references. For more information about the archiving
mechanism, see the section about configuration rollback in Fundamentals Configuration Guide.
To avoid decreasing system performance:
If the device configuration does not change frequently, manually archive the running configuration
•
as needed.
If a low-speed storage medium (such as a flash memory) is used, archive the running configuration
•
manually, or configure automatic archiving with an interval longer than 1440 minutes (24 hours).
If a high-speed storage medium (such as a CF card) is used and the device configuration changes
•
frequently, set a shorter saving interval.
Related commands: archive configuration interval, archive configuration location, archive configuration
max and display archive configuration.
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.
95