Basic Operation Guide 2014/02

Example 57 Switch memory assignments after the first reboot from software supporting multiple
configuration
HP Switch(config)# show config files
Configuration files:
id | act pri sec | name
---+-------------+-----------------------------------------------
1 | | oldConfig
2 | * * * | workingConfig
3 | |
In the above state, the switch always:
Uses the workingConfig file to reboot
The commands described later in this section enable you to view the current multiple configuration
status, manage multiple startup-config files, configure reboot policies, and override reboot policies
on a per-instance basis.
Viewing the startup-config file status with multiple configuration enabled
Rebooting the switch automatically enables the multiple configuration feature.
Syntax:
show config files
This command displays the available startup-config files on the switch and the current
use of each file.
id: Identifies the memory slot for each startup-config file available on the switch.
act: An asterisk ( * ) in this column indicates that the corresponding startup-config
file is currently in use.
pri: An asterisk ( * ) in this column indicates that the corresponding startup-config
file is currently assigned to the primary boot path.
sec: An asterisk ( * ) in this column indicates that the corresponding startup-config
file is currently assigned to the secondary boot path.
name: Shows the filename for each listed startup-config file in the switch. See
“Renaming an existing startup-config file (page 77) for the command you can use
to change existing startup-config filenames.
In the default configuration, if the switch was shipped from the factory with software
installed in both the primary and secondary boot paths, then one startup-config file
named config1 is used for both paths and is stored in memory slot 1. Memory slots
2 and 3 are empty in this default configuration.
Displaying the content of a specific startup-config file
With Multiple Configuration enabled, the switch can have up to three startupconfig files. Because
the show config command always displays the content of the currently active startup-config file,
the command extension shown below is needed to allow viewing the contents of any other
startup-config files stored in the switch.
Syntax:
show config <filename>
This command displays the content of the specified startupconfig file in the same
way that the show config command displays the content of the default (currently
active) startupconfig file.
Multiple configuration files 75