无线AP版本升级操作指导命令行方式文档格式.docx
《无线AP版本升级操作指导命令行方式文档格式.docx》由会员分享,可在线阅读,更多相关《无线AP版本升级操作指导命令行方式文档格式.docx(27页珍藏版)》请在冰点文库上搜索。
2.AP配置地址
<
WA4330-ACN>
system-view
[WA4330-ACN]undoinfo-centerenable//关闭提示消息,防止打断命令输入
[WA4330-ACN]intvlan1
[WA4330-ACN-Vlan-interface1]ipaddress192.168.1.224//配置IP地址,掩码24位
[WA4330-ACN-Vlan-interface1]return//返回用户视图
//<
>
一对尖括号为用户视图
3.PC的有线网卡配置地址
4.在AP上测试到PC的连通性。
ping192.168.1.1
PING192.168.1.1:
56databytes,pressCTRL_Ctobreak
Replyfrom192.168.1.1:
bytes=56Sequence=0ttl=64time=1ms
bytes=56Sequence=1ttl=64time=1ms
bytes=56Sequence=2ttl=64time=1ms
bytes=56Sequence=3ttl=64time=1ms
bytes=56Sequence=4ttl=64time=1ms
---192.168.1.1pingstatistics---
5packet(s)transmitted
5packet(s)received
0.00%packetloss
round-tripmin/avg/max=1/1/1ms
5.查看AP当前的版本信息
dir
Directoryofflash:
/
0-rw-7836672Aug08200820:
00:
00wa4300_fit.bin//当前有瘦版本文件
1-rw-1202Aug13201805:
27:
12startup.cfg//启动配置文件
2-rw-294Aug13201805:
10system.xml
31185KBtotal(12717KBfree)//剩余空间,12.717MB,需要升级的最新版本的胖版本文件为10.803M,当前剩余空间可以满足使用,就是在AP的flash中可以同时存放FIT和FAT的版本文件,方便后期随时更改AP的FIT和FAT模式。
disboot-loader//查看启动的版本文件
Thecurrentbootappis:
flash:
/wa4300_fit.bin//当前启动版本文件,为FIT
Theappthatwillbootuponrebootis:
/wa4300_fit.bin//下次重新启动版本文件,为FIT
6.如果当前剩余空间不够使用,可以使用以下命令删除当前的FIT版本文件
deleteflash:
/wa4300_fit.bin
Deleteflash:
/wa4300_fit.bin?
[Y/N]:
y//输入y,确认删除
7.双击TFTPServer.exe,打开TFTP软件,确认TFTP服务器地址为192.168.1.1
8.在AP上下载最新的胖版本文件wa4300_fat.bin到AP的flash内
如果当前的AP为胖,但不是最新版本,需要升级为最新的胖版本文件,则AP的flash内是存在wa4300_fat.bin的,此时再下载最新的胖版本文件wa4300_fat.bin到AP的flash内,会提示wa4300_fat.bin已经存在,是否覆盖,此时选择覆盖。
tftp192.168.1.1getwa4300_fat.bin//下载文件命令
.
Filewillbetransferredinbinarymode
DownloadingfilefromremoteTFTPserver,pleasewait...................................................|
//正在下载
TFTP:
11062272bytesreceivedin91second(s)
Filedownloadedsuccessfully.//下载成功
下图为TFTP软件界面,提示文件传输成功
dir
00wa4300_fit.bin
1-rw-11062272Apr26200012:
05:
25wa4300_fat.bin
//胖文件已经存在,实际占用空间为11.062272M
2-rw-1202Aug13201805:
12startup.cfg
3-rw-294Aug13201805:
31185KBtotal(1914KBfree)
boot-loaderfileflash:
/wa4300_fat.bin
//更改启动的版本文件为胖版本文件,boot-loaderfileflash:
/命令后按Tab键进行切换选择
Verifyingbootfile......
Thiscommandwillsetthebootfile.Continue?
[Y/N]:
y//输入y,确认更改
Thespecifiedfilewillbeusedasthebootfileatthenextrebootonslot1!
//提示重启生效
reboot//重启
Starttocheckconfigurationwithnextstartupconfigurationfile,pleasewait.........DONE!
Thiscommandwillrebootthedevice.Currentconfigurationwillbelost,savecurrentconfiguration?
n//提示是否保存当前的配置,输入n,不保存
Thiscommandwillrebootthedevice.Continue?
y,输入y,确认重启
//以下为AP的重启过程
Systemisstarting...
PressCtrl+DtoaccessBASIC-BOOTWAREMENU
BootingNormalExtendBootWare
TheExtendBootWareisself-decompressing....................Done!
****************************************************************************
**
*H3CWA4330-ACNBootWare,Version1.15*
Copyright(c)2004-2017NewH3CTechnologiesCo.,Ltd.
CompiledDate:
Mar272017
CPUType:
ATHEROSAR9557
CPUL1Cache:
32KB
CPUClockSpeed:
720MHz
MemoryType:
SDRAM
MemorySize:
256MB
MemorySpeed:
560MHz
BootWareSize:
512KB
FlashSize:
32MB
PCBVersion:
Ver.B
BootWareValidating...
PressCtrl+Btoenterextendedbootmenu...
Startingtogetthemainapplicationfile--flash:
/wa4300_fat.bin!
...........//从胖文件启动
............................................................................
......
TheAppfileisself-decompressing..........................................
.............................................Done!
Systemapplicationisstarting...
Startupconfigurationfiledoesnotexist.
Userinterfacecon0isavailable.
PressENTERtogetstarted.//回车继续,进入命令行
#Aug1307:
24:
14:
9512018WA4330-ACNSHELL/4/LOGIN:
Trap1.3.6.1.4.1.2011.10.2.2.1.1.3.0.1<
h3cLogIn>
:
loginfromConsole
%Aug1307:
9512018WA4330-ACNSHELL/5/SHELL_LOGIN:
Consoleloggedinfromcon0.
dir//查看AP的flash内版本文件
disboot-loader//查看当前的启动配置文件
/wa4300_fat.bin//当前版本文件,为FAT
/wa4300_fat.bin//下次重新启动版本文件,为FAT
disversion//查看当前软件的版本信息
H3CComwarePlatformSoftware
ComwareSoftware,Version5.20,Release1508P11//为最新版本
Copyright(c)2004-2017NewH3CTechnologiesCo.,Ltd.Allrightsreserved.
H3CWA4330-ACNuptimeis0week,0day,0hour,1minute
CPUtype:
256MbytesDDR2SDRAMMemory
32MbytesFlashMemory
PcbVersion:
BasicBootROMVersion:
1.11
ExtendBootROMVersion:
1.15
[SLOT1]CON(Hardware)Ver.B,(Driver)1.0
[SLOT1]GE1/0/1(Hardware)Ver.B,(Driver)1.0
[SLOT1]GE1/0/2(Hardware)Ver.B,(Driver)1.0
[SLOT1]RADIO1/0/1(Hardware)Ver.B,(Driver)1.0
[SLOT1]RADIO1/0/2(Hardware)Ver.B,(Driver)1.0
[SLOT1]RADIO1/0/3(Hardware)Ver.B,(Driver)1.0
9.清除默认配置
经过以上操作,AP已经成功的从FIT升级到了最新的FAT的版本文件。
默认是存在配置的,需要清除默认的配置
//以下为胖AP的默认配置命令
displaycurrent-configuration
#
version5.20,Release1508P11
sysnameWA4330-ACN
domaindefaultenablesystem
telnetserverenable
port-securityenable
password-recoveryenable
undoattack-defensetcpfragmentenable
vlan1
domainsystem
access-limitdisable
stateactive
idle-cutdisable
self-service-urldisable
user-groupsystem
group-attributeallow-guest
local-useradmin//默认的系统账户admin,默认密码为h3capadmin,需要删除,
passwordcipher$c$3$B23SMxyOb11sDEydWQSHYCHd2RuBBxpWkSelF64=
authorization-attributelevel3
service-typetelnet
wlanrrm
dot11amandatory-rate61224
dot11asupported-rate918364854
dot11bmandatory-rate12
dot11bsupported-rate5.511
dot11gmandatory-rate125.511
dot11gsupported-rate69121824364854
wlanservice-template1clear//默认明文服务模板,SSID:
H3C,需要删除
ssidH3C
service-templateenable
cwmp
undocwmpenable
interfaceNULL0
interfaceVlan-interface1//默认地址,需要删除,不删除也没关系,下次配置会覆盖
ipaddress192.168.0.50255.255.255.0
interfaceGigabitEthernet1/0/1
interfaceGigabitEthernet1/0/2
interfaceWLAN-BSS32//默认扩展服务组,需要删除
portlink-typehybrid
porthybridvlan1untagged
interfaceWLAN-BSS33//默认扩展服务组,需要删除
interfaceWLAN-Radio1/0/1
interfaceWLAN-Radio1/0/2
service-template1interfacewlan-bss33//射频下绑定的服务模板和扩展服务组,需要删除
interfaceWLAN-Radio1/0/3
#
arp-snoopingenable
loadxml-configuration
loadtr069-configuration
user-interfacecon0
user-interfacevty04
authentication-modescheme
return
//默认配置可以使用以下脚本删除
sys
undoservice-template1
undointerfacewlan-bss32
undointerfacewlan-bss33
undowlanservice-template1
undolocal-useradmin
undointvlan1
//以下为清除完默认配置后,AP的配置
displaycurrent-configuration