R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
24
Configuration file management
The device provides the configuration file management function. You can manage configuration files on
the user-friendly CLI.
Configuration file overview
A configuration file stores device settings as a set of text commands. You can save the current
configuration to a configuration file so that the configuration takes effect at the next startup. In addition,
you can view the configuration information, and upload or download the configuration file to or from
another device.
Types of configuration
The configuration of a device falls into the following types:
• Startup configuration, a configuration file used for initialization when the device boots. If this file
does not exist, the system boots by using the default parameters.
• Running configuration, which refers to the currently running configuration of the system. The current
configuration may include the startup configuration if the startup configuration is not modified
during system operation, and it also includes the newly added configuration. The current
configuration is stored in the temporary storage medium of the device, and will be removed when
the device reboots if not saved.
Format and content of a configuration file
A configuration file is saved as a text file. It is saved following these rules:
• A configuration file contains commands.
• Only non-default configuration settings are saved.
• The commands are listed in sections by views, usually in this order: system view, interface view,
routing protocol view, and user interface view.
• Sections are separated with one or more blank lines or comment lines that start with a pound sign
#.
• A configuration file ends with a return.
Coexistence of multiple configuration files
The device can save multiple configuration files on its storage media. You can save the configurations
used in different networking environments as different configuration files. When the device moves
between networking environments, specify the configuration file as the startup configuration file to be
used at the next startup of the device and then restart the device. Multiple configuration files allow the
device adapt to the network rapidly, saving the configuration workload.
A device boots using only one configuration file. You can specify a configuration file for the next startup
of the device. When the device boots, the system uses this configuration file.
You can specify a configuration file for the next boot of the device in the following two methods: