< Home

Configuring System Startup Files

Pre-configuration Tasks

Before configuring the system startup files, complete the following tasks:
  • 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

Before specifying the files for next startup, you can run the display startup command to view the specified files for next startup.
  • 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.

    You need to upload the system software and corresponding signature file to the switch before using this command.

  • Run startup system-software system-file

    The system software to be loaded for next startup is specified.

    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.

Verifying the Configuration

After the configuration is complete, run the display startup command to view the system software, configuration file and patch file for next startup.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >