uninstall-module

Function

The uninstall-module command uninstalls module patch packages.

Format

uninstall-module file-name

uninstall-module { file-name [ next-startup ] | next-startup all }

Parameters

Parameter Description Value
file-name

Specifies the name of a module patch package to be uninstalled.

The value must be the name of an existing file.

next-startup

Enables the device to delete module patch packages from the next startup module list.

-

all

Deletes all module patch packages from the next startup module list.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

If some services are not required, you can run the uninstall-module command to uninstall the corresponding module patch packages. The uninstallation takes effect after you restart the system.
  • The uninstall-module file-name command immediately uninstalls a specified module patch package.
  • The uninstall-module file-name next-startup command uninstalls a specified module patch package from the next startup module list.

Example

# Uninstall MOD501.MOD.

<sysname> uninstall-module MOD501.MOD
This will uninstall the module. Are you sure? [Y/N]y....
Info: Succeeded in uninstalling the module on the master board.
Info: Succeeded in uninstalling the module on slot 1.
Info: Succeeded in uninstalling the module on slot 6.
Info: The slot 11 does not have module to be uninstalled.
Info: The slot 13 does not have module to be uninstalled.

# Uninstall a specified module patch package from the next startup module list.

<sysname> uninstall-module li_support.mod next-startup
Info: Succeeded in resetting all next-startup module.
Related Topics
install-module
display module-information

Copyright © Huawei Technologies Co., Ltd.