You can specify a stable configuration file in advance as the configuration file for disaster recovery and load the configuration file when the configuration in use or the saved configuration file cannot meet the requirement.
The configuration file for disaster recovery is a backup file generated in the hda1. This configuration file cannot be deleted, modified, or renamed. You also cannot specify the configuration file as the one for the next startup by running the startup saved-configuration command. The file becomes lost only after the hda1 is formatted.
After you specify a configuration file by running the backup configuration command, the system generates a copy as the configuration file for disaster recovery in the hda1, named nicecfg.
It is recommended that you periodically maintain the configuration file. In so doing, the latest configuration file is available for you to restore the configuration.
backup-configuration backup-filename
You can specify only one configuration file for disaster recovery. If you execute this command multiple times, the configuration file in the last time when the command is executed is specified as the configuration file for disaster recovery.
The changes of the original configuration files do not affect the configuration file for disaster recovery.
To stop using the configuration file for disaster recovery as the configuration file for startup, perform either of the following operations:
Run the display backup-configuration command to display the details on the configuration file for disaster recovery, namely, nicecfg.
Run the display startup command to display the configuration file for the next startup.
<sysname> display startup MainBoard: Configured startup system software: hda1:/sup.bin Startup system software: hda1:/sup.bin Next startup system software: hda1:/sup.bin Startup saved-configuration file: hda1:/vrpcfg.zip Next startup saved-configuration file: hda1:/vrpcfg.zip Next startup configuration: backup-configuration Startup paf file: default Next startup paf file: default Startup license file: default Next startup license file: default Startup patch package: NULL Next startup patch package: NULL
According to the output that is displayed, Next startup configuration indicates the configuration file for the next startup. Its priority is higher than that of the Next startup saved-configuration file. This item can be displayed only when the configuration file is specified for the next startup.