1.升级LAP1142的前期准备:
由于LAP1142无法获取到IP地址,将console线接到AP上,并且报告错误,日志如下 :
*Mar 1 00:00:44.491: %CDP_PD-2-POWER_LOW: All radios disabled - NEGOTIATEDWS-C2960S-48LPS-L (34bd.c8bc.5401)
*Mar 1 00:00:50.422: %CAPWAP-3-ERRORLOG: Not sending discovery request APdoes not have an Ip !!
*Mar 1 00:01:00.422: %CAPWAP-3-ERRORLOG: Not sending discovery request APdoes not have an Ip !!
2. 确定AP自身有问题,而非网络原因无法获得地址
2.1具体做法如下:
先找到AP的网关和vlan,在AP所连接的上游交换机一路寻找,查看DHCP配置是否正确(网关,地址范围,vlan和option 43)等信息
2.2确定网络配置无误,将一台PC放到AP所在VLAN,能正确获得对应AP所在VLAN的IP地址
3. 1 LAP的镜像文件:
可从官方找到最新或近期的版本,注意是轻型AP的系统镜像,最好是查找官方关于AP和WLC的系统版本对照表,以保证兼容性
http://software.cisco.com/download/release.html?mdfid=282439881&flowid=6789&softwareid=280775090&release=15.2.2-JB&relind=AVAILABLE&rellifecycle=ED&reltype=latest
3.2.准备好操作文档,由于此处是本地升级,需要配置PC的IP地址,来传输AP的镜像文件。
3.3 升级开始,AP恢复模式下的IP地址为10.0.0.1/8,本地IP为10.0.0.2/8。
放在一个地址段或一个vlan即可,并关闭本地计算机计算机防火墙。
开启在PC上开启tftp服务器,并将镜像文件放入TFTP指定目录
这里选择的是c1140-k9w8-tar.124-23c.JA4.tar:
c1140-k9w8-tar.124-23c.JA4.tar ----> c1140-k9w8-tar.default
重启AP,并按住mode键 :
Base ethernet MACAddress: 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, waitfor button to be released... (可以松开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重新安装系统的过程 。
升级成功结果 :
AP正常获得地址:
*Mar 1 00:00:12.310: %SNMP-5-COLDSTART: SNMP agent on host AP6c20.569a.6e98is undergoing a cold start
*Mar 1 00:12:39.044: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
*Mar 1 00:12:39.111: %LINK-5-CHANGED: Interface Dot11Radio1, changed state toreset
*Mar 1 00:12:39.112: %LINK-5-CHANGED: Interface Dot11Radio0, changed state toreset
*Mar 1 00:12:40.298: %SSH-5-ENABLED: SSH 2.0 has been enabled
*Mar 1 00:12:40.298: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceDot11Radio1, changed state to down
*Mar 1 00:12:40.298: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceDot11Radio0, changed state to down
*Mar 1 00:12:49.108: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0assigned DHCP address 10.157..200, mask 255.255.255.128, hostnameAP6c20.569a.6e98
AP成功发现控制器:
*Mar 1 00:13:02.501: %CDP_PD-4-POWER_OK: Full power - NEGOTIATED inline powersource
*Mar 1 00:13:02.523: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state toup
*Mar 1 00:13:02.548: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state toup
*Mar 1 00:13:03.508: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceDot11Radio1, changed state to up
*Mar 1 00:13:03.509: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host255.255.255.255 started - CLI initiated
*Mar 1 00:13:03.534: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceDot11Radio0, changed state to up
Translating"CISCO-CAPWAP-CONTROLLER"...domain server (255.255.255.255)
*Mar 1 00:13:08.897: %CAPWAP-5-DHCP_OPTION_43: Controller address10.157..123 obtained through DHCP
AP升级成功