#

Thursday, July 20, 2017

Light Weight Access Point Registration Process with Cisco WLC

This is a 4 step process. They are Getting an IP address, Finding WLCs, Selecting WLCs & Registering with the Primary WLC.. Simple like that.. In Light Weight mode, APs act as end point dumb devices to Wireless LAN Controllers. What they just need is to find a WLC to build it's tunnel (CAPWAP) to transport user traffic where they will be handled as required..

Step 01: Getting an IP address

AP can be assigned an IP address in 2 methods..
1. Static assignment
2. DHCP

If it is not configured statically, it will send a DHCP discover to find a DHCP server to get an IP address along with other network details.. Nothing amazing here as this is what any end point will do when it is plugged in to a network..


Step 02: Finding WLCs

There are 2 WLC discovery methods in Cisco APs; L2 discovery & L3 discovery..
L2 discovery happens first..

Note:- 

LWAPP & CAPWAP are 2 Light Weight mode protocols which allows APs to join with WLCs. LWAPP stands for Light Weight Access Point Protocol and CAPWAP stands for Control And Provisioning Wireless Access Point. Both accomplishes same task in different ways. CAPWAP seems to do it in a better more secure way. LWAPP is older and only supports in few old platforms.

1. Layer 2 Discovery (supports only on few old platforms using LWAPP)
2. Layer 3 Discovery (supports on all platforms with both LWAPP or CAPWAP)

Steps of L3 Discovery :-

(i). CAPWAP Discovery request broadcast on local subnet (IP broadcast).

(ii). CAPWAP Discovery request sent to controller IP addresses learnt via OTAP feature.

When the feature called OTAP (Over the air provisioning) is configured on a controller, APs that are already been joined to the controller advertise their known controller addresses in neighbor messages that are sent over the air. New APs attempting to discover controllers receive these messages and unicast a discovery request to each controller. WLCs unicast discovery response to APs after receiving these messages.

(iii). CAPWAP discovery request sent to all locally stored WLC IP addresses.

APs maintain a list of WLC IPs previously learnt in its NVRAM. They send unicast messages to these IP addresses. WLCs unicast discovery response to APs after receiving these messages.

(iv). CAPWAP discovery request sent to IP addresses learnt from DHCP option 43.

DHCP option 43 is the IP of the WLC.. You can configure this in DHCP server settings.

(v). CAPWAP discovery request sent to IP addresses learnt from DNS address
CISCO-CAPWAP-CONTROLLER.localdomain

If a WLC gets a discovery request from any above step, it sends a unicast response to AP.
AP runs all these steps to create a list of WLCs. This is called the WLC hunting algorithm.

WLC Hunting Algorithm :-

1. If L2 discovery is supported, send a discovery request in an Ethernet broadcast
2. If L2 discovery is not supported or step 1 fails to find a WLC, proceed to L3 discovery
3. If L3 discovery fails to find  a candidate WLC, reboot and return to step 1


Step 03: Selecting WLCs

WLCs embed the following important information in the LWAPP/CAPWAP Discovery response
1. The controller sysName - hostname of WLC
2. The controller type - platform
3. The controller AP capacity and its current AP load
4. The master controller flag
5. The AP manager IP address

The AP uses this information to make a controller selection

1. If the LAP has been previously configured with primary, secondary and tertiary controller, the LAP will attempt to join these first (specified using the controller sysName)
2. Attempt to join a WLC configured as a master controller
3. Attempt to join a WLC with the greatest excess capacity


Step 04: Registering with the Primary WLC

1. AP sends a join request first..
Join request contains X.509 certificate of AP which WLC validates.

2. WLC sends a join response then..
Join response indicates AP is registered and contains X.509 certificate of WLC which AP validates.

After the joining is complete, following things happen between the WLC & AP..
- Sync firmware on WLC & LAP if it is not matching
- WLC provisions the LAP with configuration parameters (SSID, Security, QoS, etc)

Now the registration is complete. If the primary controller fails, it will register with the secondary controller available in his list..

16 comments:

  1. This excellent website certainly has all the information I needed about this subject and didn?t know who to ask.

    ReplyDelete
  2. Neat blog! Is your theme custom made or did you
    download it from somewhere? A design like yours
    with a few simple tweeks would really make my blog shine.
    Please let me know where you got your theme. Thank you

    ReplyDelete
  3. Hi there, I desire to subscribe for this webpage to get latest updates, so
    where can i do it please help out.

    Feel free to surf to my webpage auramuslimdistro.com

    ReplyDelete
  4. Ƭһanks a bunch for shaгing this wіth all folks you acthally
    recognise wһat you'rе speaking аpproхimately!

    Bookmarked. Kindly additionaloly seek adá´ ice from my site =).
    We can have a link exchange contгwct among us

    ReplyDelete
  5. whoah this weblog is magnificent i really like reading your posts.
    Keep up the good work! You already know, a lot of people
    are hunting round for this info, you could aid them greatly.

    ReplyDelete
  6. magnificent points altogether, you simply
    received a emblem new reader. What may you recommend about your
    post that you just made a few days in the past?
    Any positive?

    ReplyDelete
  7. It will actuslly take a number of repeated applications to your thirsty skin too slow up the technique of lapping iit up.
    Thee "aged" portion will not be called a difficulty for categories of hoarders.
    Psychosocial factors-Women who report inadequate social supports, maqrital discord or dissatisfaction,
    or recent negative life events may experience postpartum depression.

    ReplyDelete
  8. This is a topic that is near to my heart... Many thanks!

    Where are your contact details though?

    ReplyDelete
  9. I needed to thank you for this very good read!!
    I definitely loved every bit of it. I have you book marked to check out
    new stuff you post…

    ReplyDelete
  10. Hello. fantastic job. I did not anticipate this. This is a excellent story.

    Thanks!

    ReplyDelete
  11. Wonderful beat ! I would like to apprentice even as you
    amend your web site, how could i subscribe for a weblog site?

    The account aided me a applicable deal. I
    had been a little bit familiar of this your broadcast provided
    brilliant transparent idea.

    ReplyDelete
  12. I am genuinely thankful to the owner of this web site who has shared this great
    post at at this place.

    ReplyDelete
  13. I always used to read article in news papers but
    now as I am a user of web therefore from now I am using net for articles, thanks to web.

    ReplyDelete
  14. Great blog right here! Also your site quite a bit up fast!
    What web host are you the use of? Can I am getting your affiliate hyperlink for your host?
    I desire my website loaded up as quickly as yours lol

    ReplyDelete
  15. You got a very superb website, Gladiola I found it through
    yahoo.

    ReplyDelete
  16. Howdy just wanted to give you a quick heads up.
    The text in your article seem to be running off the screen in Internet explorer.
    I'm not sure if this is a formatting issue or something to do
    with browser compatibility but I figured I'd post to let you know.
    The design and style look great though! Hope you
    get the issue solved soon. Kudos

    ReplyDelete