F3215-HP Load Balancing Module System Management Command Reference-6PW101
128
Use undo archive configuration location to restore the default.
Syntax
archive configuration location directory filename-prefix filename-prefix
undo archive configuration location
Default
No configuration archive directory or configuration archive file name prefix has been set.
Views
System view
Default command level
3: Manage level
Parameters
directory: Specifies a configuration archive directory, a case-insensitive string of 1 to 63 characters. The
directory must take the format storage-media-name:/folder-name. This directory must already exist on the
device. Otherwise, the configuration fails.
filename-prefix: Specifies a file name prefix for configuration archives, a case-insensitive string of 1 to 30
characters. Valid characters are letters, digits, underscores (_), and hyphens (-).
Usage guidelines
Before archiving the running configuration, either manually or automatically, you must configure a
directory and file name prefix for configuration archives.
Configuration archives take the file name format prefix_serial number.cfg, for example,
20080620archive_1.cfg and 20080620archive_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.
After you change the file directory or file name prefix, or reboot the device, the old configuration archives
are regarded as common configuration files, the configuration archive counter resets, and the display
archive configuration command does not display them. The serial number for new configuration archives
starts from 1.
The undo archive configuration location command not only removes the configuration archive directory
and file name prefix settings, but also disables the configuration archive function (both manual and
automatic approaches), restores the default settings of the archive configuration interval and archive
configuration max commands, and clears all configuration archives.
Examples
# Configure the configuration archive directory and archive file name prefix as cfa0:/archive/ and
my_archive:
1. Create the directory.
<Sysname> mkdir archive
.
%Created dir cfa0:/archive.
2. Specify the directory as the configuration archive directory, and configure an archive file name
prefix.
<Sysname> system-view
[Sysname] archive configuration location cfa0:/archive filename-prefix my_archive