The display upgrade state command displays the smooth upgrade status of member switches in a stack.
Parameter |
Description |
Value |
---|---|---|
slot slot-id |
Specifies the stack ID of a member switch. |
The value is an integer that ranges from 0 to 8. |
To check the status of member switches in the active and backup areas before or after a smooth upgrade, run the display upgrade state command.
If you specify the slot slot-id parameter in the command, you can check whether the member switch with this slot ID has been upgraded successfully.
If the master switch of a stack restarts or experiences a master/standby switchover after a smooth upgrade, area information will be deleted from the master switch, and the Area field of the master switch will be displayed as unknown.
# Display the smooth upgrade status of member switches in a stack.
<HUAWEI> display upgrade state
Slot Area Status
-----------------------------
0 backup backup rebooting
3 backup backup rebooting
4 active backup rebooting
8 active backup rebooting
# Display the smooth upgrade status of the member switch with stack ID 4.
<HUAWEI> display upgrade state slot 4
--------------------------------------
Slot : 4
Area : backup
Status : successful
ErrorCode : -
Description : -
--------------------------------------
Item |
Description |
---|---|
Slot |
Stack ID of a device. |
Area |
Area to which a device belongs.
|
Status |
Upgrade progress of a device.
|
ErrorCode |
Error code of an upgrade failure. |
Description |
Description about the failure if an upgrade fails. |