首先准备好工具:putty(或者CRT用于控制AP),3CDaemon (用于tftp服务器),IOS镜像文件,网线,电脑。
1.电脑连接console线,查看AP内置升级IOS的名字 1.1查看COM口号
1.2连接putty
1.3 将电脑用console线插入APconsole – 按住AP mode键-上电(继续按住mode持续20秒以上)
此时putty显示:
flashfs[0]: 3 files, 2 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: Total bytes: 15998976 flashfs[0]: Bytes used: 1867776
flashfs[0]: Bytes available: 14131200 flashfs[0]: flashfs fsck took 26 seconds.
Base ethernet MAC Address: 00:1d:a1:ff:3c:dc Initializing ethernet port 0... Reset ethernet port 0... Reset done!
ethernet link up, 100 mbps, full-duplex Ethernet port 0 initialized: link is up
button is pressed, wait for button to be released...
看到上面wait的提示后,松开mode键 button pressed for 29 seconds
process_config_recovery: set IP address and config to default 10.0.0.1 process_config_recovery: image recovery
image_recovery: Download default IOS tar image tftp://255.255.255.255/c1240-k9w7-tar.default (从这里可以看出,在这个状态下,ap把自己的以太口设置为10.0.0.1的ip地址,然后广播去找tftp服务器下的c1240-k9w7-tar.default镜像文件)
此时看到AP的IOS文件为c1240-k9w7-tar.default
2.将下载好的IOS文件例如:ap1g2-k9w8-tar.152-4.JB6 或者ap1g2-k9w8-tar.153-3.JC 直接改名为以上得到的XXXX-K9W7-TAR.default 的名字(以实际情况更改)
2.1 设置本地连接IP地址为:10.0.0.2 将AP网口与本地连接直连
2.2设置3CDaemon 存放路径 将已经改好的.default 文件放入该目录
3. 断电AP 按住mode键 开启AP电源 等待20秒以上 松开mode键重复以下的情况:
flashfs[0]: 3 files, 2 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: Total bytes: 15998976 flashfs[0]: Bytes used: 1867776
flashfs[0]: Bytes available: 14131200 flashfs[0]: flashfs fsck took 26 seconds.
Base ethernet MAC Address: 00:1d:a1:ff:3c:dc Initializing ethernet port 0... Reset ethernet port 0... Reset done!
ethernet link up, 100 mbps, full-duplex Ethernet port 0 initialized: link is up
button is pressed, wait for button to be released...
看到上面wait的提示后,松开mode键 button pressed for 29 seconds
process_config_recovery: set IP address and config to default 10.0.0.1 process_config_recovery: image recovery
image_recovery: Download default IOS tar image tftp://255.255.255.255/c1240-k9w7-tar.default
examining image...
……………………………………………………………………………………………………….. 当看到以上的情况出现说明升级已经开始了
AP IOS升级失败可能原因
1. POE交换机接AP的端口和接tftp server的端口必须在同一vlan; 2. 笔记本电脑防火墙保持关闭; 3. Tftp server软件运行异常;
4.需要按住MODE键启动AP后,提示松开MODE键后打开TFTP软件;
升级结束后可以尝试键入conf t 查看是否为瘦AP 瘦AP没有conf t 模式 胖ap 可以 默认账号密码应该都是Cisco或者cisco
此方法适用于胖转瘦 瘦转胖