software-package

Function

The integrate software-package command combines the original software package and source version package to generate an integrated software package.

The restore software-package command restores the integrated software package to the original software package.

By default, no integrated software package is generated.

Format

integrate software-package original-package integrated-package

restore software-package integrated-package

Parameters

Parameter Description Value
original-package

Specifies the name of an original software package that is stored in the CF card.

The value is a string of 1 to 127 case-sensitive characters, spaces not supported.

integrated-package

Specifies the name of an integrated software package that is stored in the CF card.

The value is a string of 1 to 127 case-sensitive characters, spaces not supported.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

During device upgrade, if the software package to be used is an original software package, run the integrate software-package command to combine the original software package and source version package to generate an integrated software package.

To restore an integrated software package to an original software package, run the restore software-package command.

Example

# Combine the original software package and source version package to generate an integrated software package.
<HUAWEI> integrate software-package xxxx-v2.cc xxxx-v1.cc
Info: During this operation, please do not operate the software package, otherwise it will cause failure.
Caution!!! This operation will modify the contents of the software package, confirm to integrate! Continue? [Y/N]: Y
Info: Prepare to integrate software package xxxx-v2.cc with xxxx-v1.cc, please wait ............
Info: step result
Info: Integrate software package passed!
# Restore the integrated software package to the original software package.
<HUAWEI> restore software-package xxxx.cc
Info: During this operation, please do not operate the software package, otherwise it will cause failure.
Caution!!! This operation will restore the software package, confirm to restore! Continue? [Y/N]: Y
Info: Prepare to restore software package xxxx.cc, please wait ............
Info: step result
Info: Restore software package passed!
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >