< Home

smart-upgrade right-now

Function

The smart-upgrade right-now command performs smart upgrade on a switch immediately.

Format

smart-upgrade right-now

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When the smart upgrade status of a switch is displayed as needUpdate, you can run the smart-upgrade right-now to implement loading of and upgrade to a new software version in one-click mode.

Before this command is run, you can also run the smart-upgrade download command to configure the switch to download the system file from the HOUP first and then run the smart-upgrade right-now command at the right time to implement smart upgrade. The wait time in this method is shorter than that when the smart-upgrade right-now command is run.

Precautions

Switches cannot be added to or removed from a stack during smart upgrade.

Resumable download is supported during system file download for smart upgrade. If the download is interrupted due to a network exception, run the smart-upgrade right-now command to enable the switch to continue the download from the breakpoint.

Example

# Perform smart upgrade on a switch immediately.

<HUAWEI> system-view
[HUAWEI] smart-upgrade right-now
Info: Getting version information from houp, please wait ...                    
Info: If you want to stop the upgrade, please press CTRL + C.                   
Info: Downloading file basic-soft.cc ...                               
Info: The file already exists, check whether it can be resumed from the breakpoint.
Info: Resume from the 15728640 bytes breakpoint.                                
Info: Current percent is 100%.                                                  
Info: 104372996 byte(s) received in 197.329 second(s) 516.53 Kbyte(s)/sec.      
Info: Downloading file basic-soft.cc.asc ...                           
Info: Current percent is 100%.                                                  
Info: 490 byte(s) received in 0.201 second(s) 2.38 Kbyte(s)/sec.                
Info: Downloading file basic-patch.pat ...                           
Info: The file already exists, check whether it can be resumed from the breakpoint.
Info: The file size is OK and the content is consistent.                        
Info: Downloading file basic-patch.pat.asc ...                       
Info: The file already exists, check whether it can be resumed from the breakpoint.
Info: The file size is OK and the content is consistent.                        
Info: Start verifying signature ...                                             
Info: Signature verification passed.                                            
Info: Set next startup patch basic-patch.pat successfully.           
Info: Start set next startup file, please wait...                               
Info: Set next startup file basic-soft.cc successfully.                
Info: System will rebooting for upgrade...           
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >