wa4300s_fat.bin 你需要把文件名改成这个在上传
修改试了,还是一样
修改试了,还是一样
那就是型号不完整吧。不至于上传都提示不对呢。
参考手册 WA4300S系列(WA4320H-SI、WAP711H、WAP712H、WAP712C-LI)瘦、云模式切换操作指导
参考手册 H3C WA4300S系列OASIS版本(适用于WA4320H-SI、WAP711H、WAP712H、WAP712C-LI )
B.3 通过命令行进行软件升级
B.3.1 使用TFTP协议进行软件升级
TFTP(Trivial File Transfer Protocol,简单文件传输协议)是一个用来在客户端与服务器之间进行文件传输的协议,提供不复杂、开销不大的文件传输服务。TFTP承载在UDP上,提供不可靠的数据流传输服务,不提供存取授权与认证机制,使用超时重传方式来保证数据的到达。与FTP相比,TFTP软件的大小要小得多。
AP作为TFTP Client,PC作为TFTP Server,用户通过在AP上执行相应命令,可将AP的配置文件、应用程序或web配置文件上传到PC上,或从PC下载配置文件、应用程序或web配置文件到AP中。
具体操作步骤如下:
1. 备份应用程序文件、配置文件和web配置文件
![]()
备份应用程序文件、配置文件和web配置文件的方法相同,下面以备份配置文件为例。
在命令行的用户视图下,执行save命令保存当前配置信息:
<H3C>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..............
Configuration is saved to device successfully.
<H3C>
在命令行的用户视图下,执行dir命令可以查看当前文件系统包含了哪些文件,以及存储器剩余的空间是否足够,为升级应用程序做准备:
<H3C>dir
Directory of flash:/
0 -rw- 10788864 July 16 2015 20:11:42 wa4300s_fat.bin
1 -rw- 1441 July 16 2015 19:35:32 startup.cfg
2 -rw- 1326 July 16 2015 19:35:24 system.xml
28321 KB total (18721 KB free)
<H3C>
在命令行的用户视图下,执行tftp put命令,把AP上的startup.cfg文件备份到TFTP服务器上,并保存为startup.bak:
<H3C>tftp 192.168.0.1 put startup.cfg startup.bak
File will be transferred in binary mode
Sending file to remote TFTP server. Please wait... |
TFTP: 1441 bytes sent in 57 second(s).
File uploaded successfully.
<H3C>
备份的时候,有同名文件将会直接覆盖服务器上的文件。
2. 升级应用程序文件
在命令行的用户视图下,执行tftp get命令从TFTP服务器上下载应用程序文件wa4300s_fat.bin到AP上并保存为名为wa4300s_fat.bin的文件:
<H3C>tftp 192.168.0.1 get wa4300s_fat.bin wa4300s_fat.bin
The file wa4300s_fat.bin exists. Overwrite it? [Y/N]:y
Verifying server file...
Deleting the old file, please wait...
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait....................\
TFTP: 10788864 bytes received in 53 second(s)
File downloaded successfully.
<H3C>
重启FAT AP,重启后可以使用display version命令查看FAT AP的版本,确认已经升级成功。
![]()
· 下载应用程序文件的时候,如果AP上已经有一个同名文件,那么系统将会提示是否覆盖,选择<Y/N>进行确认。
· 可以通过相同的方式来实现配置文件的更新。配置文件可以由文本编辑器修改,通过下载修改过的配置文件可以实现对配置的更改,所做更改会在下次启动后生效。
3. 恢复备份的应用程序文件、配置文件和web配置文件
![]()
恢复应用程序文件、配置文件和web配置文件的方法相同,下面以恢复配置文件为例。
在命令行的用户视图下,执行tftp get命令从服务器上把startup.bak文件下载到AP上并另存为名为startup.cfg的文件:
<H3C>tftp 192.168.0.1 get startup.bak startup.cfg
The file startup.cfg exists. Overwrite it? [Y/N]:y
Verifying server file...
Deleting the old file, please wait...
...
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait...
TFTP: 1441 bytes received in 0 second(s)
File downloaded successfully.
<H3C>
如果AP上已经有一个同名文件系统会提示是否覆盖,选择<Y/N>确认。
B.3.2 使用FTP协议进行软件升级
FTP(File Transfer Protocol,文件传输协议)在TCP/IP协议族中属于应用层协议,主要向用户提供远程主机之间的文件传输。FTP承载于TCP上,提供可靠的、面向连接的数据流传输服务。
在使用FTP之前,用户需先安装FTP Server应用程序。FTP Server应用程序由用户自己购买、安装,AP不附带此软件。
PC作为FTP Server,AP作为FTP Client并访问FTP Server的指定路径,完成应用程序的备份及升级等操作,具体操作步骤如下:
1. 备份应用程序文件、配置文件和web配置文件
![]()
备份应用程序文件、配置文件和web配置文件的方法相同,下面以备份应用程序文件为例。
在命令行的用户视图下,执行save命令保存当前配置信息:
<H3C>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..............
Configuration is saved to device successfully.
<H3C>
在命令行的用户视图下,执行dir命令可以查看当前文件系统包含了哪些文件:
<H3C>dir
Directory of flash:/
0 -rw- 10788864 July 16 2015 20:11:42 wa4300s_fat.bin
1 -rw- 1441 July 16 2015 19:35:32 startup.cfg
2 -rw- 1326 July 16 2015 19:35:24 system.xml
28321 KB total (18721 KB free)
<H3C>
在命令行的用户视图下,执行ftp命令连接到FTP服务器:
<H3C>ftp 192.168.0.1
Trying 192.168.0.1 ...
Press CTRL+K to abort
Connected to 192.168.0.1.
220 3Com 3CDaemon FTP Server Version 2.0
User(192.168.0.1:(none)):123456
331 User name ok, need password
Password:
230 User logged in
[ftp]
连接成功后,在FTP客户端视图下,执行put命令将文件wa4300s_fat.bin备份到FTP Server上:
[ftp]put wa4300s_fat.bin wa4300s_fat.bin
227 Entering passive mode (192,168,0,11,9,109)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 10788864 byte(s) sent in 8.501 second(s), 1051.00Kbyte(s)/sec.
[ftp]
备份的时候,有同名文件将会直接覆盖服务器上的文件。
2. 升级应用程序文件
在FTP客户端视图下,执行get命令实现对文件的升级:
[ftp] get wa4300s_fat.bin wa4300s_fat.bin
flash:/wa4300s_fat.bin has been existing. Overwrite it?[Y/N]:y //是否覆盖AP上的同名文件
227 Entering passive mode (192,168,0,11,9,142)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 10788864 byte(s) received in 9.50 second(s), 730.00K byte(s)/sec.
[ftp]quit
重启FAT AP,重启后可以使用display version命令查看FAT AP的版本,确认已经升级成功。
![]()
· 下载应用程序文件的时候,如果AP上已经有一个同名文件,那么系统将会提示是否覆盖,选择<Y/N>进行确认。
· 可以通过相同的方式来实现配置文件的更新。配置文件可以由文本编辑器修改,通过下载修改过的配置文件可以实现对配置的更改,所做更改会在下次启动后生效。
3. 恢复备份的应用程序文件、配置文件和web配置文件
![]()
恢复应用程序文件、配置文件和web配置文件的方法相同,下面以恢复应用程序文件为例。
在FTP客户端视图下,执行get命令来恢复备份的应用程序文件:
[ftp] get wa4300s_fat.bin wa4300s_fat.bin
227 Entering passive mode (192,168,0,11,9,142)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 10788864 byte(s) received in 9.50 second(s), 730.00K byte(s)/sec.
使用Web页面进行软件升级的具体步骤如下:
(1) 为PC配置IP地址,保证能与AP互通,例如192.168.0.1/24。
(2) 在Web网管终端(PC)上启动浏览器,在浏览器地址栏内输入http://192.168.0.50,浏览器会显示Web网管的登录验证页面(如下图所示)。输入用户名admin、密码h3capadmin和验证码,选择Web网管的语言种类(目前支持中文和English两种),单击<登录>按钮即可登录。
![]()
AP出厂时已经设置默认的Web登录信息,用户可以直接使用该默认信息登录AP的Web界面。默认的Web登录信息包括:用户名:“admin”,密码:“h3capadmin”,AP的Vlan-interface1接口的IP地址:“192.168.0.50”,掩码255.255.255.0。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
文件一样,下载多次测试了