MA5800 Upgrade Guide (CLI)
MA5800 Upgrade Guide (CLI)
Issue 18
Date 2021-08-04
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Email: support@huawei.com
Purpose
This document describes how to upgrade the software of the MA5800 series in terms of the
following aspects: upgrade precautions, upgrade process, preparations, pre-upgrade check,
upgrade operations, rollback, upgrade verification, and common troubleshooting.
Related Versions
The following table lists the product versions related to this document.
Intended Audience
This document is intended for:
Technical support engineers
Maintenance engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol Description
Indicates a hazard with a high level of risk which, if not
avoided, will result in death or serious injury.
Symbol Description
Indicates a hazard with a low level of risk which, if not
avoided, could result in minor or moderate injury.
Change History
Issue Date Description
Contents
9 Appendix ...................................................................................................................................... 31
9.1 Unpacking and Packing .............................................................................................................................................. 31
9.2 Upgrade Checklist ...................................................................................................................................................... 32
9.3 Alarms and Events ...................................................................................................................................................... 33
If the target version is V100R020C00 and later versions, a source version may need to be
upgraded to an intermediate version before being upgraded to the target version.
In the XGS-PON scenario where H901XSED or H901TWED is installed, you must use a
matched MxU. Before the upgrade, check the MxU version, including MA5821A, MA5878,
and MA5616 (CCUE). You can only use version MxU V800R18C00 and later for an upgrade.
Otherwise, the MxU cannot go online after the upgrade.
Upgrade Way
You can upgrade the device software using the NMS or command line interface (CLI). The
following table lists the differences between the two scenarios.
This document describes how to remotely upgrade software of devices through CLI.
Upgrade Modes
There are two upgrade modes: the upgrade with service interruption and upgrade without
service interruption (ISSU).
Upgrade without Service Interruption only to cross-R version or cross-C version upgrade.
If the Upgrade without Service Interruption is used, contact Huawei R&D engineers for
technical support to ensure a smooth upgrade.
The differences of the two upgrade modes are as follows. For the operation differences
between the two upgrade modes, see "4.4 Activating Package File".
V100R020C00 and later versions do not support Cable. Delete cable configurations before the
upgrade.
The time required from the system restart to the recovery of control boards, service boards, and services
is related to the configured data volume.
Impact on NE management
The NE will fail to connect to the NMS during the system restart after an upgrade from
an earlier version. After the system is restarted, the NMS needs to synchronize data with
the NE.
Before running these commands, ensure that the SSH client tool supports the algorithms. Otherwise, the
SSH protocol cannot be used to connect to the device.
For more security hardening and maintenance suggestions, see Security Hardening and
Maintenance.
2 Upgrade Process
Adhere to the upgrade process when performing an upgrade. If any exceptions occur during
an upgrade, stop the upgrade and contact Huawei technical support engineers.
Activating package files may affect services. Therefore, it is advised to perform the operation
in early morning when the device carries minimum traffic.
The combined package file includes the control board package file. The combined package
file obtained must match the control board type. Any mismatch may cause faults to the
control board hardware.
Ensure that the combined package file the patch file and data file of the source version are
available in case of any necessary system downgrade. For a source version that does not
support a combined package file, ensure that the control board package file of the source
version are available.
For details about an upgrade within the same R and C version, see Patch Installation
Guide.
Procedure
Step 1 Download the software packages for the source version and target version from
http://support.huawei.com.
Step 2 Authenticate the downloaded software packages by OpenPGP. These downloaded software
packages can be used only when they are authenticated. To authenticate downloaded software
packages, click Digital Signature Authentication Mode on the upper right corner of the
Software list.
Step 3 Decompress the downloaded software package, and select the files required for the upgrade.
The name of combined package file may be differences between the different versions, please refer
to the Release Notes to see the detail the Combined package file name.
If the current combined package version of the MA5800 is V100R18C00 or lower, the size of the
package file to be loaded needs to be less than 500MB. For package file larger than 500MB, you
need to repack the package file to make it smaller than 500MB so that it can be loaded correctly. If
the current combined package version of the MA5800 is V100R18C10 or higher, there is no above
limit to the size of the package file to be loaded. How to repack a package file using the
unpacking&packing tool, seeing “8.1 ”.
V100R019C10SPC200 and later versions don't need to repack the package file.
----End
Prerequisites
Before configuring the file transfer service, ensure that network communication between the
file server and device to be upgraded is normal.
Context
This topic uses the SFTP mode as an example to describe how to upload files required
for the upgrade to the device from the file server.
Procedure
Step 1 Install the SFTP tool on the file server.
Step 2 Remotely log in to the device to be upgraded. (The SSH login mode is recommended.)
Step 3 Use the ssh sftp clear command to clear the SFTP settings in the system.
Step 4 Use the ssh sftp set command to set the user name and password for logging in to the SFTP
server.
----End
Example
For example, set the user name and password for logging in to the SFTP server.
huawei(config)#ssh sftp clear
huawei(config)#ssh sftp set
User Name(<=40 chars):testUser //SFTP server user name
User Password(<=40 chars): //SFTP server password
Listening Port(0--65535):22
Example
For example, query information about the device to be upgraded, including the software
version, patch version, board status, ONU status, CPU usage, and service traffic volume at
upstream ports. In this example:
The service board is in slot 0/3.
The active control board is in slot 0/9.
The upstream port on the control board is 0/9/0.
huawei(config)#display version
huawei(config)#display patch all
huawei(config)#display board 0
huawei(config)#display board 0/3
huawei(config)#display cpu 0/9
huawei(config-if-mpu-0/9)#display port traffic 0
Smartkit Inspector is released independently of the MA5800 series product. For more information,
contact Huawei technical support personnel.
For detailed usage guide to the Smartkit Inspector, see the Online Help of the tool. Press "F1" on
the tool interface to obtain the Online Help.
For areas that the Smartkit Inspector tool cannot be used, contact Huawei technical support
engineers for pre-upgrade check.
The project file can be saved to the default path (D:\SmartKit\app\Inspector\database\Project) or another
path. The default path is recommended
Step 2 On the Project Management page, right-click a project and choose Add NE from the
shortcut menu. In the displayed dialog box, enter NE information and click Add.
Step 3 Choose Configure > Configure Insepction Template. The Configure Insepction
Template dialog box is displayed.
In the Configure Insepction Template dialog box, Choose Device Release Template >
OLT > Checking the Services Changes > Insepction template before RFC V1, click
Finish.
Step 5 After the inspection is complete, choose Result > Create Report(E)... to generate a report.
To view the pre-upgrade inspection data of a single NE, select Independent Report when creating a
report.
Step 6 After the report is created, click Open the Directory Holding the Report… in the Creating
report is finished. dialog box.
Step 7 Enter the path containing the report, and open Sum Preventive Maintenance Report for
Engineers to view the report.
If you want to view the pre-upgrade inspection data of a single NE and have selected Independent
Report in step 5, go to the directory containing the IP address of the target NE and open the Independent
Report.xls form to view the report.
----End
Procedure
Step 1 Run the save command to save the database and configuration files.
During a new deployment, the database file must also be saved before you load the
combined package file.
If the save operation fails, do not forcibly upgrade. Locate and troubleshoot the fault
according to actual conditions. If the save operation failure persists, contact Huawei
engineer for help.
Step 2 Run the backup data command to back up the database file to the file server.
Step 3 Run the backup configuration command to back up the configuration file to the file server.
----End
Example
For example, save and back up the database file and configuration file to the file server. In this
example:
Procedure
Step 1 Run the autosave interval off command to disable periodic automatic saving or run the
autosave time off command to disable scheduled automatic saving.
----End
You can run the display progress load command to query the loading progress. In the SFTP loading
mode, the loading progress remains unchanged for a period of time when it reaches 98%. The period
ranges from 30 minutes to 120 minutes, depending on the file size and the speed of the network.
----End
Example
For example, load the combined package file of the target version V100RxxxCxxSPCxxx. In
this example:
The SFTP file transfer mode is used.
The IP address of the file transfer server is x.x.x.x.
The original combined package file is named as
V100RxxxCxxSPxxxx_wholepackage(SPCxxx)_zzzz_yyyy.bin.
V100RxxxCxxSPxxxx is the target version number, SPCxxx is the baseline version number, and
zzzz is the control board type. For http://support.huawei.com, yyyy is "Carrier"; and for
http://support.huawei.com/enterprise, yyyy is "Enterprise".
The name of combined package file may be differences between the different versions, please refer
to the Release Notes to see the detail the Combined package file name.
Activating package file may affect services, it is advised to perform the operation in early
morning when the device carries minimum traffic.
If you still fail to log in to the device after 30 minutes, the system may be abnormal due to an
upgrade failure. In this case, connect to the device through a serial port.
The upgrade with service interruption mode is recommended.
Procedure
Upgrade with service interruption
Run the upgrade command to reset the system and activate the combined package file.
Upgrade without service interruption (ISSU)
Run the upgrade issu command to upgrade the device software and activate the
combined package file.
Example
Reset the system and activate the combined package file in an upgrade with service
interruption.
huawei(config)#upgrade
Software upgrades will lead to business interruption, continue? (y/n)[n]:y
Activate the combined package file in an upgrade without service interruption.
huawei(config)#upgrade issu
Software upgrades will lead to business interruption, continue? (y/n)[n]: y
Procedure
Step 1 Run the autosave interval on command to enable periodic automatic saving or run the
autosave time on command to enable scheduled automatic saving.
----End
Context
If all items listed in Table 5-1 meet the criteria, the upgrade is successful.
Procedure
Step 1 Run the display version command to query version information about the device software
and control board. Ensure that the device version and control board version are consistent
with those in the Release Notes.
The current program area stores the target version after the upgrade and the standby program area stores
the version before the upgrade. Software in the standby program area will synchronize that in the current
program area and will be the same as the target version 48 hours later.
Step 2 Run the display io-packetfile information command to query information about the IO
board package file. Ensure that the board version information is consistent with that in the
Release Notes.
Step 3 Run the display board command to query the board status. Ensure that the status of all
boards is normal.
Step 4 Run the display board frameid/slotid command to sample-check the port status. Ensure that
the service-provisioning ports are activated.
Step 5 Run the display port traffic command to query the service traffic volume of upstream ports.
Ensure that the service traffic volume of upstream ports is close to that before the upgrade.
----End
Example
For example, verify the upgrade results after a device is upgraded. In this example:
Two control boards are configured in slots 0/9 and 0/10.
The service board is in slot 0/5.
The upstream port on the control board is 0/9/0.
huawei(config)#display version
huawei(config)#display version 0/9
huawei(config)#display version 0/10
huawei(config)#display io-packetfile information
huawei(config)#display board 0
huawei(config)#display board 0/5
huawei(config-if-mpu-0/9)#display port traffic 0
Total:1
Patches in the system cannot be rolled back
If the software to be loaded is SPCYxx or SPCYxx_WholePackage,the version is as
follows:
huawei (config)#display patch all
Software Version:MA5800V100RxxCxx
SPCYxx
------------------------------------------------------------------------
Current Patch State:
------------------------------------------------------------------------
Patch Name Patch State Delivery Attribute Dependency
------------------------------------------------------------------------
SPCYxx running common cold patch NO
------------------------------------------------------------------------
Total:1
Patches in the system cannot be rolled back
If the software to be loaded is HPzzzz or HPzzzz_WholePackage,the version is as
follows:
Note: In some patch versions, the Dependency query result is different.
huawei (config)#display patch all
Software Version:MA5800V100RxxCxx
SPHYxx
HPYxxx
------------------------------------------------------------------------
Current Patch State:
------------------------------------------------------------------------
Patch Name Patch State Delivery Attribute Dependency
------------------------------------------------------------------------
SPHYxx running common hot patch NO
HPzzzz running common hot patch YES
------------------------------------------------------------------------
Total:1
Patches in the system cannot be rolled back
Step 2 In the Configure Insepction Template dialog box,choose Device Release Template >
OLT > Checking the Services Changes > Insepction template after RFC V1, check
Finish.
Step 4 After the inspection is complete, choose Result > Create Report(E).... in the Create Report
dialog box, choose Saving Path, check OK.
To view the pre-upgrade inspection data of a single NE, select Independent Report when generating a
report.
Step 5 After the report is created, click Open the Directory Holding the Report… in the Creating
report is finished. dialog box.
Step 6 Enter the path containing the report, and open Sum Preventive Maintenance Report for
Engineers to view the report.
If you want to view the pre-upgrade inspection data of a single NE and have selected Independent
Report in step 4, go to the directory containing the IP address of the target NE and open the Independent
Report.xls form to view the report.
----End
After the upgrade, check the security risks in the current system and suggestions. The
procedure is as follows (V100R21C00 is used as an example):
Step 1 Run the display security risk command to query security risks in the current system.
Step 2 Modify the configuration items that have security risks as prompted (recommended).
If the NMS is used, check and modify the security risk information on the NMS.
Step 3 If you have any questions about the security check or configuration method, contact Huawei
technical support.
----End
You must use the database file of the source version that is backed up before the upgrade.
Otherwise, configuration data may be lost or upgrade fails.
Step 4 Load the combined package file and database of the source version.
1. Run the load packetfile command to load the combined package file of the source
version.
You can run the display progress load command to query the loading progress. In the SFTP loading
mode, the loading progress remains unchanged for a period of time when it reaches 98%. The period
ranges from 30 minutes to 120 minutes, depending on the file size and the speed of the network.
If the loading fails, refer to 8 Common Troubleshooting for handling.
huawei(config)#load packetfile ftp x.x.x.x
V100RxxxCxx[SPxxxx]_wholepackage[(SPCxxx)]_zzzz_yyyy.bin
The new packet file will overwrite the old one
Rollback function will be disabled
Be sure that the system needn't this function
Are you sure to load new packet file? (y/n)[n]:y
2. Run the load data command to load the backup database of the source version.
huawei(config)#load data ftp x.x.x.x MA5800.dat all
The new database will overwrite the old one
Rollback function will be disabled
Be sure that the system needn't this function
It's irreversible. Are you sure to load new database? (y/n)[n]:y
3. Run the reboot system command to reset the system.
huawei(config)#reboot system
Please check whether data has saved, the unsaved data will lose if reboot
system, are you sure to reboot system? (y/n)[n]: y
----End
Procedure
Step 1 Run the display language command to check whether the system version is correct.
Step 2 Run the display version frameid/slotid command to check the version of the control board.
Step 3 Run the display patch all command to check whether the patch version is correct.
Step 4 Run the display io-packetfile information command to query the information about the IO
board package file.
Step 5 Run the display board 0 command to check the status of the boards in the system.
The active control board, standby control board, service boards, and other boards must be in
the normal state.
Step 6 Run the display board frameid/slotid command to check the service port status.
The service-provisioning ports must be in the activated state.
----End
8 Common Troubleshooting
This topic provides methods for handling common exceptions that occur during or after the
upgrade.
If a problem cannot be solved using the provided handling methods, record the operations, collect
related error information, and contact Huawei technical support engineers for help.
1. File loading fails.
No. Error Message Handling Methods
1 Failed to transfer the Check whether the network cable is connected
file properly. If not, reconnect the network cable and
verify that the SFTP server can be pinged from the
device.
Check whether the SFTP server directory is correct.
If not, enter a correct directory and save the file to
the directory.
Check whether the IP address of the SFTP server is
correct. If not, enter a correct IP address.
Check whether the file name is correct. If not, enter
a correct file name.
2 The packet file is If a patch needs to be loaded to the device before the
incorrect upgrade, check whether a patch has been loaded. If
not, load a patch to the device.
Check whether the entered file name is correct. If
not, enter a correct file name.
If the file is correct, contact Huawei technical
support engineers to check whether the package file
is abnormal.
3 User name, password, The user name and password of the device are
or configuration of the inconsistent with those of the SFTPserver. Reconfigure
file server is incorrect the user name and password of the SFTP/server.
Obtain a backup control board, back up the software data, and go onsite to handle the
problem. Check the indicators on the board, and reload the software through a serial port.
If the loading fails, perform a version downgrade. If the downgrade fails, replace the
control board and reload the software.
3. Loading and backup operations fail during an upgrade task.
Record the causes, and check the device version and status. After verifying that the
device version is correct and the device status is normal, perform the loading and backup
operations again.
4. The service board can start normally, but the version fails to be upgraded.
Check whether the BIOS file of the board matches the software version. If not, upgrade
the BIOS version and then upgrade the device again. If yes, directly upgrade the device
again.
5. The service board fails to start.
Obtain a backup service board, back up the software data, and go onsite to handle the
problem.
6. All or part of service data is lost.
If all service data is lost, reload the database. If part of the service data is lost, configure
it manually to restore the services.
7. Services are unavailable after an upgrade.
Check whether service data is lost, whether the connection to the upstream device is
normal, and whether operations have been performed on the upstream device. If no
exception occurs but the services cannot recover, perform a version downgrade.
9 Appendix
Step 4 Click the button. In the dialog box that is displayed, select the package file to be
unpacked, and click Open.
Step 5 Deselect unnecessary boards. Reserve the board software that has been used and will be used.
Deselect unnecessary boards. The following uses H901XGHD used in the current
environment as an example.
When the internal database is used for the upgrade, ensure that UPDATETOOLS is selected.
Step 6 Click Pack. In the dialog box that is displayed, select the directory for saving the package file
to generate a new package file.
Step 7 Click Save. After the new package file is generated, the system displays "The operation that
packing the host package is successful." Click OK.
----End
Upgrade Procedure
Check
Post-upgrade
Verification
The following alarms and events generated are lab data and are for reference only.
Alarms
Fault Alarm Quantity Description Supports Clear Alarm
Automatic
Clearance
or Not
The 1 This fault alarm YES The
communication is reported after communication of
between the the active the board with the
board and the control board control board
control board starts up. recovers
fails. A clear alarm is NOTE
NOTE reported after This alarm is
This alarm is the generated for the
generated for active/standby standby control
the standby board.
bulk backup on
control board.
the standby
control board is
complete.
The Depending on This fault alarm YES The
communication the actual is reported after communication of
Events
Event Quantity Description
Backing up 1 This event is generated when the backup operation
files starts starts.
from the host
to the
maintenance
terminal
Backing up 1 This event is generated when the backup operation
files is ends.
successful
from the host
to the
maintenance
terminal
The loading 2 This event is generated when the loading operation
starts starts.
The loading is 2 This event is generated when the loading operation
successful ends.
Auto-load start About 10 This event is generated when an automatic upgrade
(depending on the of a board or EMU starts after the device is
actual number of successfully upgraded.
boards and
EMUs)