Basic Operation Guide 2013/06

Table Of Contents
Example 60 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.
Listing and displaying startup-config files
PageCommand
Belowshow config files
78show config <filename>
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. Refer to
“Renaming an existing startup-config file (page 79) 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.
Multiple configuration files 77