下載下傳H3C交換機的系統檔案:使用者名:01230123、密碼:yx800
1、H3C S5500
(系統進入完成)
2、進入System View(系統視界)界面
system-view
3、為交換機添加IP
[H3C]interface Vlan-interface 1 (回車進入Vlan-interface1設定)
[H3C-Vlan-interface1]ip address 1.1.1.2 255.0.0.0
(因為我的本機IP是1.1.1.1是以添加為IP1.1.1.2 還要設定子網路遮罩我這裡的是255.0.0.0 然後回車)
上面顯示交換機IP設定完成
4、下面我們來PING以下我的計算機,确認網絡連接配接已建立
[H3C-Vlan-interface1]ping 1.1.1.1 (交換機1.1.1.2 PING 1.1.1.1)
PING 1.1.1.1: 56
data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=128 time=6 ms
通訊正常
5、配置PC上的tftp服務
6、在交換機系統視界下敲,通過TFTP從1.1.1.1 (我的計算機)擷取系統檔案
原先系統檔案S5500EI-CMW520-R2208-S168.bin新系統檔案S5500EI-CMW520-R2208-S168.ipe
步驟都一樣
tftp 1.1.1.1 get S5500EI-CMW520-R2208-S168.bin
tftp tftp-server { get | put } source-filename [ destination-filename ]
get:表示進行下載下傳檔案操作
put:表示進行上傳檔案操作
File will be transferred in binary mode Downloading file from
remote TFTP server, please
wait...........................................................................................................................
TFTP: 12397691 bytes received in 612 second(s)
File downloaded successfully.
擷取完成
7、将擷取成功的檔案定義為主系統檔案
[H3C]quit 退出到系統底層< 括号>表示使用boot-loader 指令操作
boot-loader file
flash:/s5500ei-cmw520-r2208-s168.bin slot 1 main
定義插槽1中閃存的檔案s5500ei-cmw520-r2208-s168.bin 為主(main)
This command will set the boot file of the specified board.
Continue? [Y/N]:y 回車
The specified file will be used as the main boot file at the next
reboot on slot 1!
quit
******************************************************************************
* Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights
reserved.
*
* Without the owner's prior written consent,
*
* no decompiling or reverse-engineering shall be allowed.
*
******************************************************************************
User interface aux0 is available.
Please press ENTER.
reboot
Start to check configuration with next startup configuration file,
please wait.........DONE!
This command will reboot the device. Current configuration may be
lost
in next startup if you
continue. Continue? [Y/N]:y
#Apr 26 12:19:00:744 2000 H3C DEV/1/REBOOT:
Reboot device by command.
%Apr 26 12:19:00:836 2000 H3C DEV/4/SYSTEM REBOOT:
System is rebooting now.
8、完成設定然後重新開機交換機
Starting......
***********************************************************
*
*
*
H3C S5500-28C-EI BOOTROM, V
ersion 609
*
*
*
***********************************************************
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd.
Creation date
: Aug 10 2010, 18:57:57
CPU Clock Speed : 533MHz
BUS Clock Speed : 133MHz
Memory Size
: 256MB
Mac Address
: c4cad94a97de
Press Ctrl-B to enter Boot Menu... 0
Auto-booting...
Decompress
Image....................................................................................................................................................
..............................................................................................................................................................
..............................................................................................................................................................
...............................OK!
Startup configuration file does not exist.
It will take a long time to get configuration file, please
wait...
Retrieving configuration file failed!
User interface aux0 is available.
重新開機完成
9、檢視版本号
[H3C]dis ver
(版本檢視指令)
H3C Comware Platform Software
Comware Software,
Version 5.20, Release 2208
對的
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights
reserved.
H3C S5500-28C-EI uptime is 0 week, 0 day, 0 hour, 2 minutes
H3C S5500-28C-EI with 1 Processor
256M
bytes SDRAM
32768K
bytes Flash Memory
Hardware V
ersion is REV
.C
CPLD V
ersion is 002
Bootrom V
ersion is 609
[SubSlot 0] 24GE+4SFP Hardware V
ersion is REV
.C
全部完成
拷貝交換機系統檔案步驟
tftp192.168.0.68put flash:/S7500E-CMW710-SYSTEM-R7536P02.bin
更新檔是一種與裝置系統軟體相容的軟體,用于解決裝置系統軟體少量且急需解決的問題,如改正系統中存在的缺陷,優化某些功能以适應業務需求等
更新檔通常以更新檔檔案的形式釋出,一個更新檔檔案可能包含一個或多個更新檔,不同的更新檔具有不同的功能。當更新檔檔案被使用者從存儲器加載到記憶體更新檔區中時,更新檔檔案中的更新檔将被配置設定一個在此記憶體更新檔區中唯一的單元序号,用于标志、管理和操作各更新檔
針對業務更新檔分類
熱更新檔:更新檔生效不中斷業務,不影響業務,同時可以降低裝置更新成本,避免更新風險
冷更新檔:要使更新檔生效需要重新開機裝置,影響業務的運作
針對依賴關系更新檔分
增量型更新檔:是指對在其前面的更新檔有依賴性更新檔,一個新的更新檔檔案必須包含前一個更新檔檔案中的所有更新檔檔案的所有更新檔資訊。使用者可以在不解除安裝原更新檔檔案的情況下直接安裝新的更新檔檔案
非增量型更新檔:隻允許目前系統安裝一個更新檔檔案。如果使用者安裝完更新檔之後希望重新安裝另一個更新檔檔案,則需要先解除安裝目前的更新檔檔案,然後再重新安裝并運作新的更新檔檔案
華為S9306更新過程
1、通過dir檢視記憶體空間(比對目前系統版本與記憶體空間的的大小)
2、通過ftp或tftp上傳系統檔案,上傳速度較慢(tftp -a 1.1.1.1(PC) 1.1.1.2(SW) get 交換機系統檔案)
FTP:基于TCP,傳輸速度太慢
TFTP:基于UDP,資料完整性得不到保障
ftp 10.1.1.2
Trying 10.1.1.2 ...
Press CTRL+K to abort
User(10.1.1.2):admin
enter password:[email protected]
get S9300-V200R010C00SPC600.cc
tftp 10.1.1.2 get S9300-V200R010C00SPC600.cc
3、激活系統檔案
startup system-software S9300-V200R010C00SPC600.cc #指定下次啟動時加載的VRP
startup system-software S9300-V200R010C00SPC600.cc slave-board
display startup
4、重新開機(重新加載系統)
reboot