Huawei Switch Firmware upgrade

Model: S5720S-12TP-LI-AC

Firmware: V200R011C10SPC600
Patch: V200R011SPH016

to

Firmware: V200R022C00SPC500
Patch: V200R022SPH223

<HUAWEI>dis version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S5720 V200R011C10SPC600)
Copyright (C) 2000-2018 HUAWEI TECH Co., Ltd.
HUAWEI S5720S-12TP-LI-AC Routing Switch uptime is 0 week, 4 days, 23 hours, 59 minutes

ES5D2T12S000 0(Master) : uptime is 0 week, 4 days, 23 hours, 58 minutes
DDR Memory Size : 512 M bytes
FLASH Total Memory Size : 512 M bytes
FLASH Available Memory Size : 241 M bytes
Pcb Version : VER.B
BootROM Version : 020b.0a05
BootLoad Version : 020b.0a06
Software Version : VRP (R) Software, Version 5.170 (V200R011C10SPC600)
FLASH Version : 0x0

<HUAWEI>dis patch
Patch Package Name :flash:/s5720s-li-v200r011sph016.pat
Patch Package Version:V200R011SPH016
The state of the patch state file is: Running
The current state is: Running

************************************************************************
* Information about hot patch errors is as follows: *
************************************************************************

Slot CurrentVersion
------------------------------------------------------------

No hot patch error occurs on any board.

************************************************************************
* The hot patch information, as follows: *
************************************************************************

Slot Type State Count Time(YYYY-MM-DD HH:MM:SS)
------------------------------------------------------------------------
0 C Running 245 2023-11-13 00:00:59+00:00

<HUAWEI>dis startup
MainBoard:
Configured startup system software: flash:/s5720s-li-v200r011c10spc600.cc
Startup system software: flash:/s5720s-li-v200r011c10spc600.cc
Next startup system software: flash:/s5720s-li-v200r011c10spc600.cc
Startup saved-configuration file: NULL
Next startup saved-configuration file: NULL
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: flash:/s5720s-li-v200r011sph016.pat
Next startup patch package: flash:/s5720s-li-v200r011sph016.pat
<HUAWEI>

<HUAWEI>dir /all
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName
0 drw- - Sep 14 2023 16:14:32 dhcp
1 drw- - Sep 14 2023 16:13:54 user
2 -rw- 13,432 Sep 14 2023 16:14:33 default_ca.cer
3 -rw- 36 Jan 01 2017 00:01:56 $_patchstate_reboot
4 drw- - Sep 14 2023 16:13:56 security
5 -rw- 68,955,900 Aug 23 2016 03:41:43 s5720s-li-v200r011c10spc600.cc
6 -rw- 3,684 Jan 01 2017 00:01:56 $_patch_history
7 -rw- 1,903 Sep 14 2023 16:14:36 default_local.cer
8 drw- - Oct 21 2023 22:00:15 logfile
9 drw- - Sep 14 2023 16:13:54 pmdata
10 drw- - Aug 23 2016 03:00:01 $_install_mod
11 -rw- 836 Nov 13 2023 00:02:03 rr.bak
12 -rw- 836 Nov 13 2023 00:02:03 rr.dat
13 -rw- 28 Nov 13 2023 00:01:48 private-data.txt
14 drw- - Sep 14 2023 16:14:31 localuser
15 drw- - Sep 14 2023 18:14:19 $_backup
16 -rw- 10,385,558 Aug 23 2016 03:07:54 s5720s-li-v200r011sph016.pat
17 -rw- 200 Sep 14 2023 16:14:36 ca_config.ini

247,032 KB total (163,900 KB free)

<HUAWEI>ftp 172.21.25.11
Trying 172.21.25.11 ...
Press CTRL+K to abort
Connected to 172.21.25.11.
220-FileZilla Server 1.9.4
220 Please visit https://filezilla-project.org/
User(172.21.25.11:(none)):ftp
331 Please, specify the password.
Enter password:
230 Login successful.

[ftp]get S5720LI_V200R022C00SPC500.cc
200 PORT command successful.
150 Starting data transfer.
226 Operation successful
FTP: 100172569 byte(s) received in 280.327 second(s) 357.34Kbyte(s)/sec.

