5-18
Examples
# Configure the path and the filename prefix of a saved configuration file as
flash:/archive/
and
my_archive
respectively.
z
Create folder
flash:/archive
on the master.
<Sysname> mkdir archive
.
%Created dir flash:/archive.
z
Create folder
flash:/archive
on a slave (with the member ID 2).
<Sysname> mkdir slot2#flash:/archive
%Created dir slot2#flash:/archive.
z
Configure the path and the filename prefix of the saved configuration file.
<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 1 to 10. The
value of the
file-number
argument is determined by the memory space. You are recommended to 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.
Since 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
the newly configured upper limit is 4, when there is a new configuration file to be saved, the system
deletes 4 oldest files, where 4 = 7-4+1.
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...