101
<Sysname> system-view
[Sysname] archive configuration location flash:/archive filename-prefix my_archive
2.
In IRF mode
# Configure the path and the filename prefix for saving configuration files as
flash:/archive/
and
my_archive
respectively.
•
Create folder
flash:/archive
on the active MPU of the IRF fabric.
<Sysname> mkdir archive
.
%Created dir flash:/archive.
•
Create folder
flash:/archive
on a standby MPU of the IRF fabric (with the member ID 2, and the slot
number of the standby MPU is 1).
<Sysname> mkdir chassis2slot1#flash:/archive
%Created dir chassis2slot1#flash:/archive.
•
Configure the path and the filename prefix for saving configuration files.
<Sysname> system-view
[Sysname] archive configuration location flash:/archive filename-prefix my_archive
archive configuration max
Syntax
archive configuration max
file-number
undo archive configuration max
View
System view
Default level
3: Manage level
Parameters
file-number
: The maximum number of configuration files that can be saved, in the range of 1 to 10. The
value of the
file-number
argument is determined by the memory space. HP recommends that you set a
comparatively small value for this argument if the available memory space is small.
Description
Use the
archive configuration max
command to set the maximum number of configuration files that can
be saved.
Use the
undo archive configuration max
command to restore the default.
By default, a maximum of 5 configuration files can be saved.
Because excessive configuration files occupy large memory space, you can use this command to control
the number of the files. After the maximum number of configuration files is saved, the system deletes the
oldest files when the next file is saved (either automatically or manually). When you change the
maximum number of configuration files that can be saved, the exceeded files are not deleted. If the
number of the existing configuration files is larger than or equal to the newly configured upper limit, the
system deletes the oldest
n
files when the next file is saved, where n = the current number - the newly
configured 1, for example: if the number of configuration files that have been saved is 7, and