Hello Everyone,
In the previous post, we saw and understood what are the impacts, precautions during and after software update, and how to carry out the validation of the equipment's health to go through an update process. In this post, we will access the equipment and carry out the update process.
The first access to our equipment can be done via console or SSH:
Accessing via interface ETH/OAM (Console MODE):
The ETH/OAM interface is an interface used for console access as well as management. To access it as a console, insert the gray adapter cable that comes with the equipment into the ETH/OAM interface and at the other end connect your traditional console cable, which in turn must be connected to your PC/Laptop.

Huawei adpter cable ETH/OAM
Via console there is no password set, VRP system will ask you to set one.

Accessing the equipment via SSH
Connect an Ethernet patch cord directly to the ETH / OAM interface (Without the adapter). The IP configured in this interface is 192.168.0.1/24, you can configure any other IP address without network segment 192.168.0.0/24 for PC. Then login to the device using SSH. The credentials for accessing this mode:
Login: root
Password: Changeme_123
Download file software:
Now we will need to download the software file to the device. For that we will need an FTP server. In this procedure, I will be using my machine as an FTP server.
Ensure you have connectivity between FTP Server (PC) and FTP Client (Router).
ü Ping tests between devices (It may be necessary to disable the PC/Laptop firewall)
Connecting to FTP server
On the Router (client), log into the FTP Server (PC) and download the files located on the server and activate it on the equipment, as shown below:
<HUAWEI> ftp 192.168.0.2
Trying 192.168.0.2 ...
Press CTRL+K to abort
Connected to 192.168.0.2.
220 FTP Server ready.
User(192.168.0.2:(none)):Huawei //Enter the FTP user name user.
331 Password required for ftpuser.
Enter password:Huawei@1234 //Enter the FTP password huawei.
230 User logged in.
[ftp]binary (Don't forget to use this command before uploading the files to the router)
[ftp]get NetEngine8000-M8-V800R012C10SPC300.cc
213 17739002
200 Port command successful
150 Opening data channel for file download from server of "/ NetEngine8000-M8-V800R012C10SPC300.cc"
226 Successfully transferred "/NetEngine8000-M8-V800R012C10SPC300.cc "
FTP: 17739002 byte(s) received in 36.306 second(s) 477.145Kbyte(s)/sec
[ftp]quit
221 Goodbye
After the Software download via the FTP server is completed, the file is stored in the cfcard:/ directory of the master controller board and can be viewed using the commands Dir or dir cfcard:/ :
<HUAWEI> dir cfcard:/
Idx Attr Size(Byte) Date Time FileName
0 dr-x - Sep 14 2020 22:15:29 $_checkpoint
1 dr-x - Apr 22 2020 04:02:12 $_install_hpg
2 dr-x - Apr 22 2020 04:02:12 $_install_mod
3 dr-x - Aug 20 2020 21:19:05 $_license
4 dr-x - Aug 20 2020 21:09:16 $_security_info
5 dr-x - Sep 14 2020 19:31:53 $_startup
6 dr-x - Sep 14 2020 19:30:58 $_system
7 dr-x - Jun 24 2020 13:40:00 $_user
8 drwx - Aug 20 2020 20:01:55 KPISTAT
9 -rw- 2,722 Aug 20 2020 21:14:57 LICNetEngine8000M8_V800R012_20200820WLAB6T.xml
10 -rw- 3,344 Sep 14 2020 23:06:08 LICNetEngine8000M8_V800R012_20200913IFCI6T.xml
11 -rw- 293,750,060 Jun 24 2020 13:27:37 NetEngine8000-M8-V800R012C00SPC300.cc
12 -rw- 412,395,844 Sep 14 2020 23:04:51 NetEngine8000-M8-V800R012C10SPC300.cc
13 drwx - Jan 01 2010 00:00:36 bootfile
14 drwx - Jun 24 2020 13:36:16 bootlogfile
15 -rw- 6,951 Aug 20 2020 21:20:36 device.sys
16 drwx - Jun 24 2020 13:06:38 diaginfo
17 -rw- 4,640 Sep 14 2020 19:29:34 lcsbox
18 drwx - Sep 14 2020 19:31:15 logfile
19 drwx - Jan 01 2010 00:00:15 lost+found
20 drwx - Jun 24 2020 13:00:07 rootbak
21 drwx - Aug 19 2020 20:15:26 said
In scenarios where the equipment has two controller boards, it will be necessary to copy the software file stored in the cfcard:/ directory of the master controller to the cfcard:/ directory of the slave controller:
<HUAWEI>copy cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc slave#cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc
Warning: File cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc will be copied to slave#cfcard:/
NetEngine8000-M8-V800R012C10SPC300.cc. Continue? [Y/N]:y
100% completed.
To check the files contained in the cfcard:/ directory of the slave controller card use the command “dir slave#cfcard:/”.
Configuring the software file for the next equipment startup:
In this step of the procedure, we will be indicating to the equipment which software file we want it to use in its next startup.
First, we will analyze the integrity of the software file, to ensure that it is intact and that we will not have future problems in the equipment initialization process. To verify the integrity of a software file, we will use the command “Check system-software cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc”:
<HUAWEI>check system-software cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc
Caution!!! Confirm to check startup file! Continue? [Y/N]:y
Info: Prepare to check system software cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc, please wait ............................................................................
Info: The SHA256 hash value of the system software is 9203188432f52af2d2ae8e8da873357e36ae1367a8ebb2f3d630ee7e75f3b091.
Info: System software signature check passed!
2. If the equipment has only one controller, execute only the first command). In this step of the process, we will be indicating to the equipment which software file we want it to use on its next startup, using the following commands:
<HUAWEI>startup system-software NetEngine8000-M8-V800R012C10SPC300.cc
Info: Succeeded in setting the software for booting system in slot 9.
Warning: Ensure that the check system-software command or an offline tool has been used to verify the validity and integrity of the startup software package.
<HUAWEI>startup system-software NetEngine8000-M8-V800R012C10SPC300.cc slave-board
Info: Succeeded in setting the software for booting system in slot 10.
Warning: Ensure that the check system-software command or an offline tool has been used to verify the validity and integrity of the startup software package.
<HUAWEI>save
Warning: The current configuration will be written to the device.
Are you sure to continue? [Y/N]:y
This operation can be seen through the command "display startup":
<HUAWEI>display startup
MainBoard:
Configured startup system software: cfcard:/NetEngine8000-M8-V800R012C00SPC300.cc
Startup system software: cfcard:/NetEngine8000-M8-V800R012C00SPC300.cc
Next startup system software: cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc
Startup saved-configuration file: cfcard:/vrpcfg.zip
SlaveBoard:
Configured startup system software: cfcard:/NetEngine8000-M8-V800R012C00SPC300.cc
Startup system software: cfcard:/NetEngine8000-M8-V800R012C00SPC300.cc
Next startup system software: cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc
Startup saved-configuration file: cfcard:/vrpcfg.zip
Restart the equipment
The equipment must be restarted so that the modifications made previously take effect.
<HUAWEI>reboot
MPU 9:
Next startup system software: cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc
Next startup saved-configuration file: cfcard:/vrpcfg.zip
Next startup paf file: default
Next startup patch package: NULL
MPU 10:
Next startup system software: cfcard:/NetEngine8000-M8-V800R012C10SPC300.cc
Next startup saved-configuration file: cfcard:/vrpcfg.zip
Next startup paf file: default
Next startup patch package: NULL
System will reboot! Continue? [Y/N]:y
After initializing the equipment, we use the command "display version" to check if the equipment "came up" with the desired software version:
<HUAWEI>dis version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.200 (NetEngine 8000 V800R012C10SPC300)
Copyright (C) 2012-2020 Huawei Technologies Co., Ltd.
HUAWEI NetEngine 8000 M8 uptime is 0 day, 0 hour, 2 minutes
The upgrade is successful!


