120
<Sysname> system-view
[Sysname] archive configuration interval 60
Info: Archive files will be saved every 60 minutes.
archive configuration location
Syntax
archive configuration location
directory
filename-prefix
filename-prefix
undo archive configuration location
View
System view
Default Level
3: Manage level
Parameters
directory
: The path of the folder for saving configuration files, a case insensitive string of
1 to 63 characters, in the format of storage medium name:/[folder name]/subfolder
name. The folder must be created before the configuration.
filename-prefix
: The filename prefix of a saved configuration file, a string of 1 to 30
characters (can include letters, numbers, _, and - only), case insensitive.
Description
Use the
archive configuration location
command to configure the path and filename
prefix of a saved configuration file.
Use the
undo archive configuration location
command to restore the default.
By default, the path and filename prefix of a saved configuration file are not
configured, and the system does not periodically save the configuration file.
Before the current running configuration is saved either manually or automatically, the
file path and filename prefix must be configured.
If the
undo archive configuration location
command is executed, the current running
configuration can neither be saved manually nor automatically, and the configuration
by executing the
archive configuration interval
and
archive configuration max
commands restores to the default, meanwhile, the saved configuration files are
cleared.
Examples
Configure the path and the filename prefix of a saved configuration file as
flash:/archive/
and
my_archive
respectively.
<Sysname> mkdir archive