107
Configuration file management
The device provides the configuration file management function. You can manage configuration files on
the user-friendly command line interface (CLI).
This chapter includes these sections:
•
•
•
Saving the running configuration
•
Setting configuration rollback
•
Specifying a startup configuration file to be used at the next system startup
•
Backing up the startup configuration file
•
Deleting a startup configuration file to be used at the next startup
•
Restoring a startup configuration file
•
Displaying and maintaining a configuration file
Configuration file overview
A configuration file contains a set of commands. 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
conveniently view the configuration information, or upload/download the configuration file to/from
another device to configure devices in batches.
Configuration types
The configuration loaded at startup is called "startup configuration" and the configuration that is running
on the device is called "running configuration."
Startup configuration
The device uses startup configuration to configure software features during startup.
The following are sources of startup configuration:
•
Initial settings
—Initial values or states for parameters. If the device starts up with empty
configuration, all parameters are set to their initial settings at startup.
•
Default configuration file
—Contains factory defaults, which are product-specific default settings
that are different from initial settings. The file is included in the .bin software image file. If you do not
configure the device to start up with empty configuration or a startup configuration file, the device
loads the default configuration file to configure features at startup. If a parameter is not included in
the file, the device loads its initial setting.
•
Startup configuration file
—Configuration file you specify in the Boot menu or CLI for startup. The file
is called the "next-startup configuration file." After the file is loaded at startup, it is also called the
"current startup configuration file." For high availability, you can specify two next-startup
configuration files, one main and one backup (see "
Specifying a startup configuration file to be
used at the next system startup
").