
Emergency Restore of the boot.cfg File
Managing CMM Directory Content
page 4-32
OmniSwitch 6800/6850/9000 Switch Management Guide
December 2007
Emergency Restore of the boot.cfg File
If all copies of the
boot.cfg
file have been deleted and a system boot has occurred, network configuration
information is permanently lost. However, if the files have been deleted and
no boot has occurred
you can
issue a
write memory
command to regenerate the
boot.cfg
file.
Can I Restore the boot.file While Running from Certified?
Yes. While it is not recommended that you routinely save configuration changes while running from the
certified
directory, you can perform an emergency restore of your configuration by following the steps:
1
Copy your current configuration to a manually-generated
boot.cfg
file in the
/flash
directory by enter-
ing the following command:
-> configuration snapshot all boot.cfg
2
Copy the new
boot.cfg
file from the
/flash
directory to the
/flash/working
directory by using the
cp
command. For example:
-> cp boot.cfg working/boot.cfg
3
Reboot the switch from the
/flash/working
directory by entering the following command:
-> reload working no rollback-timeout
Once the
boot.cfg
file is confirmed to be good, it needs to be saved to the certified directory by using the
procedure described in
“Copying the Working Directory to the Certified Directory” on page 4-21
.