Saturday, February 4, 2012

Quickly convert your Cisco 1131 autonomous AP to lightweight

I've always been a proponent of priming your APs on the bench before deployment.  It is much easier to iron out any issues while you have all your troubleshooting gear at your fingertips.

I recently found myself being handed a batch of  "lightweight" 1131s to install at a new site (at the last minute), where only the AP VLAN existed. 

After installing the APs and patching, I noticed the LED came up green when it booted, but that was all.  After calling someone and having them issue "show cdp neighbor" on the CLI of the switch, my theory ("AP" on all interfaces where APs were patched) that the APs I had been handed were autonomous was confirmed.

The new site didn't have Internet access, so off I went to find it. I knew if I could quickly get the right image on the APs, they would boot up just like the do out of the box, hit the controller and download the code from the controller.  It was either that, or drive several hours back to the main office and prime them like I normally do.

After spending an hour or so researching, I figured out the easiest way would be to simply tftp a later autonomous image to the AP directly from my laptop, reboot the AP, then tftp the lightweight image to it, install it back up on the ceiling and let the infrastructure do the rest.

Here are the steps to do the job quickly:

*download these two files from CCO first and place in your tftp root directory*

c1130-k9w7-tar.124-25d.JA1.tar
c1130-rcvk9w8-tar.124-21a.JA2.tar

1.  Set laptop wired interface to 192.168.0.1/24, connect AP to Laptop via ethernet ports

2.  Console into AP from laptop

3.  Hold mode button in and connect power brick, I held it for 30 seconds and released it.

4.  "Console in" -- default username and password is Cisco/Cisco

5.  Paste this into your AP:

interface BVI1
ip address 192.168.0.2 255.255.255.0
no ip route-cache
no shut

6.  Start your tftp server application on your laptop

7.  Paste this in:  archive download-sw /overwrite tftp://192.168.0.1//c1130-k9w7-tar.124-25d.JA1.tar

8.  Watch the console output...  when finished, reboot the AP

9.  Log back in to the AP, then paste this in: 
archive download-sw /overwrite /force-reload tftp://192.168.0.1//c1130-rcvk9w8-tar.124-21a.JA2.tar

Notice the spaces before the slashes this time.  For some reason the syntax changed slightly and required spaces.

10.  The AP will reboot and not find the controller because it is attached to your laptop.  Go install the AP and plug it in, and if the infrastructure is configured properly, it should get the download the same code the controller is running and then start broadcasting the WLANs in the default AP group.

Friday, January 27, 2012

Do not trunk a wired guest VLAN to multiple foreign controllers

This is an issue that recently plagued me for longer than I would care to admit. I hope it helps you!

I'm focusing on Cisco Bug CSCtw44999 "Do not trunk a wired guest VLAN to multiple foreign controllers. This is not supported, and will generate unpredictable results." It will also generate lots of trouble tickets.

Many sites have two 5508 series controllers, one being the primary and one being the secondary. The controllers are both configured the same for redundancy (with exception to the obvious hostnames, IP addresses, etc) and usually put all of a building's access points on one controller to avoid inter-controller roaming. The secondary exists in case the primary fails - it may host another building's AP.

Take a look at the drawing I have included...

The guest wireless network is a Cisco best practices configuration. The guest WLAN is configured on both the primary & secondary controllers and tunneled to an anchor controller in the DMZ.

Now we get to the guest wired solution.

The following document is pretty straightforward on how to configure wired guest networking, but does not address redundancy for the foreign (local)controllers:

http://www.cisco.com/image/gif/paws/99470/wired_guest_access.pdf
Redundancy is covered in this document:

http://www.cisco.com/en/US/docs/wireless/controller/7.0MR1/configuration/guide/cg_user_accts.html#wp1066125
It states: "Follow these guidelines before using wired guest access on your network:"

•Wired guest access is supported only on the following controllers: Cisco Flex 7500 and 5500 Series controllers, the Cisco WiSM2, and the Catalyst 3750G Integrated Wireless LAN Controller Switch.

•Do not trunk a wired guest VLAN to multiple foreign controllers. This is not supported and may generate unpredictable results.  A true statement, I assure you.
•A wired guest LAN can support multiple anchor controllers.


