Configuration File Format And Content; Startup Configuration Loading Process - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

No commands are available to display the initial settings. For more information about these settings, see
the command references.
To display the product-specific default settings, use the display default-configuration command.
To display the current startup configuration file and the next-startup configuration files, use the display
startup command.
To display the contents of the main next-startup configuration file, 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
Running configuration includes startup settings that have not been changed and new settings you made.
It is stored in a volatile storage medium and takes effect while the device is operating.
New settings take effect immediately, but they must be saved to a configuration file to survive a reboot.
To view the running configuration, including settings that have not been saved yet, use the display
current-configuration command. The displayed configuration does not include parameters that use
initial settings.

Configuration file format and content

IMPORTANT:
To run on the device, a configuration file must meet the content and format requirements of the device. To
ensure a successful configuration loading at startup, use a configuration file that was automatically
created on the device or created by using the save command. If you edit the configuration file, make sure
all edits are compliant with the requirements of the device.
A configuration file must meet the following requirements:
All commands are saved in their complete form.
Commands are sorted in sections by view, typically in this order: system view, interface view,
protocol views, and user interface view.
Sections are separated with one or more blank lines or comment lines that start with a pound sign
(#).
The configuration file ends with the word return.
You can execute the save command to save the running configuration to a configuration file. To make
sure the configuration file can be loaded, HP recommends that you not edit the content and format of the
configuration file.

Startup configuration loading process

Figure 31
shows the configuration loading process during startup.
108

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents