Thursday, 11 April 2019

WLC - AP/Clients Supported

 
WLC Max AP Supported Max Client Supported
2504 75 1,000
3504 150 3,000
5500 500 7,000
5700 1,000 12,000
8540 6,000 64,000
WISM2 1,000 15,000
Flex 7500 6,000 64,000
Virtual WLC 200 6,000

Tuesday, 5 March 2019

Spanning Tree - Bridge Priority


Bridge ID consist of 8 Bytes and it is divided into two parts consisting of Bridge priority and Switch Mac Address.



To accommodate the additional VLAN information, Extended System ID field was introduced, borrowing 12 bits from the original Bridge Priority

Bridge Priority Field can only be set in increments of 4096.

This means that the possible values are : 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768 etc.

By default, Cisco’s Per-VLAN Spanning-Tree Plus (PVST+) adds this System ID Extension (sys-id-ext) to the Bridge Priority.

The two values (Bridge Priority + System ID Extension) together make up the Bridge ID which is used to elect the Root Bridge.

Monday, 25 February 2019

Understanding Access Point OS Images


All Cisco Aironet 802.11a/b/g/n and 11ac Wave 1 wireless access points and bridges currently being shipped run IOS, except for the OEAP602.

The newer 11ac Wave 2 APs, including the 1800, 2800 and 3800 series, run AP-COS.

Note: Some very old, no longer supported, Cisco access points ran VxWorks, such as the Aironet 342 and the 1010/1020 lightweight APs.

Access Point IOS is distributed as a tar file. These tar files can be downloaded from cisco.com SDS; lightweight IOS images (k9w8) are also bundled in the WLC software images (.aes.)


The AP image names include the following components:

platform-featureset-tar.version.tar

  • platform- the access point hardware model or family supported by the image
    • ap1g1- 700 series (702w beginning with 15.2(4)JB5)
    • ap1g2- 1600 series
    • ap1g3- 1530 series, AP803 embedded in IR829 router
    • ap1g4- 1850/1830/1810 series (COS not IOS)
    • ap1g5- 1800/1815/1540 series (COS not IOS)
    • ap3g1- 3500/1260 series
    • ap3g2- 3700/3600/2700/2600/1700 series (up through 8.4/15.3(3)JE branch)
    • ap3g3 - 3800/2800/1560 series (COS not IOS)
    • ap802 - AP embedded in 819, 812, 886VA-W/887VA-W, and C88x routers
    • ap801 - AP embedded in 861W, 891W, 1911W routers and most 88xW routers
    • apw5100 - Rockwell Stratix 5100 WAPAK9, WAPCK9, WAPEK9, WAPZK9
    • c3700- 1700/2700/3700 series APs (8.5/15.3(3)JF and above)
    • c1570- 1570 series outdoor APs
    • c1550 - 1550 (128MB model) series outdoor APs
    • c1520 - 1520 and 1550 (64MB model) series mesh APs
    • c1410- BR1410
    • c1310 - BR1310
    • c1250 - 1250 series APs
    • c1240 - 1240 series APs
    • c1200 - 1200 series (1200/1210/1220/1230)
    • c1140 - 1140 and 1040 series APs
    • c1130 - 1130 series APs
    • c1100 - 1100 series APs (i.e. the AP1121)
    • c520 - 521 AP
    • c350 - 350 series APs
  • featureset - the set of software features supported by the image - one of:      
    • k9w7 - autonomous (or "site survey") IOS (not available with COS)
    • k9w8- full lightweight IOS/COS (this is what is bundled in the WLC .aes image, and is factory installed on "mesh" APs)
    • rcvk9w8 - lightweight recovery image - this is factory installed on lightweight APs, unless a "mesh" image is specified; it lacks radio firmware (not available with COS)
    • boot- bootloader image (not IOS) - normally installed by manufacturing and not updated in the field
  • version - the IOS version       
Example:
c1240-k9w7-tar.124-25d.JA1.tar

  • Platform: c1240: 1240 series AP
  • Featureset: k9w7: autonomous IOS
  • Version: 124-25d.JA1: 12.4(25d)JA1
As AP IOS is always distributed as a tar file, the AP cannot directly execute such a file (thus, if you were to copy c1240-k9w7-tar.124-25d.JA1.tar directly onto AP flash, and then try to boot it, this could not work.)  The tar file contains, in addition to the IOS image proper, the radio firmware files, the HTML GUI files (if present), and various other files.

The AP IOS tar file must be bundled into AP flash using the archive exec command (this is done in an automated fashion when a lightweight AP is upgraded after joining a WLC.)

Example:
AP1260#archive download-sw /overwrite tftp://10.95.42.136/ap3g1-k9w7-tar.124-25d.JA1
After unbundling, the IOS image itself be in a file called flash:/platform-featureset-mx.version/platform-featureset-mx.version - for example,flash:/c1240-k9w7-mx.124-25d.JA1/c1240-k9w7-mx.124-25d.JA1.  The AP is configured to boot this image if the bootloader BOOT environmental variable is set accordingly.


To see what IOS image the AP is configured to boot, examine the BOOT variable.


Example:
AP3502i#more flash:/env_vars | include BOOT
BOOT=flash:/ap3g1-k9w8-mx.152-2.JA/ap3g1-k9w8-mx.152-2.JA

To change the BOOT variable, use the IOS config mode boot system command.

Example:
AP3502i (config) #boot system flash:/ap3g1-k9w8-mx.124-25e.JA2/ap3g1-k9w8-mx.124-25e.JA2

Monday, 18 February 2019

Configuration for NAT and PAT

Types
1. Dynamic NAT to a pool
2. Static NAT
3. PAT to a specific address(overload)
4. PAT to the outside router address (overload)

Configure the Access List
Router(config)#access-list 10 permit 10.0.0.0 0.255.255.255
Router(config)#access-list 20 permit 192.168.0.0 0.255.255.255
Router(config)#access-list 30 permit 30.0.0.0 0.255.255.255

Assign the Pool
Router(config)#ip nat pool POOL-10-4NAT 23.0.0.20 23.0.0.254 prefix-length 24
Router(config)#ip nat pool POOL-20-4PAT 23.0.0.11 23.0.0.11 prefix-length 24

Configure the NAT and PAT
Router(config)#ip nat inside source list 10 pool POOL-10-4NAT
Router(config)#ip nat inside source static 172.16.0.1 60.0.0.10
Router(config)#ip nat inside source list 20 pool POOL-20-4PAT
Router(config)#ip nat inside source list 30 interface [outside interface] overload

Router(config)#int [inside-interface]
Router(config-if)#ip nat inside

Router(config)#int [outside-interface]
Router(config-if)#ip nat outside

Friday, 15 February 2019

Configuring Bridge in Cisco AP

Add AP Mac Address in Security-MAC Filtering


Make sure that WLC is configured with single country code, Mesh AP will not join WLC if it has more than 1 country code configured.



Configure Both AP Mode to Bridge


When an AP Joins WLC go to AP and select RootAP - AP which will be connected to Wired end.


When an AP Joins WLC go to AP and select MeshAP - AP which will be creating backhaul connectivity using wireless and which does not have flexibility to connect Wired network.(could be turned on by Power Adapter or Power Injector)


Check the neighbor details by going at the end of AP, click on neighbor information tab.


Parent is configured as RootAP and the Child is configured as MeshAP

Parent

Child


That is all about basic configuration of Bridging.

Tuesday, 12 February 2019

AP Discovery Process

Below is the AP Discovery Process to find WLC.




Challenge for an AP is where to send CAPWAP Discovery messages so for that AP goes through hunting process to find WLC.

  • AP will send DHCP discovery request to get IP address unless it has previously configured static IP.
  • AP sends Layer 3 broadcast [255.255.255.255] to find WLC.
  • It looks for WLC information in option 43 inside DHCP offer to send the discovery request.
  • It will try to resolve CISCO-CAPWAP-CONTROLLER.local-domain or CISCO-LWAPP-CONTROLLER.local-domain to get the IP address of WLC.
  • Previously known WLC IP, AP remembers upto 24 previously learnt WLC IP Address.
  • Statically configured from WLC.
  • Statically configured from AP CLI.

Mobility Group / List / Domain RF Group


At the beginning of the world, wireless networks were small: one controller and a few access points. Then, the young Airespace company (some of you may even remember the even older name, Blackstorm Network) started having larger clients, needing several controllers. Some of them wanted to have controllers isolated from one another, some others wanted a "cluster logic" between controllers, to create a larger virtual controller.


So the Airespace team created the Mobility Group concept, also called Mobility Domain (these two terms mean exactly the same thing). If two controllers belong to the same mobility group, they exchange information about clients (namely, when a new client connects to a controller, this controller informs the other controllers. The result is that when the client roams to another controller, the new controller knows if it is a "new" client (no controller reported this client before), or a roaming client (one controller in the group/domain reported this client before). If it is a roaming client, you can even know which controller the client is coming from, which is very handy to transmit the client credentials from one controller to the other. You could have 12, then later on 24 controllers in the same mobility group/domain.

To make two controllers members of the same mobility group, you needed two steps:
1. Input the same string in the Controller > General > Mobility Domain Name field, so that both controllers have the same mobility group/domain value.
2. Inform each controller about the other, in Controller > Mobility Management > Mobility group. Each controller needs to know the other controller's Management IP address and built-in MAC address.

As a side effect of roaming, we also used to say that if you want roaming to occur smoothly, you'd better run the same code on both controllers (so that they speak the exact same language), and also configure the same virtual gateway IP address (this address is used as a "virtual address" to make the client think that it connects to one big virtual controller instead of several physical controllers).



At that time life was simple... :-) Then some clients also asked to segregate RRM... this was their scenario (kind of): I have 3 controllers, 2 in my office building and one in my warehouse. I want roaming between all of them (okay, so same mobility group/domain and controllers know each other) BUT I do not want cooperation for RRM between the office building and the warehouse. Why? Basically because the warehouse is a specific environment, most of the time isolated from the office and it has specific settings, so I do not want a sort of global master of the network that would not be able to distinguish the warehouse environment from the office environment.

