< Home

upgrade start

Function

The upgrade start command starts a smooth upgrade.

Format

upgrade start

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Before running this command, run the upgrade backup-area slot command to define the active and backup areas and ensure that all member switches in the stack are running the same system software and support smooth upgrades.

If an upgrade fails, error codes and displayed message help locate the cause. Table 1 lists the error codes and displayed messages in different upgrade failure scenarios.

Table 1 Error codes and displayed messages in different upgrade failure scenarios

Upgrade Failure Scenario

Error Code

Displayed Message

Record in the backup area: The upgrade in the backup area times out and rolls back.

1

Rollback due to timeout.

Record in the active area: The upgrade in the backup area times out and rolls back.

2

Record in the backup area: The upgrade in the active area times out and rolls back.

3

Record in the active area: The upgrade in the active area times out and rolls back.

4

Record in the backup area: Rollback occurs due to a topology change in the backup area.

257

Rollback due to topology changes.

Record in the active area: Rollback occurs due to a topology change in the backup area.

258

Record in the backup area: Rollback occurs due to a topology change in the active area.

259

Record in the active area: Rollback occurs due to a topology change in the active area.

260

A member switch records that the master switch is not upgraded.

512

Master is not upgraded.

During a backup area upgrade, the master switch instructs switches in the backup area to roll back (after the active area instructs the backup area to upgrade and switches in the backup area restart).

769

Master notifies others of rollback.

During a backup area upgrade, the master switch instructs switches in the backup area to roll back (after the active area instructs the backup area to upgrade and before switches in the backup area restart).

770

During an active area upgrade, the master switch instructs switches in the active area to roll back (after the backup area instructs the active area to upgrade and before switches in the active area restart).

771

During an active area upgrade, the master switch instructs switches in the active area to roll back (after the backup area instructs the active area to upgrade and switches in the active area restart).

772

During a backup area upgrade, the master switch in the active area instructs switches in the backup area to roll back (after switches in the backup area restart).

1025

Master of the active area notifies others of rollback.

During a backup area upgrade, the master switch in the active area instructs switches in the backup area to roll back (before switches in the backup area restart).

1026

During an active area upgrade, the master switch in the active area instructs switches in the active area to roll back (before switches in the active area restart).

1027

During an active area upgrade, the master switch in the active area instructs switches in the active area to roll back (after switches in the active area restart).

1028

During a backup area upgrade, the master switch in the backup area instructs switches in the backup area to roll back (after switches in the backup area restart).

1281

Master of the backup area notifies others of rollback.

During a backup area upgrade, the master switch in the backup area instructs switches in the backup area to roll back (before switches in the backup area restart).

1282

During an active area upgrade, the master switch in the backup area instructs switches in the active area to roll back (before switches in the active area restart).

1283

During an active area upgrade, the master switch in the backup area instructs switches in the active area to roll back (after switches in the active area restart).

1284

A load event occurs, and switches in the backup area roll back.

1537

Rollback due to a load event.

A load event occurs, and switches in the active area roll back.

1549

The system software package is incorrect in the active area.

5

Active startup file is incorrect.

The system software package is incorrect in the backup area.

6

Backup startup file is incorrect.

Example

# Start a smooth upgrade.

<HUAWEI> system-view
[HUAWEI] upgrade start
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic