CAPWAP access point

Unanswered Question
Apr 4th, 2012

- Is there any instruction on how to provision the access point from CAPWAP?

- I have one access point that lost the configuration and can access to the console port only. How do I provision the AP back to the controller?

Thank you very much.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 4 (1 ratings)
Stephen Rodriguez Wed, 04/04/2012 - 15:49

you could try to use the CLI to tell the AP which WLC to join

capwap ap controller ip address < address >

But if the AP is able to get DHCP option 43 should work as well.

Steve

chieu.dinh Fri, 04/06/2012 - 14:19

I dont have the option 43 setup. I am using static IP.

- you could try to use the CLI to tell the AP which WLC to join

     capwap ap controller ip address < address >

** is this CLI works for Aironet 1310 too? Or do I setup using Web browser?

Thanks

Leo Laohoo Wed, 04/04/2012 - 16:19
- I have one access point that lost the configuration and can access to the console port only. How do I provision the AP back to the controller?

Connect the WAP back to the network and post the entire bootup process and WLC discovery process.

mplaksin0 Mon, 04/09/2012 - 08:07

First, the Access-Point needs an IP Address. Assign IP address to the Access-Point using a DHCP Server configured on the router. Use the Option 43 with the AP Manager IP of the Wireless Controller. Here an Example:

Complete these steps in order to configure DHCP Option 43 for lightweight Cisco Aironet access points in the

embedded Cisco IOS DHCP server:

1. Enter configuration mode at the Cisco IOS CLI.

2. Create the DHCP pool, which includes the necessary parameters, such as the default router and server

name. This is an example DHCP scope:

ip dhcp pool

network

default-router

dns-server

3. Add the Option 43 line with this syntax:

option 43 hex

The hexadecimal string in step 3 is assembled as a sequence of the TLV values for the Option 43 suboption:

Type + Length + Value.

Type is always the suboption code 0xf1. Length

is the number of controller

management IP addresses times 4 in hex.

Value

is the IP address of the controller listed sequentially in hex.

For example, suppose there are two controllers with management interface IP addresses, 192.168.10.5 and

192.168.10.20. The type is 0xf1. The length is 2 * 4 = 8 = 0x08. The IP addresses translate to c0a80a05

(192.168.10.5) and c0a80a14 (192.168.10.20). When the string is assembled, it yields

f108c0a80a05c0a80a14. The Cisco IOS command that is added to the DHCP scope is:

option 43 hex f108c0a80a05c0a80a14

Amjad Abdullah Mon, 04/09/2012 - 02:47

Chieu:

If you only wants the AP to join WLC it will if you are connecting it to the same subnet/VLAN as the WLC management IP address.

If it is on different subnet you can use DHCP, DNS for example or you can assign the WLC management IP address statically just like described by Steve.

You need to make sure that the connection to which you connect the AP can reach the WLC.

chieu.dinh Mon, 04/09/2012 - 08:52

My access point is corrupted image. I am reloading the image. In the LWAPP, is the image download from the WLC?

Can I use the folllowing steps to reload it?

bridge: set IP_ADDRESS 192.168.133.160

bridge: set NETMASK 255.255.255.0

bridge: set DEFAULT_ROUTER 192.168.133.1

will the image will download from the WLC after I ran these steps?

Thank you very much.

chieu.dinh Mon, 04/09/2012 - 10:48

Thank you Stephen

The instruction is helped to get further.

I think I have corrupt IOS image. Here is the error. But I check directory have one file in flash:

Error:

Loading "flash:/c1310-k9w8-mx.124-23c.JA"...flash:/c1310-k9w8-mx.124-23c.JA: no

such file or directory

Error loading "flash:/c1310-k9w8-mx.124-23c.JA"

Interrupt within 5 seconds to abort boot process.

Loading "flash:/update/c1310-k9w8-mx.124-23c.JA/c1310-k9w8-mx.124-23c.JA"...####

##bad mzip file, unknown zip method

Error loading "flash:/update/c1310-k9w8-mx.124-23c.JA/c1310-k9w8-mx.124-23c.JA"

Interrupt within 5 seconds to abort boot process.

Boot process failed...

bridge> dir flash:/c1310-rcvk9w8-mx

