< Home

display rollback

Function

The display rollback { information | result } command displays rollback information in the system.

Format

display rollback { information | result }

Parameters

Parameter

Description

Value

information

Displays version information after the system is rolled back.

-

result

Checks whether the rollback is successful.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

If an error occurs during an upgrade and you need to cancel the upgrade, run the rollback command to roll back the system to the previous version.

  • Before performing a rollback, you can run the display rollback information command to preview the version status after the rollback, including the system software, configuration file, and patch file used after the rollback, as well as the remaining time for the rollback function to take effect.
  • After completing the rollback, you can run the display rollback result command to check whether the rollback is successful.

Example

# Display rollback information in the system.

<HUAWEI> display rollback information
--------------------------------------------------------------------
MainBoard:
 Software package:        flash:/basicsoft.cc
 Configuration file:      flash:/vrpcfg201506011523.zip
 Patch file:              NULL
 Rollback remain time:    00:16:49
--------------------------------------------------------------------
Table 1 Description of the display rollback information command output

Item

Description

Software package

System software used after the rollback.

Configuration file

Configuration file used after the rollback.

This configuration file is the backup configuration file automatically generated by the system after the upgrade. The file name is in the format of filenameYYYYMMDDhhmm.zip.
  • filename: indicates the name of the configuration file before the upgrade.
  • YYYY: indicates the year.
  • MM: indicates the month.
  • DD: indicates the day.
  • hh: indicates the hour.
  • mm: indicates the minute.

If the file name is too long, the system automatically shortens the file name length to the required length.

Patch file

Patch file used after the rollback.

Rollback remain time

Remaining time for the rollback function to take effect.

# Check whether the rollback is successful after the rollback is complete.

<HUAWEI> display rollback result
Rollback result: Success.
Table 2 Description of the display rollback result command output

Item

Description

Rollback result

Rollback result:

  • Success: The rollback is successful.

  • Fail: The rollback fails.

    If the rollback fails, the system displays specific rollback failure information:
    • Software rollback fail: The system software fails to be rolled back.
    • Configuration rollback fail: The configuration file fails to be rolled back.
    • Patch rollback fail: The patch file fails to be rolled back.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >