一个s5120v2_LICMW710-R6308P01, 另外一个包是s5120v2_li-cmw710-R6308P01.xsd.tar 这两个包分别是什么包,升级哪一个?
(0)
最佳答案
交换机作为TFTP Client,访问TFTP文件服务器的制定路径,完成启动文件的备份及升级操作,具体操作步骤如下:
1. 备份当前启动文件和配置文件
(1) 在命令行配置界面的任意视图下,执行save命令保存交换机当前配置信息:
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
<Sysname>
(2) 在命令行配置界面的用户视图下,执行dir命令查看交换机当前的文件系统,确认启动文件及配置文件名,以及Flash的剩余空间,保证Flash有足够空间放入新的启动文件:
<Sysname> dir
Directory of flash:/
0 drw- - Jun 28 2011 14:41:16 logfile
1 drw- - Jun 28 2011 14:42:56 diagfile
2 -rw- 16256 Jun 28 2011 14:43:40 a.tar
3 -rw- 1694 Jun 28 2011 14:47:12 startup.cfg
4 -rw- 3432 Jun 28 2011 14:47:10 diag.tar.gz
5 -rw- 23861744 Jun 28 2011 14:37:46 main.bin
1048576 KB total (1024104 KB free)
<Sysname>
(3) 在命令行配置界面的用户视图下,执行tftp put命令将启动文件main.bin备份到TFTP文件服务器上:
<Sysname> tftp 192.168.1.1 put main.bin
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26.5M 0 0 100 26.5M 0 422k --:--:-- --:--:-- --:--:-- 426k
<Sysname>
(4) 在命令行配置界面的用户视图下,执行tftp put命令将配置文件startup.cfg备份到TFTP文件服务器上:
<Sysname> tftp 192.168.1.1 put startup.cfg
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6549 0 0 100 6549 0 270k --:--:-- --:--:-- --:--:-- 319k
<Sysname>
2. 升级启动文件
(1) 在命令行配置界面的用户视图下,执行tftp get命令将启动文件S7000EA.ipe导入到交换机的Flash卡中:
<Sysname> tftp 192.168.1.1 get S7000EA.ipe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 70.7M 100 70.7M 0 0 1193k 0 0:00:50 0:00:50 --:--:-- 1127k
<Sysname>
(2) 在命令行配置界面的用户视图下,执行boot-loader命令设置交换机下次启动使用的启动文件为S7000EA.ipe,并指定启动文件类型为main:
<Sysname> boot-loader file flash:/S7000EA.ipe slot 6 main
Verifying the file flash:/S7000EA.ipe on slot 6..................................
...............................Done.
7506E images in IPE:
S7000EA-CMW710-BOOT-test.bin
S7000EA-CMW710-SYSTEM-test.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to slot 6.
Decompressing file S7000EA-CMW710-BOOT-test.bin to flash:/S7000EA-CMW710-BOOT-test.bin..........................................Done.
Decompressing file S7000EA-CMW710-SYSTEM-test.bin to flash:/S7000EA-CMW710-SYSTEM
-test.bin......................................................................
................................................................................
................................................................................
...................................................................Done.
Decompression completed.
You are recommended to delete the .ipe file after you set startup software image
s for all slots.
Do you want to delete flash:/S7000EA.ipe now? [Y/N]:y
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on slot 6.
<Sysname>
(3) 在命令行配置界面的用户视图下,执行display boot-loader命令查看设备的启动程序文件信息:
<Sysname> display boot-loader
Software images on slot 6:
Current software images:
flash:/S7000EA-CMW710-boot-test.bin
flash:/S7000EA-CMW710-system-test.bin
Main startup software images:
flash:/S7000EA-CMW710-boot-test.bin
flash:/S7000EA-CMW710-system-test.bin
Backup startup software images:
None
<Sysname>
如上显示信息中,下一次启动的程序文件已经设置为S7000EA-CMW710-boot-test.bin和S7000EA-CMW710-system-test.bin。
(4) 在命令行配置界面的用户视图下,执行reboot命令重启交换机:
<Sysname> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration will be lost after the reboot, save current configuration? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Configuration is saved to flash successfully.
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
<Sysname>
System is starting...
(5) 交换机重启后,通过display version命令查看交换机的启动文件版本信息是否与升级的启动文件一致。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论