Managing configuration files, Overview, Configuration types – H3C Technologies H3C SecPath F1000-E User Manual
Page 54: Factory defaults, Startup configuration, Running configuration, Configuration file format and content
43
Managing configuration files
You can use the CLI, BootWare menus, or Web interface to manage configuration files. This chapter
explains how to manage configuration files from the CLI and the Web interface.
Overview
A configuration file saves the device configurations as a set of text commands. You can save the running
configuration to a configuration file so that the configuration takes effect after you reboot the device. In
addition, you can view the configuration information conveniently, or upload or download the
configuration file to or from another device.
Configuration types
The device maintains the following types of configurations: factory defaults, startup configuration, and
running configuration.
Factory defaults
Devices are shipped with some basic settings, which are called factory defaults. These default settings
ensure that a device can start up and run normally when it has no configuration file or the configuration
file is damaged.
To view the factory defaults of the device, you can use the display default-configuration command.
Startup configuration
Use startup configuration for initialization when the device boots. If this file does not exist, the system
boots using the factory defaults.
You can view the startup configuration in either of the following ways:
•
Use the display startup command to view the currently using startup configuration file, and use the
more command to view the content of the configuration file.
•
After the reboot of the device and before configuring the device, use the display
current-configuration command to view the startup configuration.
Running configuration
The currently running configuration may include the startup configuration if the startup configuration has
not been modified during system operation. It also includes any new configurations added during the
system operation. The running configuration is stored in a temporary storage medium. You must save a
setting you have made so it can survive a reboot.
You can use the display current-configuration command to view the running configuration.
Configuration file format and content
A configuration file is saved as a text file according to these rules:
•
A configuration file contains commands.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS