112
Configuration file management
The device provides the configuration file management function. Manage configuration files on the
user-friendly command line interface (CLI).
Overview
A configuration file contains a set of commands. Save the current configuration to a configuration file so that
the configuration can take effect after a device reboot. In addition, conveniently view the configuration
information, or upload/download the configuration file to/from another device to configure devices in
batches.
Types of configuration
The device maintains the following types of configurations: factory defaults, startup configuration, and
running configuration.
Factory default
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, use display default-configuration.
Startup configuration
Use startup configuration for initialization when the device boots. If this file does not exist, the system boots
using null configuration. Null configuration is the factory default configuration, which may differ from the
default settings for commands. The factory default configuration may vary with device models.
View the startup configuration using either of the following methods:
• Use display startup to view the currently using startup configuration file, and use more to view the
content of the configuration file.
• After the reboot of the device and before configuring the device, use display current-configuration to
view the startup configuration.
Running configuration
The 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 system operation.
The running configuration is stored in the temporary storage media of the device, and is removed if not saved
when the device reboots.
Use display current-configuration to view the current validated configuration of the device.