Enabling Automatic Saving Of The Running Configuration - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

To do...
Configure the path and filename
prefix for saving configuration
files
Set the maximum number of
configuration files that can be
saved
NOTE:
You can only execute the saving and rollback operations on the master. To make the configuration
rollback take effect on the new master after an active/standby switchover, execute the archive
configuration location command to specify the path and filename prefix of the saved configuration file
on both the master and slave switches. Before the execution of this command, ensure that the specified
path is available on both the master and the slave switches, and that the path does not include any
member ID.
If the undo archive configuration location command is executed, the running configuration cannot be
saved either manually or automatically, and the configuration is restored to the default by executing the
archive configuration interval and archive configuration max commands, meanwhile, the saved
configuration files are cleared.
The value of the
file-number
for the

Enabling automatic saving of the running configuration

You can configure the system to save the running configuration at a specified interval, and use the
display archive configuration command to view the filenames and save time of the saved configuration
files. This enables you to easily roll back the current configuration to a previous configuration state.
Configure an automatic save interval based on the storage media's performance and the frequency of
configuration modification using the following guidelines:
If the configuration of the device does not change frequently, manually save the running
configuration as needed
If you use a high-speed storage media and the configuration of the device changes frequently, set
a shorter saving interval.
Follow these steps to enable automatic saving of the running configuration:
To do...
Enter system view
Enable the automatic saving of
the running configuration, and set
the interval
NOTE:
The path and filename prefix for saving configuration files must be specified before you configure the
automatic saving period.
Use the command...
archive configuration location
directory filename-prefix
filename-prefix
archive configuration max
file-number
file-number
argument is determined by memory space. Set a comparatively small value
argument if the available memory space is small.
Use the command...
system-view
archive configuration interval
minutes
114
Remarks
Required
By default, the path and filename
for saving configuration files are
not configured, and the system
does not save the configuration
file at a specified interval.
Optional
The default number is 5.
Remarks
Optional
Disabled by default

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents