Configuration task list – H3C Technologies H3C S5120 Series Switches User Manual

Page 613

Advertising
background image

2-4

z

The application environment has changed and the device has to run in a configuration state based

on a previous configuration file without being rebooted.

Set configuration rollback following these steps:

1) Specify the filename prefix and path for saving the current configuration.

2) Save the current running configuration with the specified filename (filename prefix + serial number)

to the specified path. The current running configuration can be saved in two ways: the system

saves the current running configuration at a specified interval; or you can save the current running

configuration as needed.

3) Roll back the current running configuration to the configuration state based on a saved

configuration file. When the related command is entered, the system first compares and then

processes the differences between the current running configuration and the specified

replacement configuration file:

z

The rollback operation does not execute the commands that are the same in the replacement

configuration file and in the current configuration file.

z

The rollback operation removes the commands only present in the current configuration file but not

in the replacement configuration file; namely, the corresponding undo form commands are

executed.

z

The rollback operation executes the commands only present in the replacement configuration file

but not in the current configuration file.

z

The rollback operation removes the commands that are different in the replacement configuration

file and in the current configuration file, and then executes them according to the replacement

configuration file.

Configuration Task List

Complete these tasks to configure the configuration rollback:

Task

Remarks

Configuring Parameters for Saving the Current
Running Configuration

Required

Saving the Current Running Configuration
Automatically

Saving the Current Running Configuration Manually

Required

Use either approach

Setting Configuration Rollback

Required

Configuring Parameters for Saving the Current Running Configuration

Before the current running configuration is saved manually or automatically, the file path and filename

prefix must be configured. After that, the system saves the current running configuration with the

specified filename (filename prefix_serial number.cfg) to the specified path. The filename of a saved

configuration file is like 20080620archive_1.cfg, or 20080620archive_2.cfg. The saved configuration

files are numbered automatically, from 1 to 1,000 (with increment of 1). If the serial number reaches

1,000, it restarts from 1. If you change the path or filename prefix, or reboot the device, the saved file

serial number restarts from 1, and the system recounts the saved configuration files. If you change the

path of the saved configuration files, the files in the original path become common configuration files,

and are not processed as saved configuration files.

Advertising