Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

different wlc ip for ap's


We get following error on a controller when certain ap tries to join it.

The primary controller has management address on vlan 7 ( includes both vlan 7 & 8 in subnet) -

*spamApTask2:   a8:b0:e9:50:2c:00 CAPWAP Control Msg Received from

*spamApTask2:  a8:b0:e9:50:2c:00 Discarding CAPWAP packet not for this WLC -->

It seems the ip may have been used on the WLC interface ,previously to image the AP's. but the current interface ip is

What could cause this error? Please suggest on how to resolve this.

Thanks in advance!

Cisco Employee

different wlc ip for ap's


- pls issue- "sh interface summary" on the wlc and mention the exact wlc mgmt subnet

- what is the AP subnet?

- How are the APs discovering the controller? Do you have option 43 configured?

Has that been changed to the correct WLC ip after you have the ip change on the controller?


different wlc ip for ap's

Hi ,

Are the APs on the same subnet as the WLC on a different subnet?

Where the APs previusly joined to another WLC or was the WLC using a different IP address on the managment interface?

If the AP was joined to a previous WLC or the WLC had a different IP address you could try to reset the AP to defaults using the follwoing procedure.

1.Desconect the AP from the network. 
2.Do a power cycle. 
3. When the access points loads the soiftweare log in (default password: Cisco)

4. Run the command: Show flash

    14  drwx 320   Mar 2 2002 03:14:32 +00:00 c1130-rcvk9w8-tar.123-11JX1
     4  drwx 256   Jan 20 2006 20:38:02 +00:00  c1130-k9w8-mx.123-7.JX2
    12  -rwx 525184   Mar 1 2002 00:00:32 +00:00  r1.rcore
     9  -rw    5777   Mar 7 2002 17:51:52 +00:00  login.html
    10  -rwx   1784   Mar 1 2002 23:21:56 +00:00  config.txt
    13  -rwx      5   Mar 1 2002 23:21:56 +00:00  private-config

If you see 2 images one is the recovery and looks like: 


There could be another image that is the image downloaded from the WLC and this one is the
one we need to remove:

For erasing this image we use the command:

delete /recursive flash:


delete /recursive flash: c1130-k9w8-mx.123-7.JX2

This way the access point Hill reboot with the only abalable image in this case

But the private-config has not been erased (Here is where the AP IP and WLC IP is saved),
for erasing this we use the following command:

AP1130#clear lwapp private-config

After this we are able to reconfigure the AP with the correct information:

AP1130#lwapp ap hostname AP1240
AP1130#lwapp ap ip address
AP1130#lwapp ap ip default-gateway
AP1130#lwapp ap controller ip address