cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20314
Views
4
Helpful
17
Replies

CAPWAP access point

Chieu Dinh
Level 1
Level 1

- 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.

17 Replies 17

Stephen Rodriguez
Cisco Employee
Cisco Employee

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

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

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
Hall of Fame
Hall of Fame
- 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.

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
VIP Alumni
VIP Alumni

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.

Rating useful replies is more useful than saying "Thank you"

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.

Actually, you would want to follow these instructions.  Just switch to the correct AP and image name.

https://supportforums.cisco.com/docs/DOC-14636

Steve

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

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

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

Rating useful replies is more useful than saying "Thank you"

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

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

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

Rating useful replies is more useful than saying "Thank you"

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

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

Rating useful replies is more useful than saying "Thank you"
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: