华为AP3010DN-AGN刷固件方法
AP3010DN-AGN胖FAT转瘦FIT命令如下:
方法一:
[Huawei]interface vlan 1
[Huawei-Vlanif1]ip address 169.254.1.1 255.255.0.0 //默认就是这个,此处可略过
[Huawei-Vlanif1]quit
本机IP设置 169.254.1.200 255.255.0.0 并开启3CDaemon(下载地址:http://blog.wmphp.com/down/3CDaemon.zip ),输入如下命令,完成FAT转Fit模式。终端工具:SecureCRT6.2.0(下载地址:http://blog.wmphp.com/down/SecureCRT.zip )
ap-mode-switch prepare
ap-mode-switch check
ap-mode-switch tftp FitAP3X10XN_V200R006C20SPC800.bin 169.254.1.200
方法二:
Uboot升级
开启3秒左右,看到提示
Press f or F to stop Auto-Boot in 3 seconds: 3 //按F键进入Uboot模式
Password for uboot cmd line : //输入密码admin@huawei.com
- 配置AP和tftp服务器的IP地址,保证AP能够从tftp服务器获取升级文件。
ar7240> setenv ipaddr 169.254.1.1 #AP的IP地址
ar7240> setenv serverip 169.254.1.200 #服务器的IP地址
ar7240> saveenv
Saving Environment to Flash...
Erasing Flash...Writing to Flash... done
- 在命令行中键入update boot,在下面的显示信息中作相应的配置:
- 升级uboot:
ar7240> update boot #u-boot.bin存放在TFTP目录下
dup 1 speed 1000
......
Copy to Flash... done
r7240> reset #以新加载的uboot启动
升级uboot时不能断电,否则AP无法启动。
- 重新启动AP。在出现以下信息后3秒内按下F键,进入uboot命令行视图。
Uboot菜单缺省密码为admin@huawei.com。
Press f or F to stop Auto-Boot in 3 seconds: 3
Password for uboot cmd line :
ar7240>
加载需要升级的bin FiT AP系统软件:
ar7240> update system FitAP3X10XN_V200R006C20SPC800.bin #系统bin存放在TFTP目录下
dup 1 speed 1000
......
Upgrade Firmware to A Successful
- 配置完成后,在命令行中键入reset,AP就会使用指定的网络启动固件文件启动了。用这种方式启动后,固件被读入AP的flash。
ar7240> reset
Resetting...
- 升级完成后,可执行命令display version查看当前版本是否升级成功。此方法没有方法一实用,而且有风险,小编也没用,只是列出来供大家参考
AP3010DN-AGN S/N:2102355829w0e5005614
AP为FAT模式时已开启WEB网管
默认的IP 169.254.1.1 掩码:255.255.0.0
默认用户名 admin 密码:admin@huawei.com
(1)用户视图(查看交换机的简单运行状态和统计信息)<Quidway>:与交换机建立连接即进入
(2)系统视图(配置系统参数)[Quidway]:在用户视图下键入system-view
(3)以太网端口视图(配置以太网端口参数)[Quidway-Ethernet0/1]:在系统视图下键入interface ethernet 0/1
(4)VLAN视图(配置VLAN参数)[Quidway-Vlan1]:在系统视图下键入vlan 1
(5)VLAN接口视图(配置VLAN和VLAN汇聚对应的IP接口参数)[Quidway-Vlan-interface1]:在系统视图下键入interface vlan-interface 1
(6)本地用户视图(配置本地用户参数)[Quidway-luser-user1]:在系统视图下键入local-user user1
(7)用户界面视图(配置用户界面参数)[Quidway-ui0]:在系统视图下键入user-interface
sys 回车 进入全局模式
quit 退回到用户
save 保存
Ctrl+Z 换一行
-----
<huawei>reset saved-configuration 恢复出厂值,交换机重置
<huawei>reset factory AP重置
reboot
N 不要存在配置
Y 确定重启
-----
按RESET键 恢复出厂设置
display current-configuration 显示当前配置
[Huawei]display current-configuration
#
snmp-agent local-engineid 800007DB03002520130280
snmp-agent
#
http secure-server ssl-policy default_policy
http server enable
#
clock timezone Bei Jing Time add 08:00:00
#
info-center timestamp log format-date
#
dns resolve
#
lldp enable
#
pki realm default
enrollment self-signed
#
ssl policy default_policy type server
pki-realm default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password irreversible-cipher %@%@X"rg8gLdnWFsme+%Cme&|WpR_ry&% h+8uUz%T^ED_a&~WpU|%@%@
local-user admin privilege level 15
local-user admin service-type ssh http
#
interface Vlanif1
ip address 169.254.1.6 255.255.0.0
#
interface GigabitEthernet0/0/0
#
interface Wlan-Bss1
permit-domain name default
force-domain name default
#
interface Wlan-Bss2
permit-domain name default
force-domain name default
#
interface NULL0
#
ssh client first-time enable
stelnet server enable
undo telnet server enable
#
user-interface con 0
authentication-mode password
set authentication password cipher %@%@aY1{WW$UkOsye(PSBDV<,.N396-.8l8z{(x]8'1w N5"B.N6,%@%@
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
user-interface vty 16 20
#
wlan
wmm-profile name default id 0
wmm-profile name BUBA id 1
wmm-profile name BUBA-5G id 2
traffic-profile name default id 0
security-profile name default id 0
security-profile name BUBA id 1
security-policy wpa-wpa2
wpa-wpa2 authentication-method psk pass-phrase cipher %@%@H:=$MFJ{7KD]Bj.5u[X6 *)Of%@%@ encryption-method tkip-ccmp
service-set name BUBA id 0
Wlan-Bss 1
ssid BUBA
user-isolate
traffic-profile id 0
security-profile id 1
service-set name BUBA-5G id 1
Wlan-Bss 2
ssid BUBA-5G
user-isolate
traffic-profile id 0
security-profile id 1
radio-profile name default id 0
wmm-profile id 0
radio-profile name BUBA id 1
channel-mode fixed
wmm-profile id 1
radio-profile name BUBA-5G id 2
channel-mode fixed
wmm-profile id 2
#
interface Wlan-Radio0/0/0
radio-profile id 1
service-set id 0 wlan 1
#
interface Wlan-Radio0/0/1
radio-profile id 2
channel 40MHz-minus 64
service-set id 1 wlan 1
#
return新配置
[Huawei]display saved-configuration
[V200R005C00SPC600]
#
ftp server enable
set default ftp-directory flash:
#
snmp-agent local-engineid 800007DB03002520130280
snmp-agent
#
http secure-server ssl-policy default_policy
http server enable
#
clock timezone Bei Jing Time add 08:00:00
#
info-center timestamp log format-date
#
dns resolve
#
lldp enable
#
pki realm default
enrollment self-signed
#
ssl policy default_policy type server
pki-realm default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password irreversible-cipher %@%@X"rg8gLdnWFsme+%Cme&|WpR_ry&%h+8uUz%T^ED_a&~WpU|%@%@
local-user admin privilege level 15
local-user admin service-type ssh http
#
interface Vlanif1
ip address 169.254.1.1 255.255.0.0
#
interface GigabitEthernet0/0/0
#
interface Wlan-Bss1
description Wlan-Bss1
permit-domain name default
force-domain name default
#
interface Wlan-Bss2
description Wlan-Bss2
permit-domain name default
force-domain name default
#
interface NULL0
#
ssh client first-time enable
sftp server enable
stelnet server enable
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
authentication-mode aaa
protocol inbound all
user-interface vty 16 20
authentication-mode aaa
#
wlan
wmm-profile name default id 0
wmm-profile name BUBA id 1
wmm-profile name BUBA_5G id 2
traffic-profile name default id 0
security-profile name default id 0
security-profile name BUBA id 1
security-policy wpa2
wpa2 authentication-method psk pass-phrase cipher %@%@if;4CqM.u77|F!9HZGQ~x&k9%@%@ encryption-method tkip-ccmp
service-set name BUBA id 0
Wlan-Bss 1
ssid BUBA
user-isolate
traffic-profile id 0
security-profile id 1
service-set name BUBA_5G id 1
Wlan-Bss 2
ssid BUBA_5G
user-isolate
traffic-profile id 0
security-profile id 1
radio-profile name default id 0
wmm-profile id 0
radio-profile name BUBA id 1
wmm-profile id 1
radio-profile name BUBA_5G id 2
wmm-profile id 2
#
interface Wlan-Radio0/0/0
radio-profile id 1
service-set id 0 wlan 1
#
interface Wlan-Radio0/0/1
radio-profile id 2
service-set id 1 wlan 1
#
return
完美源码 » 华为AP3010DN-AGN刷固件方法