R0106-HP MSR Router Series Fundamentals Command Reference(V7)
151
<Sysname> system-view
[Sysname] archive configuration interval 60
Archive files will be saved every 60 minutes.
Related commands
• archive configuration
• archive configuration location
• archive configuration max
• display archive configuration
archive configuration location
Use archive configuration location to configure the directory and file name prefix for archiving the
running configuration.
Use undo archive configuration location to restore the default.
Syntax
archive configuration location directory filename-prefix filename-prefix
undo archive configuration location
Default
No configuration archive directory or configuration archive file name prefix has been set.
Views
System view
Predefined user roles
network-admin
Parameters
directory: Specifies the name of a configuration archive directory, a case-insensitive string of 1 to 63
characters. The value for this argument must take the format storage-medium-name:/folder-name. The
directory must already exist on the active MPU. (MSR4000.)
directory: Specifies the name of a configuration archive directory, a case-insensitive string of 1 to 63
characters. The value for this argument must take the format storage-medium-name:/folder-name. The
directory must already exist on the device. (MSR2000/MSR3000.)
filename-prefix: Specifies a file name prefix for configuration archives, a case-insensitive string of 1 to 30
characters. Valid characters are letters, digits, underscores (_), and hyphens (-).
Usage guidelines
Before archiving the running configuration, either manually or automatically, you must configure a
directory and file name prefix for configuration archives.
On the MSR4000 router, the configuration archive function saves the running configuration only on the
active MPU. To make sure the system can archive the running configuration after an active/standby
switchover, create the configuration archive directory on both active and standby MPUs.
Configuration archives take the file name format prefix_serial number.cfg, for example,
20080620archive_1.cfg and 20080620archive_2.cfg. The serial number is automatically assigned from
1 to 1000, increasing by 1. After the serial number reaches 1000, it restarts from 1.