HUAWEI 华为交换机升级固件打补丁

准备工作

1、在内网需要有一个FTP或TFTP并把要升级的固件有补丁上传上去。

操作步骤

1、进入根目录

cd flash:/

 2、下载固件及补丁

tftp 192.168.56.48 get CE6851HI-V200R002C50SPC800.cc
tftp 192.168.56.48 get  CE6851HI-V200R002SPH008.PAT

#以下是具体下载过程,提示成功就可以
tftp 192.168.56.48 get CE6851HI-V200R002C50SPC800.cc
Info: Transfer file in binary mode.
Please wait for a while...
|    237285020 bytes transferred                                           
Info: Downloaded the file successfully.

 3、应用版本或补丁

startup system-software CE6851HI-V200R002C50SPC800.cc all
startup patch CE6851HI-V200R002SPH008.PAT all
reboot #此命令会重启交换机,注意!!

 4、其它一些可能要用到的操作

#删除文件
delete CE6851HI-V200R002C50SPC800.cc

#恢复删除文件
# 恢复被删除的文件sample.bak。
<HUAWEI> undelete sample.bak
Info: Are you sure to undelete flash:/sample.bak ?[Y/N]:y
Info: Undeleting file flash:/sample.bak......Done.
# 恢复根目录下被删除的文件。
<HUAWEI> undelete flash:
Info: Are you sure to undelete flash:/test.txt?[Y/N] :y
Info: Undeleting file flash:/test.txt......Done.
Info: Are you sure to undelete flash:/rr.bak?[Y/N]:y
Info: Undeleting file flash:/rr.bak......Done.

#完全删除
<HUAWEI> delete /unreserved CE6851HI-V200R002C50SPC800.cc

#清空回收站
<HUAWEI> reset recycle-bin 
Info: Are you sure to clear flash:/CE6851HI-V200R002C50SPC800.cc? [Yes/All/No/Cancel]:yes
Info: Clearing file flash:/CE6851HI-V200R002C50SPC800.cc...Done.

 

THE END