Configuring System Startup Files
Pre-configuration Tasks
Specify the system software and configuration file for system startup so that the device will start and initialize with the specified software and configuration file. Specify new patch files if the system needs to load new patches.
- Start the device and log in to the device locally or remotely.
- Save the system startup files to the root directory of the device.
Context
- If no system software is specified for next startup, the device will start with current system software. To change the system software to be loaded for next startup (during an upgrade for example), upload the new system software to the device and specify it as the system file for next startup. The system software package must use .cc as the file name extension and be saved to the root directory of the storage device.
- When the system software for next startup is configured, the system checks the system software integrity. If the digital signature of the system software is invalid, the configuration fails. Therefore, ensure the system software validity.
- If no configuration file is specified for next startup, the device will start with the default configuration file (vrpcfg.zip for example). If no configuration file is stored in the default directory, the device uses the default parameters for initialization. The configuration file name extension must be .cfg or .zip. In addition, the configuration file must be saved to the root directory of the storage device.
- The patch file name extension must be .pat. The specified patch file to be loaded for next startup must be saved to the root directory of the storage device.
- Do not change the configuration file manually and specify the configuration file for next startup. Otherwise, the device may not start normally.
Procedure
- (Optional) Run check file-integrity filename signature-filename
The system software validity is checked.
NOTE:
You need to upload the system software and corresponding signature file to the switch before using this command.
You can also run this command to check a patch file.
- Run startup system-software system-file
The system software to be loaded for next startup is specified.
NOTE:
If the specified system software is V200R005 or earlier (excluding V200R005C02), run the reset boot password command to restore the default BootLoad password and then specify the system software.
- Run startup saved-configuration configuration-file
The configuration file for next startup is specified.
The device reads the configuration file from the root directory of the storage device for initialization when powered on.
- (Optional) Run startup patch patch-name [ slave-board | slot slot-id ]
The patch file for next startup is specified.
Run this command to make the patch file take effect after the device restarts.