114
Setting configuration archive parameters
Before archiving the running configuration, either manually or automatically, you must set a file
directory and file name prefix for configuration archives.
(In standalone mode.) The configuration archive feature saves the running configuration only on the
active MPU.
(In IRF mode.) The configuration archive feature saves the running configuration only on the active
MPU of the master device.
Configuration archives are named in the format of
prefix
_
serial number.cfg
, for example,
archive_1.cfg
and
archive_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.
If you change the file directory or file name prefix, or reboot the device, the following events occur:
•
The old configuration archives change to common configuration files.
•
The configuration archive counter is reset.
•
The
display archive configuration
command no longer displays the old configuration
archives.
•
The serial number for new configuration archives starts at 1.
After the maximum number of configuration archives is reached, the system deletes the oldest
archive to make room for the new archive.
To set configuration archive parameters:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set 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.
(In standalone mode.) The configuration
archive directory must already exist on the
active MPU and cannot include a slot number.
(In IRF mode.) The configuration archive
directory must already exist on the global active
MPU and cannot include a chassis or slot
number.
The
undo
form of this command performs the
following operations:
•
Disables both the manual and automatic
configuration archiving features.
•
Restores the default settings for the
archive configuration interval
and
archive configuration max
commands.
•
Clears the archive configuration
information displayed by using the
display archive configuration
command.
3.
(Optional.) Set the
maximum number of
configuration
archives.
archive configuration max
file-number
The default number is 5.
Change the setting depending on the amount
of storage available on the device.
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...