FTP方式升级H3C交换机
FTP方式升级H3C交换机
1、设好交换机的IP地址和笔记本的IP地址,在同一个网段内确保能互PING能通
2、准备升级文件,并开启设定好FTP服务器端(3CDaemon软件),设定好账号 ftp / 123456,选择好升级文件存放路径
S5130S_EI-CMW710-R6329.ipe
3、上传固件到交换机
<h3cb>ftp 192.168.1.1
User (192.168.1.1:(none)): ftp
Password: 123456
查看ftp的命令
ftp> ?
Commands may be abbreviated. Commands are:
append delete ls quit rmdir
ascii debug mkdir reget status
binary dir newer rstatus system
bye disconnect open rhelp user
cd get passive rename verbose
cdup help put reset ?
close lcd pwd restart
ftp>
列出文件名
ftp> ls
drwxrwxrwx 1 owner group 0 Jun 30 16:20 .
drwxrwxrwx 1 owner group 0 Jun 30 16:20 ..
-rwxrwxrwx 1 owner group 200 Jun 30 16:20 MD5-S5130S_EI-CMW710-R6329.txt
-rwxrwxrwx 1 owner group 708608 Jun 30 16:20 s5130s_ei-cmw710-freeradius-r6329.bin
-rwxrwxrwx 1 owner group 1796096 Jun 30 16:20 s5130s_ei-cmw710-grpcpkg-r6329.bin
-rwxrwxrwx 1 owner group 56458240 Jun 30 16:20 S5130S_EI-CMW710-R6329.ipe
-rwxrwxrwx 1 owner group 57750958 Jun 30 16:18 S5130S_EI-CMW710-R6329.zip
下载固件到交换机
ftp> get S5130S_EI-CMW710-R6329.ipe
56458240 bytes received in 270.513 seconds (203.82 Kbytes/s)
ftp>
ftp> quit
221
查看交换机上的文件
<h3cb>dir
Directory of flash:
0 -rw- 56458240 Jan 01 2013 00:27:17 S5130S_EI-CMW710-R6329.ipe
1 -rw- 220684 Jan 01 2013 00:00:00 defaultfile.zip
2 drw- - Jan 01 2013 00:00:15 diagfile
3 -rw- 735 Jan 01 2013 00:03:24 hostkey
4 -rw- 1524 Jan 01 2013 00:26:52 ifindex.dat
5 drw- - Jan 01 2013 00:00:16 license
6 drw- - Jan 01 2013 00:16:00 logfile
7 drw- - Jan 01 2013 00:00:29 pki
8 -rw- 6146048 Jan 01 2013 00:00:00 s5130s_ei-cmw710-boot-r6318p01.bin
9 -rw- 49709056 Jan 01 2013 00:00:00 s5130s_ei-cmw710-system-r6318p01.bin
10 drw- - Jan 01 2013 00:00:15 seclog
11 -rw- 591 Jan 01 2013 00:03:24 serverkey
12 -rw- 3805 Jan 01 2013 00:26:53 startup.cfg
13 -rw- 131214 Jan 01 2013 00:26:54 startup.mdb
14 drw- - Jan 01 2013 00:00:42 versionInfo
251904 KB total (140632 KB free)
4、指定从新固件文件引导
<h3cb>boot-loader file flash:/S5130S_EI-CMW710-R6329.ipe all main
Verifying the file flash:/S5130S_EI-CMW710-R6329.ipe on slot 2.....Done.
H3C S5130S-52S-EI images in IPE:
s5130s_ei-cmw710-boot-r6329.bin
s5130s_ei-cmw710-system-r6329.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to slot 2.
Decompressing file s5130s_ei-cmw710-system-r6329.bin to flash:/s5130s_ei-cmw710-system-r6329.bin............................................Done.
Decompressing file s5130s_ei-cmw710-boot-r6329.bin to flash:/s5130s_ei-cmw710-boot-r6329.bin.......Done.
Verifying the file flash:/s5130s_ei-cmw710-boot-r6329.bin on slot 2...Done.
Verifying the file flash:/s5130s_ei-cmw710-system-r6329.bin on slot 2.....Done.
The images that have passed all examinations will be used as the main startup software images at the next reboot on slot 2.
Decompression completed.
Do you want to delete flash:/S5130S_EI-CMW710-R6329.ipe now? [Y/N]:y
列出引导解包后的文件列表
<h3cb>dir
Directory of flash:
0 -rw- 220684 Jan 01 2013 00:00:00 defaultfile.zip
1 drw- - Jan 01 2013 00:00:15 diagfile
2 -rw- 735 Jan 01 2013 00:03:24 hostkey
3 -rw- 1524 Jan 01 2013 00:26:52 ifindex.dat
4 drw- - Jan 01 2013 00:00:16 license
5 drw- - Jan 01 2013 00:16:00 logfile
6 drw- - Jan 01 2013 00:00:29 pki
7 -rw- 6146048 Jan 01 2013 00:00:00 s5130s_ei-cmw710-boot-r6318p01.bin
8 -rw- 6144000 Jan 01 2013 00:42:28 s5130s_ei-cmw710-boot-r6329.bin
9 -rw- 49709056 Jan 01 2013 00:00:00 s5130s_ei-cmw710-system-r6318p01.bin
10 -rw- 50307072 Jan 01 2013 00:42:23 s5130s_ei-cmw710-system-r6329.bin
11 drw- - Jan 01 2013 00:00:15 seclog
12 -rw- 591 Jan 01 2013 00:03:24 serverkey
13 -rw- 3805 Jan 01 2013 00:26:53 startup.cfg
14 -rw- 131214 Jan 01 2013 00:26:54 startup.mdb
15 drw- - Jan 01 2013 00:00:42 versionInfo
251904 KB total (138588 KB free)
<h3cb>
5、重启升级完成,可以清理下固件文件(删除老固件文件等)
<h3cb>reboot
H3C OLT设备的配置通过ftp方式保存
http://www.zh-cjh.com/zhuomianyunwei/4833.html
FTP方式升级H3C交换机
http://www.zh-cjh.com/luyoujiaohuan/4557.html
思科路由器:备份配置IOS 到 TFTP 服务器
http://www.zh-cjh.com/luyoujiaohuan/2537.html
思科路由器:备份到FTP服务器
http://www.zh-cjh.com/luyoujiaohuan/2538.html
2.2 华为交换机:命令行:通过FTP升级与备份交换机系统版本(cc文件)、设置系统启动文件
http://www.zh-cjh.com/luyoujiaohuan/926.html
2.3 H3C无线:V7---AP上FTP TFTP上传下载文件
http://www.zh-cjh.com/wuxian/195.html
网络设备的安装、升级、恢复出厂、重置密码(列表、list、全)升级list、管理list、登录list、重置list
http://www.zh-cjh.com/wenzhangguilei/922.html
FTP、TFTP(列表、list、全)ftplist、tftplist
http://www.zh-cjh.com/wenzhangguilei/1445.html
文章归类、所有文章列表、LISTLIST
http://www.zh-cjh.com/wangzhangonggao/2195.html
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。
转载请保留出处: www.zh-cjh.com珠海陈坚浩博客 » FTP方式升级H3C交换机
作者: cjh
手机扫一扫,手机上查看此文章: |
一切源于价值!
其他 模板文件不存在: ./template/plugins/comment/pc/index.htm