Redundancy is also covered in this document:
http://www.cisco.com/en/US/docs/wireless/controller/7.0/configuration/guide/c70users.htmlIt states: "Follow these guidelines before using wired guest access on your network:"

•Wired guest access is supported only on the following controllers: 5500 and 4400 series controllers, the Cisco WiSM, and the Catalyst 3750G Integrated Wireless LAN Controller Switch.

•Do not attempt to trunk a guest VLAN on the Catalyst 3750G Integrated Wireless LAN Controller Switch to multiple controllers. Redundancy cannot be achieved by doing this action.
That last bullet point is very important. It states "do not attempt to...", but that is rather confusing. It should read, "Do not trunk a wired guest VLAN to multiple foreign controllers."

Needless to say, that can easily be overlooked during configuration day, and you could introduce problems into your wired guest solution.

Redundancy cannot be achieved by trunking a wired guest VLAN to two or more foreign (local) controllers!
Here are the issues that you might see:
-DHCP problems
-Dissassociate/Deauthenticate (login through the splash page over and over again.)
-Timeouts - we saw 90 second long timeouts to the gateway in the DMZ from a wired guest

If you have multiple local controllers, then only one of the them should be configured (or at least active) for the Guest Wired network.

The fix: Trunk the guest wired VLAN to all your local controllers, but only one controller should have the wired guest WLAN active. If the controller with the active wired guest profile fails, then enable the wired guest profile on another controller. Looks like this is about as much redundancy as we can get at the moment. (Jan 2012)





Monday, April 25, 2011

My magnetic survey rig

This is my site survey rig.  Most of it came from the shelves of our local Ace True Value hardware store.  After some trial and error, I came up with the solution that works for me. 

The flexible painter's handle was probably the most difficult thing to find - I shopped around for weeks until I found "the perfect" one.  I wanted something that was flexible, and wanted to minimize the RF attenuation cause by the metal.  So I chose the metal flexible handle and a fiberglass painter's pole.

I wanted to make something that I could use by myself - so I bought a "rare earth magnet" on eBay and taped it to the flexible portion of my survey pole.  This allows me to walk up to any metal ceiling grid and have my survey pole stand up by itself while I do my thing.  Turns out one magnet was making me uncomfortable, so I taped another on there and both of them side by side definately do the trick.  Just enough to hold it there, but not enough to pull down the entire ceiling.  Your mileage may very.








Cisco 1252 with ceiling mounted antennas

Sometimes you never know what you're going to find...



Saturday, April 16, 2011

CUWN power levels and the 5GHz channels in the U-NII band

This is something that I have found to be confusing.  The UNII bands in the 5GHz range have different power limits.  They are as follows:
  • U-NII Low (U-NII-1): 5.15-5.25 GHz.  Power limited to 50mW
  • U-NII Mid (U-NII-2): 5.25-5.35 GHz.  Power level limited to 250 mW.  Subject to Dynamic Frequency Selection (DFS, or radar avoidance)
  • U-NII Extended 5.47-5.725 GHz.  Power limited to 250mW.  Subject to Dynamic Frequency Selection (DFS, or radar avoidance)
  • U-NII Upper (U-NII-3): 5.725 to 5.825 GHz. Power limited to 1 watt.
If you are a WLAN Engineer like me and you happen to use WCS, your power settings will be displayed as a number, 1 - 8, not in a dBm value.  The value of 1 is the highest power, and the value of 2 is 3dB lower than the value of 1, value of 3 is 3dB lower than the value of 2, and so forth.  Each 3dB is half the power of the the previous value.  Since the cell size is halved every 6 dB, an AP with a power level of 1 should have a cell twice the size of an AP with a power level of 3.

What if you have have a dozen APs all with a power level of 1 set via RRM?  If the AP's channels are dispersed throughout the U-NII low, mid, extended and upper bands, then theoretically the max outputs could be anywhere between 50mW to 1 Watt.

I would love a table or chart that displays the power settings and dBm values for all the model numbers under the CUWN product line.  Heck, if I ever have the time, maybe I will write it up and post it for y'all to reference.