[ftp]get S5720S-LI_V200R022SPH223.pat
200 PORT command successful.
150 Starting data transfer.
226 Operation successful
FTP: 366712 byte(s) received in 1.112 second(s) 329.77Kbyte(s)/sec.

[ftp]quit

221 Goodbye.

[ftp]put s5720li_v200r022c00spc500.cc
[ftp]put s5720s-li_v200r022sph223.pat

<HUAWEI>startup system-software s5720li_v200r022c00spc500.cc
Info: Operating, please wait for a moment............................
Info: Succeeded in setting the software for booting system.
<HUAWEI>startup patch s5720s-li_v200r022sph223.pat
Info: Succeeded in setting main board resource file for system.

<HUAWEI>dis startup
MainBoard:
Configured startup system software: flash:/s5720s-li-v200r011c10spc600.cc
Startup system software: flash:/s5720s-li-v200r011c10spc600.cc
Next startup system software: flash:/s5720li_v200r022c00spc500.cc
Startup saved-configuration file: NULL
Next startup saved-configuration file: NULL
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: flash:/s5720s-li-v200r011sph016.pat
Next startup patch package: flash:/s5720s-li_v200r022sph223.pat
<HUAWEI>reboot

<HUAWEI>reboot
Info: The system is now comparing the configuration, please wait.............
Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file . Continue? [Y/N]:y
Now saving the current configuration to the slot 0...
Save the configuration successfully.
Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y
Nov 18 2023 00:13:11 HUAWEI %%01CMD/4/REBOOT(s)[8]:The user chose Y when deciding whether to reboot the system. (Task=co0, Ip=**, VpnName=, User=admin)
Comparing the firmware versions......................................
Warning: It will take a few minutes to upgrade firmware. Please do not switchover, reset, remove, or power off the board when upgrade is being performed. Please keep system stable.....................................................................................................

<HUAWEI>dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S5720 V200R022C00SPC500)
Copyright (C) 2000-2022 HUAWEI TECH Co., Ltd.
HUAWEI S5720S-12TP-LI-AC Routing Switch uptime is 0 week, 0 day, 0 hour, 3 minutes

ES5D2T12S000 0(Master) : uptime is 0 week, 0 day, 0 hour, 1 minute
DDR Memory Size : 512 M bytes
FLASH Total Memory Size : 512 M bytes
FLASH Available Memory Size : 241 M bytes
Pcb Version : VER.B
BootROM Version : 0216.0000
BootLoad Version : 0216.0000
Software Version : VRP (R) Software, Version 5.170 (V200R022C00SPC500)
FLASH Version : 0000.0000

<HUAWEI>dis patch
Patch Package Name :flash:/s5720s-li_v200r022sph223.pat
Patch Package Version:V200R022SPH223
The state of the patch state file is: Running
The current state is: Running

************************************************************************
* Information about hot patch errors is as follows: *
************************************************************************

Slot CurrentVersion
------------------------------------------------------------

No hot patch error occurs on any board.

************************************************************************
* The hot patch information, as follows: *
************************************************************************

Slot Type State Count Time(YYYY-MM-DD HH:MM:SS)
------------------------------------------------------------------------
0 C Running 258 2023-11-18 00:15:33+00:00

<HUAWEI>dis startup
MainBoard:
Configured startup system software: flash:/s5720li_v200r022c00spc500.cc
Startup system software: flash:/s5720li_v200r022c00spc500.cc
Next startup system software: flash:/s5720li_v200r022c00spc500.cc
Startup saved-configuration file: flash:/vrpcfg.zip
Next startup saved-configuration file: flash:/vrpcfg.zip
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: flash:/s5720s-li_v200r022sph223.pat
Next startup patch package: flash:/s5720s-li_v200r022sph223.pat
<HUAWEI>

