Configuration file management
The device provides the configuration file management function. Manage configuration files on the user-
friendly CLI.
Overview
A configuration file saves the device configurations as a set of text commands, allowing you to:
Save the current configuration to a configuration file so that the configuration takes effect after you
•
reboot the device.
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 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 verify that a device can start up and run normally when it has no configuration file or the
configuration file is damaged.
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.
View the startup configuration in either of the following ways:
Use the display startup command to view the currently used 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 is not
modified during system operation. It also includes any new configurations performed by users during
device operation.
The running configuration is stored in a temporary storage media of the device. You must save a setting
you have made so it can survive a reboot.
Use display current-configuration to view the current configuration.
92