设置列表
对齐方式
(0)
最佳答案
(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):
Validating file. Please wait...
Configuration is saved to device successfully.
<Sysname>
(2) 在命令行配置界面的用户视图下,执行dir命令查看路由器当前的文件系统,确认启动文件及配置文件名,以及Flash的剩余空间,保证Flash有足够空间放入新的启动文件:
<Sysname>dir
Directory of flash:
0 drw- - Aug 15 2012 12:03:13 diagfile
1 -rw- 84 Aug 15 2012 12:17:59 ifindex.dat
2 drw- - Aug 15 2012 12:03:14 license
3 drw- - Aug 15 2012 12:03:13 logfile
4 -rw- 11418624 Dec 15 2011 09:00:00 msr26-cmw710-boot-a0005.bin
5 -rw- 1006592 Dec 15 2011 09:00:00 msr26-cmw710-> 6 -rw- 10240 Dec 15 2011 09:00:00 msr26-cmw710-security-a0005.bin
7 -rw- 24067072 Dec 15 2011 09:00:00 msr26-cmw710-system-a0005.bin
8 -rw- 1180672 Dec 15 2011 09:00:00 msr26-cmw710-voice-a0005.bin
9 drw- - Aug 15 2012 12:03:13 seclog
10 -rw- 1632 Aug 15 2012 12:18:00 startup.cfg
11 -rw- 25992 Aug 15 2012 12:18:00 startup.mdb
262144 KB total (223992 KB free)
<Sysname>
Flash剩余存储空间约为220 MB(223992 KB)。
用户可以将路由器做为客户端,通过TFTP、FTP、SFTP协议,将升级软件包下载到路由器的存储介质上:
使用TFTP协议
在命令行配置界面的用户视图下,执行tftp命令将启动文件msr26.ipe导入到路由器的Flash中:
<Sysname> tftp 192.168.1.100 get msr26.ipe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 35.9M 100 35.9M 0 0 559k 0 0:01:05 0:01:05 --:--:-- 546k
<Sysname>
使用FTP协议
路由器作为FTP Client,访问FTP文件服务器的指定路径,完成启动文件的备份及升级操作,具体操作步骤如下:
(1) 在FTP客户端视图下,执行get命令将启动文件msr26.ipe导入到路由器的Flash中:
<Sysname> ftp 192.168.1.100 source ip 192.168.1.212
Press CTRL+C to abort.
Connected to 192.168.1.100 (192.168.1.100).
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User (192.168.1.100:(none)): abc
331 Give me your password, please
Password:
230 Logged in successfully
Remote system type is MSDOS.
ftp> get msr26.ipe
msr26.ipe already exists. Overwrite it? [Y/N]:y
227 Entering passive mode (192,168,1,100,5,20)
125 Using existing data connection
226 Closing data connection; File transfer successful.
37691392 bytes received in 17.7 seconds (2.03 Mbyte/s)
[ftp]
(2) 在FTP客户端视图下,执行quit命令,返回到命令行配置界面的用户视图:
[ftp] quit
221 Service closing control connection
<Sysname>
使用SFTP协议
路由器作为SFTP Client,访问SFTP文件服务器的指定路径,完成启动文件的备份及升级操作,具体操作步骤如下:
(3) 在SFTP客户端视图下,执行get命令将启动文件msr26.ipe导入到路由器的Flash中:
<Sysname> sftp 192.168.1.100 source ip 192.168.1.212
Press CTRL+C to abort.
Connected to 192.168.1.100 (192.168.1.100).
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User (192.168.1.100:(none)): abc
331 Give me your password, please
Password:
230 Logged in successfully
Remote system type is MSDOS.
sftp-client> get msr26.ipe
227 Entering passive mode (192,168,1,100,5,20)
125 Using existing data connection
226 Closing data connection; File transfer successful.
37691392 bytes received in 17.7 seconds (2.03 Mbyte/s)
sftp-client>
(4) 在SFTP客户端视图下,执行quit命令,返回到命令行配置界面的用户视图:
sftp-client> quit
221 Service closing control connection
<Sysname>
(1) 在命令行配置界面的用户视图下,执行boot-loader命令设置路由器下次启动使用的启动文件为msr26.ipe,并指定启动文件类型为main:
<Sysname>boot-loader file flash:/msr26.ipe main
Images in IPE:
msr26-cmw710-boot-a0005.bin
msr26-cmw710-system-a0005.bin
msr26-cmw710-security-a0005.bin
msr26-cmw710-voice-a0005.bin
msr26-cmw710->This command will set the main startup software images. Continue? [Y/N]:y
Add images to the device.
Successfully copied flash:/msr26-cmw710-boot-a0005.bin to flash:/msr26-cmw710-boot-a0005.bin.
Successfully copied flash:/msr26-cmw710-system-a0005.bin to flash:/msr26-cmw710-system-a0005.bin.
Successfully copied flash:/msr26-cmw710-security-a0005.bin to flash:/msr26-cmw710-security-a0005.bin.
Successfully copied flash:/msr26-cmw710-voice-a0005.bin to flash:/msr26-cmw710-voice-a0005.bin.
Successfully copied flash:/msr26-cmw710->
The images that have passed all examinations will be used as the main startup software images at the next reboot on the device.
<Sysname>
(2) 在命令行配置界面的用户视图下,执行display boot-loader命令查看设备的启动程序文件信息:
<Sysname> display boot-loader
Software images on the device:
Current software images:
flash:/msr26-cmw710-boot-a0005.bin
flash:/msr26-cmw710-system-a0005.bin
flash:/msr26-cmw710-security-a0005.bin
flash:/msr26-cmw710-voice-a0005.bin
flash:/msr26-cmw710->Main startup software images:
flash:/msr26-cmw710-boot-a0005.bin
flash:/msr26-cmw710-system-a0005.bin
flash:/msr26-cmw710-security-a0005.bin
flash:/msr26-cmw710-voice-a0005.bin
flash:/msr26-cmw710->Backup startup software images:
None
<Sysname>
(0)
您好,请知:
如果原来的版本也是V7平台的,一般都可以升级到最新。
以下是下载连接:
https://www.h3c.com/cn/Service/Document_Software/Software_Download/Router/Catalog/MSR_G2/MSR_3610[20][20-DP][40][60]/
用户名:yx800
密码:01230123
注意查看软件版本说明书,有适配和详细的升级指导说明。
可以使用TFTP的方式将软件版本导入到路由器内,然后使用boot-loader指定为下次启动文件。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论