R211x-HP Flexfabric 11900 Fundamentals Configuration Guide

97
Managing configuration files
You can use the CLI or the BootWare menus to manage configuration files. This chapter explains how to
manage configuration files from the CLI.
Overview
A configuration file saves a set of commands for configuring software features on the device. You can
save any configuration to a configuration file so they can survive a reboot. You can also back up
configuration files to a host for future use.
Configuration types
The configuration loaded at startup is called "startup configuration" and the configuration that is running
on the device is called "running configuration" in this chapter.
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 use their initial settings at startup.
Startup configuration file—Configuration file you specify in the BootWare menus 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 next-startup configuration file")
.
No commands are available to display the initial settings. For more information about initial settings, see
the "Default" sections in the command references.
To display the current startup configuration file and the next-startup configuration files, use the display
startup command.
To display the contents of the configuration file for the next system startup, use the display
saved-configuration command. This command does not display settings that have not been saved to the
main next-startup configuration file.
Running configuration
The running configuration includes startup settings that have not been changed and new settings you
made. The running configuration is stored in the memory and is cleared at a device reboot or power off.
To use the running configuration after a power cycling or reboot, save it to a configuration file.
To view the running configuration, use the display current-configuration command. The displayed
configuration does not include parameters that use initial settings.
Startup configuration loading process
Figure 34 shows the configuration loading process during startup.