Hello there!
Please check the following steps
1. Log in to the AR.
2. Go to the directory where the backup files are stored and enter the system view:
<Huawei>cd flash:/ <Quidway>system-view
3.Load system software.
The SFTP operation commands on the AR are the same as those in the DOS on a common PC. In this example, the SFTP server IP address is 192.168.1.4.
[Quidway]ssh client first-time enable [Quidway]sftp 192.168.1.4 Please input the username: //Enter the user name of the SFTP service. Trying 192.168.1.4 ... Press CTRL+K to abort Connected to 192.168.1.4 ... The server is not authenticated. Continue to access it? [Y/N] :y Save the server's public key? [Y/N] :y The server's public key will be saved with the name 192.168.1.4. Please wait¡ Enter password: //Enter the password of the SFTP service.
sftp-client>get ARxxx- VxxxRxxxCxx-bak.cc ARxxx- VxxxRxxxCxx.cc Remote file: / ARxxx- VxxxRxxxCxx-bak.cc ---> Local file: ARxxx- VxxxRxxxCxx.cc \ End of file SuccessInfo: Downloading file successfully ended.
ARxxx- VxxxRxxxCxx-bak.cc indicates the system backup file name, which is in the format of AR model- Version number-bak.cc.
4. Load the configuration file.
sftp-client> get iascfg-bak.zip iascfg.zip Remote file: / iascfg-bak.zip ---> local file: iascfg.zip | SuccessInfo: Uploading file successfully ended
5. Load the license file.
sftp-client> get license.dat-bak.dat license.dat Remote file: / license-bak.dat ---> local file: license.dat | SuccessInfo: Uploading file successfully ended
6. Disconnect the SFTP connection.
sftp-client> quit
7. Run the reboot command to restart the AR and re-log in.
<Huawei> reboot Info: The system is now comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait... ................... Configuration file had been saved successfully Note: The configuration file will take effect after being activated <Huawei> System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...
8. Activate the license.
The license file reloaded takes effect only after being activated.
<Huawei> license active flash:/license.dat Info: The License is being activated. Please wait for a moment. Info: Succeeded in activating the License file on the master board.
Run the following command to view the license status. The commercial license is in Normal state.
<Huawei> display license state Info: Master board license state: Normal. The remain days is xxx.