This is a directory. I also set BOOT to this environment but it is not boot correctly.

I will need the IOS to download it again. Is it right?

My questioni is how come I set BOOT to c1310-k9w8-mx, but it is loading c1310-k9w8-mx.124-23c.JA ?

Thanks

Amjad Abdullah Tue, 04/10/2012 - 01:20

Chieu:

If you have corrupted image you can delete the image and make the AP get a fresh image from WLC when it joins:

  • Disconnect AP from power.
  • Press on the mode button.
  • While holding press on the mode button connect the power to the AP.
  • Wait until the LEDs become Red (or dark purple). This may need 20 - 25 seconds.
  • When the LEDs become dark purple release the mode button. The image will be now deleted.

Successful join to WLC after then will make the AP to get a fresh image from WLC.

HTH

Amjad

chieu.dinh Tue, 04/10/2012 - 10:54

Thank you Amjad.

I have AP 1310 not 1410. The process you sent is for the AP 1410. I have done this on AP 1410.

Is the 1310 the same procedure?

Thanks

chieu.dinh Mon, 04/16/2012 - 14:54

Hi Amjad

I can rebuild the image now. with the steps below:

bridge: set IP_ADDRESS 192.168.133.160

bridge: set NETMASK 255.255.255.0

bridge: set DEFAULT_ROUTER 192.168.133.1

and now how do I associate my access point to WLC?

THanks

Amjad Abdullah Mon, 04/16/2012 - 23:01

Chieu:

Do u have the ap prompt now as

Bridge:

Or

Bridge>

?

Can u boot the image successfully now?

To make an ap join wlc:

It joins automatically if on same subnet

You can use dhcp option 43 or DNS

You can configure wlc ip adress on the ap using the command:

Capwapap controller ip address x.x.x.x

But this last command will not worl if your ap has previus knowledge about other wlcs (i.e. if it joined a wlc before and it still have the data for that wlc)

Here is a doc that might help.

http://www.cisco.com/en/US/tech/tk722/tk809/technologies_tech_note09186a00806c9e51.shtml

Let us know if you stillneeds more help :)

Amjad

chieu.dinh Mon, 04/16/2012 - 23:44

Thank you for your help Amjad.

Yes I have these prompt

Do u have the ap prompt now as

Bridge:

Or

Bridge>

I can set IP_ADDR and MASK. The image is boot successfully.

I have the AP on the same subnet with WLC. I dont' have the DHCP therefore I used the static IP address.

I will try it on the WLC. I am using WCS therefore I can't run CAPWAP.

Thanks

Amjad Abdullah Mon, 04/16/2012 - 23:59

Chieu:

is the prompt like bridge>

or bridge:

?

is it a triangle or a colon at the end?

if the image boots successfully it should be "bridge>".

From which you can use the commands.

I wonder how did you use set IP_ADDR on the AP if you are using WCS and have no physical access to the AP?

if AP on same management subnet as WLC when you connect it the AP will send a broadcast discovery and the WLC will reply if it receives that discovery request and the AP then will join.

You don't have to use set IP_ADDR,

you can simply use:


capwap ap ip address x.x.x.x (put ap ip address here)

capwap ap default-gateway x.x.x.x

Here is a list of commands that can be used to configure the AP with ip address (its own IP, default gateway, syslog server...etc).

http://tiny.cc/9idwcw

all above capwap commands are available on the AP from console. You can only use them if the AP have never joined a WLC (or if it is reset to default after joining a WLC).

Let us know about your try to get the AP to correctly join the WLC from same subnet.

Amjad

chieu.dinh Wed, 04/18/2012 - 14:35

Amjad

Can we use WCS to provision the access points? What is the steps to process?

I don't have an access to WLC so I find the way to get around it

Thanks

Leo Laohoo Wed, 04/18/2012 - 15:16

Can we use WCS to provision the access points? What is the steps to process?

I don't have an access to WLC so I find the way to get around it

Please refrain from making multiple posts (3/3) of the same topic. 

Actions

Login or Register to take actions

This Discussion

Posted April 4, 2012 at 3:46 PM
Stats:
Replies:17 Avg. Rating:4
Views:4466 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard