install-module

Function

The install-module command loads module patch packages.

Format

install-module file-name [ next-startup ]

Parameters

Parameter Description Value
file-name

Specifies the name of a dynamic load module file.

The value must be the name of an existing file.

next-startup

Indicates the dynamic load module file for the next startup.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

If next-startup is not configured, the dynamic load module file is loaded for both current and next startups.

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

NOTE:
  • The content security component of cannot be directly installed and loaded or set to the package for next startup in and later versions. It can be set to the package for next startup only in versions earlier than .

  • Before the upgrade from versions earlier than to and later versions, set the content security package for next startup can be set to the one in because the versions earlier than cannot identify the basic content security package or the enhanced content security package.

  • After the content security component is upgraded from versions earlier than to versions later than and later versions, the function is not affected, but the basic content security component and enhanced content security component cannot be loaded.

  • To upgrade the content security package that has been upgraded from versions earlier than to versions later than and later versions, cancel the current package for next startup, set a package for next startup, and restart the device.

  • After the license expires, the component controlled by the license becomes invalid after the device restarts (the configurations can be reserved but the corresponding services do not take effect). To continue to use the component, reload the license.

Example

# Load module file module.mod.

<sysname> install-module module.mod

# Set module file module.mod to be loaded upon the next startup.

<sysname> install-module module.mod next-startup

Copyright © Huawei Technologies Co., Ltd.