Basic Operation Guide 2013/06

Table Of Contents
For example, suppose:
Software release “A” is stored in primary flash and a later software release is stored in
secondary flash.
The system operator is using memory slot 1 for a reliable, minimal configuration (named
minconfig) for the software version in the primary flash, and slot 2 for a modified
startup-config file (named newconfig) that includes untested changes for improved network
operation with the software version in secondary flash.
The operator wants to ensure that in case of a need to reboot by pressing the Reset button, or if a
power failure occurs, the switch will automatically reboot with the minimal startup-config file in
memory slot 1. Since a reboot due to pressing the Reset button or to a power cycle always uses
the software version in primary flash, the operator needs to configure the switch to always boot
from primary flash with the startup-config file named minconfig (in memory slot 1). Also, whenever
the switch boots from secondary flash, the operator also wants the startup-config named newconfig
to be used. The following two commands configure the desired behavior.
HP Switch(config)# startup-default pri config minconfig
HP Switch(config) # startup-default sec config newconfig
Overriding the default reboot configuration policy. This command provides a method for manually
rebooting with a specific startup-config file other than the file specified in the default reboot
configuration policy.
Syntax:
boot system flash <primary | secondary>
config <filename>
Specifies the name of the startup-config file to apply for the immediate boot instance
only. This command overrides the current reboot policy.
Using reload to reboot from the current flash image and startup-config file.
Syntax:
reload
This command boots the switch from the currently active flash image and
startup-config file. Because reload bypasses some subsystem self-tests, the switch
boots faster than if you use a boot command.
Note: To identify the currently active startup-config file, use the show config files
command.
Managing startup-config files in the switch
PageCommand
79rename config <current-filename> <newname-str>
79copy config <source-filename>
config <dest-filename>
81erase config [ <filename> | startup-config ]
82Erase startup-config using the front-panel Clear + Reset Buttons
Renaming an existing startup-config file
Syntax:
rename config <current-filename> <newname-str>
Multiple configuration files 79