< Home

display uni-mng upgrade-info

Function

The display uni-mng upgrade-info command displays AS version upgrade information.

This command can only be executed on a parent switch.

Format

display uni-mng upgrade-info [ as name as-name | verbose ]

Parameters

Parameter Description Value

as name as-name

Specifies the name of an AS.

The value must have an existing AS name.

verbose

Displays detailed version upgrade information.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display uni-mng upgrade-info command to check AS version upgrade information.

Example

# Display AS version upgrade information.

<HUAWEI> display uni-mng upgrade-info
The total number of AS is : 1
--------------------------------------------------------------------------------
 Name                            Method       Phase       Status      Result
--------------------------------------------------------------------------------
 as1                             --           --          NO-UPGRADE  --
--------------------------------------------------------------------------------
Table 1 Description of the display uni-mng upgrade-info command output

Item

Description

Name

Name of an AS.

Method

AS upgrade mode:
  • --: The upgrade task is not started.

  • ver-sync: The AS is automatically upgraded when going online.

  • upgrade: The AS is manually upgraded after going online.

Phase

Upgrade phase:
  • --: The upgrade task is not started.

  • sys-file: The system is determining whether to download the system software or is downloading the system software from the parent.

  • patch-file: The system is determining whether to download the patch file or is downloading the patch file from the parent.

  • waiting: The AS is waiting for activation.

  • activating: The AS is being activated.

  • rebooting: The AS is restarting.

Status

Whether the AS is being upgraded:
  • NO-UPGRADE: The AS is not upgraded.

  • UPGRADING: The AS is being upgraded.

Result

Upgrade result:
  • --: The upgrade task is not started.

  • successful: The upgrade is successful.

  • failed: The upgrade fails.

# Display detailed AS version upgrade information.

<HUAWEI> display uni-mng upgrade-info verbose
The total number of AS is : 1
----------------------------------------------------------------------------
 AS name                       : as1
 Work status                   : UPGRADING
 Startup system-software       : flash:/s5720-p-li-v200r013c00.cc
 Startup version               : V200R013C00
 Startup patch                 : --
 Next startup system-software  : flash:/s5720-p-li-v200r019c00spc500.cc
 Next startup patch            : --
 Download system-software      : s5720-p-li-v200r019c00spc500.cc
 Download version              : --
 Download patch                : --
 Activating file time          : immediately                                                                                        
 Activating file method        : reload                                                                                             
 Method                        : upgrade
 Upgrading phase               : sys-file
 Last operation result         : --
 Error reason                  : --
 Last operation time           : --
----------------------------------------------------------------------------

# Display detailed information after an AS version upgrade is complete.

<HUAWEI> display uni-mng upgrade-info verbose
The total number of AS is : 1
----------------------------------------------------------------------------
 AS name                       : as1
 Work status                   : NO-UPGRADE
 Startup system-software       : flash:/s5720-p-li-v200r019c00spc500.cc
 Startup version               : V200R019C00SPC500
 Startup patch                 : --
 Next startup system-software  : --
 Next startup patch            : --
 Download system-software      : --
 Download version              : --
 Download patch                : --
 Method                        : --
 Upgrading phase               : --
 Last operation result         : failed
 Error reason                  : The local file server has not been configured.
 Last operation time           : 2019-10-04  15:51:05
----------------------------------------------------------------------------
Table 2 Description of the display uni-mng upgrade-info verbose command output

Item

Description

AS name

Name of an AS.

Work status

Whether the AS is being upgraded:
  • NO-UPGRADE: The AS is not upgraded.

  • UPGRADING: The AS is being upgraded.

Startup system-software

Running system software.

Startup version

Current software version.

Startup patch

Running patch file. If this field displays --, no patch file is running.

Next startup system-software

System software that is configured for the next startup. If this field displays --, no system software is configured for the next startup.

Next startup patch

Patch package file that is configured for the next startup. If this field displays --, no patch package file is configured for the next startup.

Download system-software

Downloaded system software. If this field displays --, the upgrade task is not started.

Download version

Downloaded system software version. If this field displays --, the upgrade task is not started.

Download patch

Downloaded patch file. If this field displays --, the upgrade task is not started.

Activating file time

Activation time after the AS system software is downloaded.

  • at xxx: The downloaded AS system software is activated at the specified time.
  • delay xxx: The downloaded AS system software is activated after the specified delay time.
  • immediately: The AS system software is activated immediately after being downloaded.

Activating file method

Mode in which the AS system software is activated:

  • reload: The AS system software is activated by restarting the AS.
  • default: The AS system software is activated without restarting the AS.

Method

AS upgrade mode:
  • --: The upgrade task is not started.

  • ver-sync: The AS is automatically upgraded when going online.

  • upgrade: The AS is manually upgraded after going online.

Upgrading phase

Upgrade phase:
  • --: The upgrade task is not started.

  • sys-file: The system is determining whether to download the system software or is downloading the system software from the parent.

  • patch-file: The system is determining whether to download the patch file or is downloading the patch file from the parent.

  • waiting: The AS is waiting for activation.

  • activating: The AS is being activated.

  • rebooting: The AS is restarting.

Last operation result

Upgrade result:
  • --: The upgrade task is not started.

  • successful: The upgrade is successful.

  • failed: The upgrade fails.

Error reason

Upgrade failure reason.

Last operation time

Last time the AS is upgraded.

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