H3C Technologies H3C S5120 Series Switches User Manual

Page 614

Advertising
background image

2-5

The number of saved configuration files has an upper limit. After the maximum number of files is saved,

the system deletes the oldest files when the next configuration file is saved.

Follow these steps to configure parameters for saving the current running configuration:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the path and
filename prefix of a saved
configuration file

archive configuration
location
directory
filename-prefix
filename-prefix

Required

By default, the path and
filename of the saved
configuration file are not
configured, and the system
does not save the configuration
file at a specified interval.

Set the maximum number of
configuration files that can be
saved

archive configuration max
file-number

Optional

The default number is 5.

z

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.

z

The value of the file-number argument is determined by the memory space. You are recommended

to set a comparatively small value for the file-number argument if the available memory space is

small.

Saving the Current Running Configuration Automatically

You can configure the system to save the current 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, so as to roll back the current configuration to a previous configuration state.

Configure an automatic saving interval according to the storage medium performance and the

frequency of configuration modification:

z

If the configuration of the device does not change frequently, you are recommended to save the

current running configuration manually as needed

z

If a low-speed storage medium (such as a flash) is used, you are recommended either to save the

current running configuration manually, or to configure automatic saving with an interval longer

than 1,440 minutes (24 hours).

Follow these steps to automatically save the current running configuration:

To do…

Use the command…

Remarks

Enter system view

system-view

Advertising