文章目錄
- 升級前準備工作
- 筆記本和交換機設備配置互聯地址
- 啟用FTP
- 設備訪問FTP
- 設備升級系統版本及補丁
升級前準備工作
- 使用MobaXterm遠程工具連接設備,并作為FTP服務器
- 準備升級所需的版本文件及補丁文件
筆記本和交換機設備配置互聯地址
- 在交換機接口配置IP,并在筆記本有線網卡配置同網段的IP
- 設備管理口IP:1.1.1.2/30
- 筆記本有線網卡IP:1.1.1.1/30
[~HUAWEI]dis ip int bri
*down: administratively down
!down: FIB overload down
^down: standby
(l): loopback
(s): spoofing
(d): Dampening Suppressed
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol VPN
MEth0/0/0 1.1.1.1/30 up up --
NULL0 unassigned up up(s) --
[~HUAWEI]
ping
測試連通性
啟用FTP
- 筆記本作為FTP服務器
- 配置FTP服務器的存放升級文件及補丁文件的目錄,配置用戶名和密碼
- 啟動服務
設備訪問FTP
- 查看設備中的文件
- 在設備上執行以下命名
dir
:查看當前目錄下的文件ftp 1.1.1.1
:訪問FTP服務器binary
:設置文件傳輸模式,防止數據錯誤get xxxxx
:下載目標文件quit
:退出FTP服務器
<HUAWEI>dir
Directory of flash:/Idx Attr Size(Byte) Date Time FileName 0 dr-x - May 21 2024 16:50:44 $_checkpoint 1 dr-x - Jan 23 2019 10:45:28 $_install_mod 2 dr-x - Nov 16 2022 10:30:07 $_license 3 dr-x - Nov 16 2022 10:30:57 $_security_info 4 dr-x - May 21 2024 16:46:19 $_system 5 -rw- 253,863,108 Jul 31 2019 07:34:50 CE6851HI-V200R005C10SPC800.cc6 -rw- 4,362,159 Nov 03 2019 20:37:06 CE6851HI-V200R005SPH007.PAT 7 drwx - Nov 16 2022 10:25:27 POST 8 -rw- 97 Nov 16 2022 10:25:32 collect_diag_info.bat 9 -rw- 17,053 Nov 16 2022 10:47:38 device.sys 10 drwx - Nov 16 2022 10:40:04 logfile 11 -rw- 967 Nov 16 2022 10:47:38 vrpcfg.zip 630,660 KB total (384,644 KB free)
<HUAWEI>ftp 1.1.1.1
Trying 1.1.1.2 ...
Press CTRL + K to abort
Connected to 1.1.1.2.
220-SecureBlackbox FTPS server ready.
220 Library version 22.0.8350.0
User(1.1.1.2:(none)):123
331 User name okay, need password.
Enter password:
230 User logged in, proceed.
[ftp]dir
200 Command okay.
125 Data connection already open; transfer starting.
total 8
-rwxrwxrwx 1 user group 273746636 May 20 18:30 CE6851HI-V200R019C10SPC800.cc
-rwxrwxrwx 1 user group 43736425 May 21 06:23 CE6851HI-V200R019SPH061.PAT
226 LIST completedFTP: 594 byte(s) received in 1.100 second(s) 527byte(s)/sec.
[ftp]binary
200 Command okay.
[ftp]get CE6851HI-V200R019C10SPC800.cc
213 273746636
200 Command okay.
125 Data connection already open; transfer starting.
/ 0% [ ]
......
\ 100% [***********] 226 Closing data connection.
FTP: 273746636 byte(s) received in 109.467 second(s) 2452.568Kbyte(s)/sec.
[ftp]get CE6851HI-V200R019SPH061.PAT
213 43736425
200 Command okay.
125 Data connection already open; transfer starting.
/ 0% [ ]
......
/ 100% [***********] 226 Closing data connection.
FTP: 43736425 byte(s) received in 18.332 second(s) 2329.879Kbyte(s)/sec.
[ftp]qui
221 Service closing control connection.
<HUAWEI>dir
Directory of flash:/Idx Attr Size(Byte) Date Time FileName 0 dr-x - May 21 2024 16:50:44 $_checkpoint 1 dr-x - Jan 23 2019 10:45:28 $_install_mod 2 dr-x - Nov 16 2022 10:30:07 $_license 3 dr-x - Nov 16 2022 10:30:57 $_security_info 4 dr-x - May 21 2024 16:46:19 $_system 5 -rw- 253,863,108 Jul 31 2019 07:34:50 CE6851HI-V200R005C10SPC800.cc6 -rw- 4,362,159 Nov 03 2019 20:37:06 CE6851HI-V200R005SPH007.PAT 7 -rw- 273,746,636 May 21 2024 16:54:29 CE6851HI-V200R019C10SPC800.cc8 -rw- 43,736,425 May 21 2024 16:55:10 CE6851HI-V200R019SPH061.PAT 9 drwx - Nov 16 2022 10:25:27 POST 10 -rw- 97 Nov 16 2022 10:25:32 collect_diag_info.bat 11 -rw- 17,053 Nov 16 2022 10:47:38 device.sys 12 drwx - Nov 16 2022 10:40:04 logfile 13 -rw- 967 Nov 16 2022 10:47:38 vrpcfg.zip 630,660 KB total (76,732 KB free)
<HUAWEI>
設備升級系統版本及補丁
- 查看當前系統版本信息
<HUAWEI>dis version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.180 (CE6851HI V200R005C10SPC800)
Copyright (C) 2012-2018 Huawei Technologies Co., Ltd.
HUAWEI CE6851-48S6Q-HI uptime is 0 day, 0 hour, 3 minutes
Patch Version: V200R005SPH007CE6851-48S6Q-HI(Master) 1 : uptime is 0 day, 0 hour, 2 minutesStartupTime 2024/05/21 16:45:09
Memory Size : 2048 M bytes
Flash Size : 1024 M bytes
CE6851-48S6Q-HI version information
1. PCB Version : CEM48S6QP04 VER B
2. MAB Version : 1
3. Board Type : CE6851-48S6Q-HI
4. CPLD1 Version : 103
5. CPLD2 Version : 103
6. BIOS Version : 433
<HUAWEI>
- 升級系統版本和補丁
- 升級系統:
startup system-software CE6851HI-V200R019C10SPC800.cc
- 升級補丁:
startup patch CE6851HI-V200R019SPH061.PAT all
- 查看啟動信息:
display startup
- 升級系統:
<HUAWEI>startup system-software CE6851HI-V200R019C10SPC800.cc
Info: Operating, please wait for a moment............................................done.
Info: Succeeded in setting the next startup software in slot 1.
Warning: The next startup patch CE6851HI-V200R005SPH007.PAT is not match the version of the next startup system software in slot 1.
<HUAWEI>startup patch CE6851HI-V200R019SPH061.PAT all
Info: Operating, please wait for a moment......................................................done.
Info: Succeeded in setting startup the patch.
<HUAWEI>display startup
MainBoard:Configured startup system software: flash:/CE6851HI-V200R005C10SPC800.ccStartup system software: flash:/CE6851HI-V200R005C10SPC800.ccNext startup system software: flash:/CE6851HI-V200R019C10SPC800.ccStartup saved-configuration file: flash:/vrpcfg.zipNext startup saved-configuration file: flash:/vrpcfg.zipStartup paf file: defaultNext startup paf file: defaultStartup patch package: flash:/CE6851HI-V200R005SPH007.PATNext startup patch package: flash:/CE6851HI-V200R019SPH061.PAT
<HUAWEI>
- 重啟設備
<HUAWEI>reboot
slot 1:
Next startup system software: flash:/CE6851HI-V200R019C10SPC800.cc
Next startup saved-configuration file: flash:/vrpcfg.zip
Next startup paf file: default
Next startup patch package: flash:/CE6851HI-V200R019SPH061.PAT
Warning: The system will reboot. Continue? [Y/N]:yCheck system software ........................................ DONE
Check APPDB .................................................. DONE
Set next bootfile ............................................ DONE
Load system software ......................................... DONE
Create file system ........................................... DONENow starting VRP ........Configured switch mode ....................................... AUTO-NEGOTIATION
Current switch mode .......................................... STACK
Press CTRL+Y to modify the switch mode ....................... skipInitializing stack ........................................... DONE
Stack member ID .............................................. 1
Stack domain ID .............................................. INVALID
Stack priority ............................................... 100
Default MAC .................................................. 24-a5-2c-08-41-d0
Competing with other devices in the stack .................... DONE
Stack role ................................................... MASTERUser interface con0 is availablePlease Press ENTER.Password:
Info: The max number of VTY users is 5, the number of current VTY users online is 0, and total number of terminal users online is 1.The current login time is 2024-05-21 17:06:14.
<HUAWEI>dis version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.191 (CE6851HI V200R019C10SPC800)
Copyright (C) 2012-2020 Huawei Technologies Co., Ltd.
HUAWEI CE6851-48S6Q-HI uptime is 0 day, 0 hour, 3 minutes
Patch Version: V200R019SPH061CE6851-48S6Q-HI(Master) 1 : uptime is 0 day, 0 hour, 1 minuteStartupTime 2024/05/21 17:04:55
Memory Size : 2048 M bytes
Flash Size : 1024 M bytes
CE6851-48S6Q-HI version information
1. PCB Version : CEM48S6QP04 VER B
2. MAB Version : 1
3. Board Type : CE6851-48S6Q-HI
4. CPLD1 Version : 103
5. CPLD2 Version : 103
6. BIOS Version : 439
<HUAWEI>
- 版本、補丁升級成功
以上內容均屬原創,如有不詳或錯誤,敬請指出。
本文鏈接: http://t.csdnimg.cn/dAi0r
版權聲明: 本博客所有文章除特別聲明外,如需轉載,請聯系作者注明出處并附帶本文鏈接!