取消
显示结果 
搜索替代 
您的意思是: 
cancel
5013
查看次数
0
有帮助
5
回复

用.tar文件升级,先在硬盘上解压出.bin再上传设备,还是直接用archive上传.tar?

xxy
Level 1
Level 1
设备4503-E & 6L-E
某CCIE很肯定地说先解压出.bin再上传设备。
又1专家说上传.tar比较好,有很多高级功能,而.bin只有基本功能。
如果是用.tar,命令是不是如下这样?
archive tar /xtract tftp://1.1.1.1/cat4500e-entservicesk9-tar.152-2.E3.tar bootflash:
verify /md5 bootflash:cat4500e-entservicesk9-mz.152-2.E3.bin
conf t
boot system flash bootflash:cat4500e-entservicesk9-bin.152-2.E3.bin;cat4500e-entservices-mz.152-2.E1.bin //*E1是现在用的,加上以防万一*//
wr
reload
如果用.tar升级成功,下次再升更高版本的时候,是不是要先把bootflash下的html文件夹(或者还有其他解压.tar出来的文件、文件夹)删掉?
1 个已接受解答

已接受的解答

taosun2
Cisco Employee
Cisco Employee
本帖最后由 taosun2 于 2015-10-23 14:07 编辑
没有太大问题,请注意如下
1, archive tar /xtract
t
ftp://1.1.1.1/
cat4500e-entservicesk9-tar.152-2.E3.tar bootflash: 详细请参考 如下文档
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/XE3-8-0E/15-24E/configuration/guide/xe-380-configuration/swadmin.html
2.verify /md5 bootflash:cat4500e-entservicesk9-mz.152-2.E3.
tar
这个命令是查看MD5验证码的,如果得到的与cisco网站上的不一致,需要重新下载和上传到设置上.
3.conf t, 这个不解释了.您懂的!
4.boot system flash bootflash:cat4500e-entservicesk9-bin.152-2.E3.bin;cat4500e-entservices-mz.152-2.E1.bin //*E1是现在用的,加上以防万一*// 这个我没有试过一条命令带两个IOS, 你可以打两遍如下
boot system flash bootflash:cat4500e-entservicesk9-bin.152-2.E3.bin
boot system flash bootflash:cat4500e-entservices-mz.152-2.E1.bin
5.wr 这个不解释了.相信您懂的!
6.reload 这个不解释了.相信您懂的!

在原帖中查看解决方案

5 条回复5

taosun2
Cisco Employee
Cisco Employee
本帖最后由 taosun2 于 2015-10-23 14:07 编辑
没有太大问题,请注意如下
1, archive tar /xtract
t
ftp://1.1.1.1/
cat4500e-entservicesk9-tar.152-2.E3.tar bootflash: 详细请参考 如下文档
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/XE3-8-0E/15-24E/configuration/guide/xe-380-configuration/swadmin.html
2.verify /md5 bootflash:cat4500e-entservicesk9-mz.152-2.E3.
tar
这个命令是查看MD5验证码的,如果得到的与cisco网站上的不一致,需要重新下载和上传到设置上.
3.conf t, 这个不解释了.您懂的!
4.boot system flash bootflash:cat4500e-entservicesk9-bin.152-2.E3.bin;cat4500e-entservices-mz.152-2.E1.bin //*E1是现在用的,加上以防万一*// 这个我没有试过一条命令带两个IOS, 你可以打两遍如下
boot system flash bootflash:cat4500e-entservicesk9-bin.152-2.E3.bin
boot system flash bootflash:cat4500e-entservices-mz.152-2.E1.bin
5.wr 这个不解释了.相信您懂的!
6.reload 这个不解释了.相信您懂的!

taosun2
Cisco Employee
Cisco Employee
首先.tar的文件确实比.bin的文件多, 从文件大小就可以看出来. 比如多了ciscoview功能.如下文档有说明
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/XE3-8-0E/15-24E/configuration/guide/xe-380-configuration/swadmin.html#pgfId-1257891
如果用.tar升级成功, 下次再升级高版本的时候,可以把那些文件删掉, 也可以不删掉.

xxy
Level 1
Level 1
taosun2 发表于 2015-10-21 16:05 back.gif
首先.tar的文件确实比.bin的文件多, 从文件大小就可以看出来. 比如多了ciscoview功能.如下文档有说明
ht ...

请问那6条命令是否有误?

YilinChen
Spotlight
Spotlight
tar包上传是思科推荐的更新方式;
只上传BIN文件那是老黄历了;

zhihao zou
Level 1
Level 1
archive tar升级
快捷链接