dir /all
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName
0 -rw- 0 Nov 18 2023 00:17:22 last_startup_software_info.txt
1 -rw- 0 Nov 18 2023 00:20:05 kernel_snapshot.txt
2 drw- - Sep 14 2023 16:14:32 dhcp
3 drw- - Sep 14 2023 16:13:54 user
4 -rw- 13,432 Sep 14 2023 16:14:33 default_ca.cer
5 -rw- 36 Nov 18 2023 00:12:27 $_patchstate_reboot
6 -rw- 224 Nov 18 2023 00:17:22 current_startup_software_info.txt
7 drw- - Nov 18 2023 00:21:35 sessionlog
8 drw- - Sep 14 2023 16:13:56 security
9 -rw- 366,712 Nov 18 2023 00:10:59 s5720s-li_v200r022sph223.pat
10 -rw- 68,955,900 Aug 23 2016 03:41:43 s5720s-li-v200r011c10spc600.cc
11 -rw- 3,684 Apr 12 2018 16:35:37 $_patch_history
12 -rw- 1,903 Sep 14 2023 16:14:36 default_local.cer
13 drw- - Apr 12 2018 16:35:37 logfile
14 -rw- 868 Nov 18 2023 00:13:08 vrpcfg.zip
15 -rw- 380 Apr 12 2018 16:35:56 safedata1_readfrompdt.txt
16 drw- - Apr 12 2018 16:35:47 $_user
17 drw- - Sep 14 2023 16:13:54 pmdata
18 drw- - Aug 23 2016 03:00:01 $_install_mod
19 -rw- 836 Nov 18 2023 00:17:48 rr.bak
20 -rw- 836 Nov 18 2023 00:17:48 rr.dat
21 -rw- 386 Apr 12 2018 16:35:56 safedata2_readfrompdt.txt
22 -rw- 532 Nov 18 2023 00:17:23 private-data.txt
23 drw- - Nov 18 2023 00:13:06 localuser
24 drw- - Sep 14 2023 18:14:19 $_backup
25 -rw- 100,172,569 Nov 18 2023 00:10:32 s5720li_v200r022c00spc500.cc
26 -rw- 0 Apr 12 2018 16:35:56 safedata3_readfrompdt.txt
27 -rw- 10,385,558 Aug 23 2016 03:07:54 s5720s-li-v200r011sph016.pat
28 drw- - Nov 18 2023 00:16:58 sys_apinfo
29 -rw- 4 Nov 18 2023 00:13:11 snmpnotilog.txt
30 -rw- 200 Sep 14 2023 16:14:36 ca_config.ini
31 -rw- 868 Nov 18 2023 00:14:26 vrpcfg20231118001426.zip

247,032 KB total (68,568 KB free)

delete s5720s-li-v200r011c10spc600.cc
Delete flash:/s5720s-li-v200r011c10spc600.cc?[Y/N]:y
Info: Deleting file flash:/s5720s-li-v200r011c10spc600.cc...succeeded.
delete s5720s-li-v200r011sph016.pat
Delete flash:/s5720s-li-v200r011sph016.pat?[Y/N]:y
Info: Deleting file flash:/s5720s-li-v200r011sph016.pat...succeeded.

dir /all
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName
0 -rw- 0 Nov 18 2023 00:17:22 last_startup_software_info.txt
1 -rw- 0 Nov 18 2023 00:20:05 kernel_snapshot.txt
2 drw- - Sep 14 2023 16:14:32 dhcp
3 drw- - Sep 14 2023 16:13:54 user
4 -rw- 13,432 Sep 14 2023 16:14:33 default_ca.cer
5 -rw- 36 Nov 18 2023 00:12:27 $_patchstate_reboot
6 -rw- 224 Nov 18 2023 00:17:22 current_startup_software_info.txt
7 drw- - Nov 18 2023 00:21:35 sessionlog
8 drw- - Sep 14 2023 16:13:56 security
9 -rw- 366,712 Nov 18 2023 00:10:59 s5720s-li_v200r022sph223.pat
10 -rw- 3,684 Apr 12 2018 16:35:37 $_patch_history
11 -rw- 1,903 Sep 14 2023 16:14:36 default_local.cer
12 drw- - Apr 12 2018 16:35:37 logfile
13 -rw- 868 Nov 18 2023 00:13:08 vrpcfg.zip
14 -rw- 380 Apr 12 2018 16:35:56 safedata1_readfrompdt.txt
15 drw- - Apr 12 2018 16:35:47 $_user
16 drw- - Sep 14 2023 16:13:54 pmdata
17 drw- - Aug 23 2016 03:00:01 $_install_mod
18 -rw- 836 Nov 18 2023 00:17:48 rr.bak
19 -rw- 836 Nov 18 2023 00:17:48 rr.dat
20 -rw- 386 Apr 12 2018 16:35:56 safedata2_readfrompdt.txt
21 -rw- 532 Nov 18 2023 00:17:23 private-data.txt
22 drw- - Nov 18 2023 00:13:06 localuser
23 drw- - Sep 14 2023 18:14:19 $_backup
24 -rw- 100,172,569 Nov 18 2023 00:10:32 s5720li_v200r022c00spc500.cc
25 -rw- 0 Apr 12 2018 16:35:56 safedata3_readfrompdt.txt
26 drw- - Nov 18 2023 00:16:58 sys_apinfo
27 -rw- 4 Nov 18 2023 00:13:11 snmpnotilog.txt
28 -rw- 200 Sep 14 2023 16:14:36 ca_config.ini
29 -rw- 868 Nov 18 2023 00:14:26 vrpcfg20231118001426.zip
30 -rw- 68,955,900 Nov 18 2023 00:25:14 [s5720s-li-v200r011c10spc600.cc]
31 -rw- 10,385,558 Nov 18 2023 00:25:38 [s5720s-li-v200r011sph016.pat]

