< Home

Dynamic Loading

By installing the dynamic loading component package, the device can provide new services or functions without being upgraded.

Context

Dynamic loading is classified into online loading and local loading.

  • If the device can access the update center directly or through a proxy server, the online loading mode is recommended to dynamically load component packages.

  • If the device is physically isolated from the Internet and cannot access the update center through a proxy server, the local loading mode is recommended to dynamically load component packages.

The dynamic loading function applies to hot standby scenarios. You need two devices and apply the same license and dynamic loading configuration to the devices.

Online Loading Component Package Except Weak Security Algorithm Component Package

Prerequisites

  • The device has activated the licenses for component packages to be dynamically loaded. For details, see Installing License.

  • The device must be able to access the update center directly or through a proxy server. For details, see Scheduled Update.

  • Online loading requires security policies. If the device is directly connected to the update center, the device needs to permit HTTP and FTP traffic. If the device is connected to the update center through a proxy server, the device needs to permit HTTP traffic. For details, see Security Policy.

Procedure

  1. Run the download module { curstartup | nextstartup } command to download the component package for the current operating or next startup.

    • curstartup: Downloads the dynamic load module adaptive to the current system file.
    • nextstartup: Downloads the dynamic load module adaptive to the system file for the next startup.

      If startup system-software system-file is not specified, running the download module nextstartup command downloads the dynamic load module adaptive to the current system file.

  2. Run the install-module filename [ next-startup ] command to load the component package or set the component package to be loaded upon the next startup.

    You can run the dir *.mod command in the root directory $_install_mod to view the module file.

Local Loading Component Package Except Weak Security Algorithm Component Package

Prerequisites

  • The device has activated the licenses for component packages to be dynamically loaded. For details, see Installing License.

Procedure

  1. Access Huawei security platform (domain name: isecurity.huawei.com). Choose Signature Update > Signature Update. Select the corresponding product and version.
  2. Download the required component package file.

    Ensure that the system software version and component package version match. Otherwise, the component package cannot be loaded.

  3. Upload the file to the $_install_mod folder in the root directory.
  4. Run the install-module filename [ next-startup ] command to load the component package for the current or next startup.

Local Loading Weak Security Algorithm Component Package

  1. Log in to Huawei support website, and select the corresponding product node in the software download area.
  2. Select software of the required version.
  3. Click Download next to the product_version_WEAKEA.mod file of the requied version.

    Ensure that the system software version and component package version match. Otherwise, the component package cannot be loaded.

  4. Upload the file to the $_install_mod folder in the root directory.
  5. Run the install-module filename [ next-startup ] command to load the component package for the current or next startup.

Checking the Configuration

After configuring dynamic loading, you can run the display module-information verbose command to view details on dynamically loaded modules.

Uninstalling the Dynamic Loading Component Package

If a component package does not need to be dynamically loaded, run the uninstall-module { file-name [ next-startup ] | next-startup all } command to uninstall the component package to release system resources.

After the component package is uninstalled using the uninstall-module file-name command, if you need to install this component package again, you must first restart the system.

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