R2511-HP MSR Router Series Fundamentals Configuration Guide(V5)
107
Ste
p
Command
Remarks
1. Create the configuration
archive directory.
See "Managing the file system." N/A
2. Enter system view.
system-view N/A
3. Configure the directory and
file name prefix for archiving
the running configuration.
archive configuration location
directory filename-prefix
filename-prefix
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
disables both manual and
automatic configuration
archiving, restores the default
settings for the archive
configuration interval and
archive configuration max
commands, and deletes all
saved configuration archives.
4. Set the maximum number of
configuration archives.
archive configuration max file-number
Optional.
The default number is 5.
Change the setting depending
on the available storage space.
Enabling automatic configuration archiving
To avoid decreasing system performance, follow these guidelines when you configure automatic
configuration archiving:
• 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) 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.
Make sure you have set an archive path and file name prefix before performing this task.
To enable automatic configuration archiving:
Ste
p
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 view configuration archive
names and their archiving time,
use the display archive
configuration command.










