No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Basic Configuration

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring Smart Upgrade

Example for Configuring Smart Upgrade

When a large number of devices need to be upgraded to a recommended version, you can deploy the smart upgrade function to implement rapid upgrade of devices.

Networking Requirements

As shown in Figure 16-3, RouterA, RouterB, and RouterC reside on a public network and can communicate with the HOUP through the Internet. These routers have reachable routes to the DNS server. Certificates houp.huawei.com_local.cer and Actalis_CA.cer of the HOUP have been stored in the storage medium of the devices. The customer wants to deploy smart upgrade to implement online upgrade of the software or patch by connecting the devices to the HOUP.

Figure 16-3  Configuring smart upgrade

Configuration Procedure

The configuration of RouterB and RouterC is similar to that of RouterA, and is not mentioned here. The following uses RouterA as an example.

  1. Configure DNS functions on RouterA, including the dynamic domain name resolution service.

    <Huawei> system-view
    [Huawei] dns resolve
    [Huawei] dns proxy enable
    [Huawei] dns server
  2. Configure a PKI realm named defaultPki_houp on RouterA and import the certificates.

    <Huawei> system-view
    [Huawei] pki realm defaultPki_houp
    [Huawei-pki-realm-defaultPki_houp] quit
    [Huawei] pki import-certificate local realm defaultPki_houp pem filename houp.huawei.com_local.cer
    [Huawei] pki import-certificate ca realm defaultPki_houp pem filename Actalis_CA.cer
  3. Configure an SSL policy on RouterA and bind the policy to the PKI realm named defaultPki_houp.

    [Huawei] ssl policy defaultPolicy_houp type client
    [Huawei-ssl-policy-defaultPolicy_houp] pki-realm defaultPki_houp
    [Huawei-ssl-policy-defaultPolicy_houp] server-verify enable
    [Huawei-ssl-policy-defaultPolicy_houp] quit
  4. Configure smart upgrade on RouterA.

    [Huawei] smart-upgrade enable
    [Huawei] smart-upgrade information telephone 123456789 email
    [Huawei] quit
  5. Check smart upgrade details.

    <Huawei> display smart-upgrade information
    Info:Loading the information.Please wait for a few minutes. 
    Scheduled upgrade:             Enable                                            
    Next upgrade time:             2019-07-17 23:00:00                                
    Check for new version:         Upgrade required                                  
    Recommended software version:  V200R010C00SPC600                                 
    Recommended patch version:     None                                              
    Upgrade description:                                                             
    Firmware and Patch Description in English:1)description:2)description: 
    Info update time:             2019-07-11 14:17:06 
    Cancellation status:           Initial                                           
    Upgrade status:                Initial                                           
    Software package size(B):      155945856                                         
    Patch package size(B):         0                                                 
    Download progress(%):          0                                                 
    Download speed(KB/s):          0.00                                              
    Download status:               notStart                                          
    Software package name:                        
    Patch package name:            None                                              
    Patch type:                    None                                              
    Last upgrade type:             now                                               
    Last upgrade time:             2019-06-29 15:49                                  
    Last upgrade result:           None  
    Device name:                   AR129CGVW-L                                             
    ESN:                           21500102152SF5900070                              
    SoftWare version:              V200R010C00SPC200                                 
    Patch version:                 None                                    
    Last startup software::        flash:/                            
    Last startup patch:            None                           
    Backup configuration file:                            
    Last startup voice package:    None                                              
    Last startup license:          None  

    The message "Check for new version: Upgrade required" is displayed in the command output, indicating that a new software version is available for upgrade.

  6. Perform smart upgrade immediately.

    <Huawei> system-view
    [Huawei] smart-upgrade right-now
    Info: Connecting to the smart upgrade platform...Please wait for a few minutes. 
    Info: Starting to download file 
    Info: Downloading file succeeded. 
    smart-upgrade: 155944876 byte(s) received in 433 second(s) 355.71Kbyte(s)/sec. 
    Info: Starting to download file 
    Info: Verifying the system software package using the signature file .................... 
    Info: Verification succeeded. 
    Info: The device needs to be reboot to proceed with the upgrade. Continue? (Y will be selected by default 30 seconds later)(Y/N)[Y]:Y

    After a restart, the device is upgraded to the new version.

Verifying the Upgrade

Check the software version after the upgrade.

[Huawei] display version
Huawei Versatile Routing Platform Software                                      
VRP (R) software, Version 5.170 (AR120 V200R010C00SPC600)                       
Copyright (C) 2011-2018 HUAWEI TECH CO., LTD                                    
Huawei AR129CGVW-L Router uptime is 2 weeks, 6 days, 20 hours, 11 minutes       

MPU 0(Master) : uptime is 2 weeks, 6 days, 20 hours, 10 minutes                 
SDRAM Memory Size    : 512     M bytes                                          
Flash 0 Memory Size  : 512     M bytes                                          
USB Disk0 Memory Size: 12      M bytes                                          
MPU version information :                                                       
1. PCB      Version  : AR129CGVW-L VER.C                                        
2. MAB      Version  : 0                                                        
3. Board    Type     : AR129CGVW-L                                              
4. BootROM  Version  : 1     
Updated: 2019-11-21

Document ID: EDOC1100034066

Views: 88393

Downloads: 486

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next