R3204P16-HP Load Balancing Module System Management Configuration Guide-6PW101

121
Configuration maintenance
Overview
You can save the current configuration to a configuration file so that the configuration can take effect after
a device reboot. In addition, you can view the configuration information, or upload or download the
configuration file to or from another device.
Types of configuration
The device maintains the following types of configurations: factory default configuration, startup
configuration, and running configuration.
Factory default configuration
Devices are shipped with some basic settings, which are called factory default configuration. 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 default configuration 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 default configuration.
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 current configuration.
Format and content of a configuration file
A .cfg configuration file is saved as a text file. It is saved following these rules:
A configuration file contains commands, and only non-default configuration settings are saved.
Commands in a configuration file are listed in sections by views, usually in the order of system view,
interface view, routing protocol view, and user interface view. Sections are separated with one or
multiple blank lines or comment lines that start with a pound sign #.
A configuration file ends with a return.