Basic Operation Guide 2014/02

This choice of which configuration file to use for the startup-config at reboot provides the following
new options:
The switch can reboot with different configuration options without having to exchange one
configuration file for another from a remote storage location.
Transitions from one software release to another can be performed while maintaining a
separate configuration for the different software release versions.
By setting a reboot policy using a known good configuration and then overriding the policy
on a per-instance basis, you can test a new configuration with the provision that if an
unattended reboot occurs, the switch will come up with the known, good configuration instead
of repeating a reboot with a misconfiguration.
General operation
Multiple configuration storage in the switch. The switch uses three memory "slots", with identity (id)
numbers of 1, 2, and 3.
Example 56 Output for show config files command
HP Switch(config)# show config files
Configuration files:
id | act pri sec | name
---+-------------+-----------------------------------------------
1 | | oldConfig
2 | * * * | workingConfig
3 | |
A startup-config file stored in a memory slot has a unique, changeable file name. The switches
covered in this guide can use the startup-config in any of the memory slots (if the software version
supports the configured features).
Boot options. With multiple startup-config files in the switch you can specify a policy for the switch
to use upon reboot. The options include:
Use the designated startup-config file with either or both reboot paths (primary or secondary
flash)
Override the current reboot policy for one reboot instance by specifying a boot path (primary
or secondary flash) and the startup-config file to use.
Changing the startup-config file. When the switch reboots, the startupconfig file supplies the
configuration for the running-config file the switch uses to operate. Making changes to the
running-config file and then executing a write-mem command (or, in the Menu interface, the Save
command) are written back to the startup-config file used at the last reboot. For example, suppose
that a system administrator performs the following on a switch that has two startup-config files
(workingconfig and backupconfig):
1. Reboot the switch through the Primary boot path using the startup-config file named
backupconfig.
2. Use the CLI to make configuration changes in the running-config file, and then execute
write-mem.
The result is that the startup-config file used to reboot the switch is modified by the actions in step
2.
Multiple configuration files 73