You check the startup-config on an HP A Series switch and find that the switch uses myconfig.cfg as the main startup-config and has no backup config.
What happens if you use theundo startup saved-configuration command?
A. The myconfig.cfg file is deleted, and the switch returns to factory default settings at the next reboot.
B. The myconfig.cfg file becomes the backup startup-config, and the switch returns to factory default settings at the next reboot.
C. The myconfig.cfg file becomes the backup startup-config, and is booted at the next reboot unless you set another main startup-config
D. The myconfig.cfg file is retained in the switch’s memory, but the switch returns to factory default settings at the next reboot
Correct Answer: D
Explanation/Reference:
Moduel 4 – Basic Configuration of HP A Series Switches
Sometimes you will need to revert a switch to its factory-default settings, but the customer still wants to preserve the current startup-config file (or files).
You can meet this requirement with one command when the switch has no backup startup-config. Simply enter the undo saved-configuration command, which removes the main attribute from the main startup-config file, but preserves the file itself. When the switch reboots, it loads the factory default settings because no main or backup startupconfig is specified.
The slide displays the proper commands for meeting this requirement when the customer’s switch has both a main and a backup startup-config file.
(The process is complicated slightly because there is no undo saved-config backup command.)
First, move the backup attribute from the backup startup-config to the main startupconfig by entering startup saved-configuration
<filename> backup, specifying the filename of the main startup-config. The former backup file is preserved in the flash memory but no longer plays a role in the boot process.
The main startup-config file, file A, now has both the main and backup attributes, so you can enter reset saved-configuration backup to set the backup startupconfig to NULL without deleting the file.
Finally, enter undo startup saved-configuration to take file A out of the boot process without deleting it. Now the switch will boot at the factory default settings, but the customer’s configurations remain intact.