247,032 KB total (68,576 KB free)

reset recycle-bin
Squeeze flash:/s5720s-li-v200r011c10spc600.cc?[Y/N]:y
%Cleared file flash:/s5720s-li-v200r011c10spc600.cc.
Squeeze flash:/s5720s-li-v200r011sph016.pat?[Y/N]:y
%Cleared file flash:/s5720s-li-v200r011sph016.pat.

dir /all
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName
0 -rw- 0 Nov 18 2023 00:17:22 last_startup_software_info.txt
1 -rw- 0 Nov 18 2023 00:20:05 kernel_snapshot.txt
2 drw- - Sep 14 2023 16:14:32 dhcp
3 drw- - Sep 14 2023 16:13:54 user
4 -rw- 13,432 Sep 14 2023 16:14:33 default_ca.cer
5 -rw- 36 Nov 18 2023 00:12:27 $_patchstate_reboot
6 -rw- 224 Nov 18 2023 00:17:22 current_startup_software_info.txt
7 drw- - Nov 18 2023 00:21:35 sessionlog
8 drw- - Sep 14 2023 16:13:56 security
9 -rw- 366,712 Nov 18 2023 00:10:59 s5720s-li_v200r022sph223.pat
10 -rw- 3,684 Apr 12 2018 16:35:37 $_patch_history
11 -rw- 1,903 Sep 14 2023 16:14:36 default_local.cer
12 drw- - Apr 12 2018 16:35:37 logfile
13 -rw- 868 Nov 18 2023 00:13:08 vrpcfg.zip
14 -rw- 380 Apr 12 2018 16:35:56 safedata1_readfrompdt.txt
15 drw- - Apr 12 2018 16:35:47 $_user
16 drw- - Sep 14 2023 16:13:54 pmdata
17 drw- - Aug 23 2016 03:00:01 $_install_mod
18 -rw- 836 Nov 18 2023 00:17:48 rr.bak
19 -rw- 836 Nov 18 2023 00:17:48 rr.dat
20 -rw- 386 Apr 12 2018 16:35:56 safedata2_readfrompdt.txt
21 -rw- 532 Nov 18 2023 00:17:23 private-data.txt
22 drw- - Nov 18 2023 00:13:06 localuser
23 drw- - Sep 14 2023 18:14:19 $_backup
24 -rw- 100,172,569 Nov 18 2023 00:10:32 s5720li_v200r022c00spc500.cc
25 -rw- 0 Apr 12 2018 16:35:56 safedata3_readfrompdt.txt
26 drw- - Nov 18 2023 00:16:58 sys_apinfo
27 -rw- 4 Nov 18 2023 00:13:11 snmpnotilog.txt
28 -rw- 200 Sep 14 2023 16:14:36 ca_config.ini
29 -rw- 868 Nov 18 2023 00:14:26 vrpcfg20231118001426.zip

247,032 KB total (143,404 KB free)

Comments

No comments yet. Why don’t you start the discussion?

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

*