Fine! We are going to create another group concept, the RF-Group (defined in Controller > General). You can put one string for the office building controllers, and another string for the warehouse controller. IF the strings are different, the controllers won't work together for RRM management...

Ok, this is how it works: when you add controllers to the local Mobility group/domain, those controllers send an introduction message to each other (hey, I am X, and oh BTW, my RF-Group is Y). All members of the mobility group also having a common RF-Group value elect an RF-Group leader. The RF-Group leader decides of an RF-Group hash (that represents this RF-Group name shared by those controllers) and sends it back to all members of the RF-Group.

Then, each AP sends, every 60 seconds, a RRM neighbor message from its radios, on all serviced channels. This message contains, among other things, the RF-Group hash. Neighboring APs hearing this message forward it to their respective controller. The controller looks carefully at the message and reads the RF-Group hash value. 2 possibilities:

1. The read RF-Group hash value is different from the RF-Group hash known by the local controller (so the other controller is part of another RF-Group, or the controller to which the AP is connected is unknown to the local controller RF-Group leader): the local controller despises and proudly drops the RRM neighbor message (this is from the RRM standpoint, your good controller may send alerts about rogues etc, but it does not see the neighbor as an RRM partner).

2. The read RF-Group hash value is the same as the RF-Group hash known by the local controller. In that case, the local controller thinks "hey, we are part of the same gang! We should work together on this RRM thing." The controller writes downs which of its access points hear which other controllers access points, and forwards this information to the RF-Group leader. Every 600 seconds by default, the RF-Group leader sends its instructions to the members of the RF-Group: you do this, you do that.



So you can clearly see here that the RF-Group is thought as a sub-group of the mobility group/domain. The other controller needs to be known to the local controller in order to be part of the same RF-Group and gets the same hash... and nothing in the RF-Group configuration allows you to tell the local controller about the other controllers, so it has to be done through the Mobility group/domain. So you configure Mobility group members, and among them some have the same RF-Group value and also share RRM information... limitation was 20 controllers part of the same RF-Group (so 24 controllers in the same mobility group, but yes, 20 members of the same RF-Group max).



Then some more complex scenarios (and more demanding clients?) appeared. They said: your stuff is cool, but does not work as it is, for 2 reasons:

- I want to roam across more than 24 controllers (I have a supabig network)
- I want APs in 2 mobility groups to exchange RRM information. For example, I have 2 floors, 1 controller per floor; people are not roaming from one floor to the other (coz they don't fly through ceilings), but the APs hear each other. So I don't want controllers to exchange information about clients (because it wastes bandwidth as these people will never roam from one controller to the other), but I do want them to exchange RRM information, so that they do not stupidly stay on the same channel.



Okay, it was time to extend the system... and the mobility group/domain concept became the mobility list... the idea is that your controller can know guys with the same Mobility group/domain value, and other guys with another Mobility group/domain value. Your list can contain up to 48 names in controller code 5.0, and 72 on 5.1 and later (so in the CCIE exam, we are still for now on code 4.2, with one mobility group of 24 members max). The key concept is that you do not need to have the same mobility group value to roam. As long as controllers know each other (they are on each other mobility list), they exchange information about connecting clients. The mobility list is what where we used to configure mobility group members before, defined in Controller > Mobility Management > Mobility groups (notice the plural form now).



So what is the difference? Do we still need to care about the Mobility group/domain value? Well, yes! There is a huge difference between mobility group (guys having the same mobility group/domain name as yours) and mobility list (other controllers you know, but that have a different mobility group/domain name from yours): CCKM (Cisco Centralized Key Management) and PKC (proactive Key Caching) do NOT work across mobility groups. This means that if you roam to a controller you know but that has another mobility group value, everything is fine is you use pre-shared key (or open or Web authentication). If you use 802.1X with CCKM or WPA2, your key will not get transmitted to the other controller... and the practical result is that you will have to re-authenticate to get a new key. You will keep your IP address though (as part of the roaming process), so the effect is that you will be briefly disconnected, but your IP session will not be broken. So this is fine if you are a data device. If you are a VoWLAN device, you do not want this disconnection, and you will make sure that controllers you roam to belong to the same mobility group.

So there is still roaming across mobility groups: when you get to new controller, it recognizes you as a valid client coming from another controller, and accepts you. It just fails getting your key if your use CCKM or PKC.



The RF-Group remains unchanged: all members of the same mobility list exchange introduction messages. Those that share the same RF-Group value elect a group leader and start working together on RRM... simple, isn't it?

What are Sticky Clients ?

What are Sticky Clients ? CREDIT : http://wifinigel.blogspot.com/2015/03/what-are-sticky-clients.html One term you'll often hear banded ...