无线配置实例
场景需求: AP1 及 AP2 通过交换机 SW1 向 WLC1 进行注册,注册成功后笔记本用户可以实现无线上外网。本实例将 介绍二层注册及三层注册过程。实验拓扑如下图所示:
ASA11
192.168.198.2/16
Sw1
192.168.224.1/16 192.168.224.254/16
WLC1
Trunk Vlan: 1 Vlan1
Vlan1 Vlan1
AP1
AP2
SSID20
SSID30
Notepad11
Notepad12
故障:AP 不能成功向 WLC 注册,WLC 上显示 AP 注册状态为 Not Joined。如下图所示:
-1-
AP 不能成功向 WLC 注册,但能拼通 WLC 的地址,在 AP 上报错如下: *Mar 1 01:56:57.467: %CAPWAP-3-ERRORLOG: Invalid event 38 & state 2 combination. *Mar 1 01:56:57.535: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 192.168.1.7, mask 255.255.0.0, hostname AP6c41.6aca.5a72 AP6c41.6aca.5a72#ping 192.168.224.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.224.1, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/1 ms AP6c41.6aca.5a72# Translating "CISCO-CAPWAP-CONTROLLER.kyitedu"...domain server (202.101.224.69)ping 192.168.224.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.224.1, timeout is 2 seconds: !!!!! Succ
ess rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms AP6c41.6aca.5a72# *Mar 1 01:57:04.463: %CAPWAP-3-ERRORLOG: Did not get log server settings from DHCP. *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: Could Not resolve CISCO-CAPWAP-CONTROLLER.kyitedu *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: Discovery response from MWAR 'Cisco_88:d1:a4'running version 7.0.220.0 is rejected. *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: Failed to decode discovery response. *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: CAPWAP SM handler: Failed to process message type 2 state 2. *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: Failed to handle capwap control message from controller *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: Failed to process unencrypted capwap packet from 192.168.224.1 *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: Discovery response from MWAR 'Cisco_88:d1:a4'running version 7.0.220.0 is rejected. *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: Failed to decode discovery response. *Mar 1 01:57:22.463: %CAPWAP-3-ERRORLOG: CAPWAP SM handler: Failed to process message type 2 state 2. *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: Discovery response from MWAR 'Cisco_88:d1:a4'running version 7.0.220.0 is rejected. *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: Failed to decode discovery response. *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: CAPWAP SM handler: Failed to process message type 2 state 2. *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: Failed to handle capwap control message fr
om controller *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: Failed to process unencrypted capwap packet from 192.168.224.1 *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: Discovery response from MWAR 'Cisco_88:d1:a4'running version 7.0.220.0 is rejected. *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: Failed to decode discovery response. *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: CAPWAP SM handler: Failed to process message type 2 state 2. *Mar 1 01:57:42.463: %CAPWAP-3-ERRORLOG: Failed to handle capwap control message from controller 经分析判断,WLC 的 IOS 版本偏低导致 AP 不能注册进来,对 WLC 进行 IOS 升级
-2-
特别提示:升级 WLC 的 IOS 不建议使用 boot menu 操作方式,错误的 boot menu 操作过程及相关报错如下: WLCNG Boot Loader Version 1.0.16 (Built on Feb 28 2011 at 13:14:54 by cisco) Board Revision 0.0 (SN: PSZ170506EK, Type: AIR-CT2504-K9) (P) Verifying boot OK. OCTEON CN5230C-SCP pass 2.0, Core clock: 750 MHz, DDR clock: 330 MHz (660 Mhz da ta rate) CPU Cores: 4 DRAM: 1024 MB Flash: 32 MB done Network: octeth0', octeth1, octeth2, octeth3 ' - Active interface E - Environment MAC address override CF Bus 0 (IDE): OK IDE device 0: - Model: 1GB CompactFlash Card Firm: CF B612J Ser#: C361100043A1YqAC7E9R - Type: Hard Disk - Capacity: 977.4 MB = 0.9 GB (2001888 x 512)
Press <ESC> now to access the
============================================================ Boot Loader Menu ============================================================ 1. Run primary image (7.0.220.0) - Active 2. Run backup image (7.0.220.0) 3. Change active boot image 4. Clear configuration 5. Format FLASH Drive 6. Manually update images -----------------------------------------------------------Enter selection: init started: BusyBox v1.6.0 (2009-02-03 04:56:32 EST) multi-call binary Mount failed for selinuxfs on /selinux: No such file or directory starting pid 655, tty '': '/etc/init.d/rcS' Use DHCP for ip configuration (Y/n)? Sending DHCP request . . .
-3-
ios13测试版DHCP client bound to address 192.168.10.242 Enter TFTP server IP address: 192.168.224.101 !!! WARNING updating using .aes or unapproved files will disable this unit !!! Do you want to update RTOS (y/N)? y Do you want to update Primary Or Secondary Image (P/s)? Enter filename for RTOS update: AIR-CT2500-K9-7-4-110-0.aes RTOS update Done Enter filename for FP update: AIR-CT2500-K9-7-4-110-0.aes
FP update Done Do you want to update an AP image (y/N)? AP Images Not Updated Done. Restarting.
.. Restarting system.
WLCNG Boot Loader Version 1.0.16 (Built on Feb 28 2011 at 13:14:54 by cisco) Board Revision 0.0 (SN: PSZ170506EK, Type: AIR-CT2504-K9) (W) Verifying boot OK. OCTEON CN5230C-SCP pass 2.0, Core clock: 750 MHz, DDR clock: 330 MHz (660 Mhz data rate) CPU Cores: 4 DRAM: 1024 MB Flash: 32 MB done Network: octeth0', octeth1, octeth2, octeth3 ' - Active interface E - Environment MAC address override CF Bus 0 (IDE): OK IDE device 0: - Model: 1GB CompactFlash Card Firm: CF B612J Ser#: C361100043A1YqAC7E9R - Type: Hard Disk - Capacity: 977.4 MB = 0.9 GB (2001888 x 512)
Press <ESC> now to access the Loading primary image (Bad image type)
-4-
119537036 bytes read WARNING: Data loaded outside of the reserved load area, memory corruption may occur. WARNING: Please refer to the bootloader memory map documentation for more information. 经过上述错误 IOS 升级,WLC 不能正常启动,启动至 则进入死机状态。 之后使用 WLC 的 GUI 方式升级 IOS,则能够正常启动,WLC IOS 的 GUI 升级操作如下: 启动 TFTP32 软件并进行如下相关设置:
在 WLC 上进行如下相关设置之后点击 Download 进行 IOS 升级:
升级 IOS 成功后,在 MONITOR 主菜单下检查发现 IOS 版本已升级变为 7.5.102.0,如下图:
-5-