Tuesday, February 16, 2016

Lab Spectrum Analyzer

Spectrum analyzers are a very important tool for anyone working in the wireless field. Getting one for your lab to get some hands-on experience with is invaluable. Unfortunately they can be very costly. Enter the Cisco 3502 series access point with Clean Air technology, available on E-Bay for less than $100. Utilizing the on-board spectrum chip we are able to turn this access point into a remote sensor for use with the Cisco Spectrum Expert software. This process also works for any of the Clean Air enabled access points.

While this functionality exists in both the lightweight & autonomous version of the access point, we are going to focus on setting this up in autonomous mode. You can easily convert from lightweight to autonomous, even without a controller, you will just need a copy of the autonomous image. An excellent write up on image conversion can be found at the following links http://mrncciew.com/2012/10/20/lightweight-to-autonomous-conversion/ & http://mrncciew.com/2013/12/13/ap-conversion-using-mode-button/.

My choice method is as follows, it seems to be the quickest & doesn't require holding down the mode button or re-configuring your computer. 

Console into the AP & login with the defaults. First we set the AP with a static IP & gateway pointing to itself. This seems to get the AP hung up on "Translating "CISCO-CAPWAP-CONTROLLER"...domain server (255.255.255.255)" allowing us to download the image before it forces DHCP renew which would disconnect us from the tftp.



This debug command gets us into a mode that allows us to use the archive command, which we use to download an autonomous image over tftp.



After this the AP will reboot & come back up as an autonomous AP. It takes very minimal configuration to get it ready for spectrum mode.



Login to the device using the defaults & set a hostname, this step is optional.



Enable the 2.4Ghz radio for spectrum operation & enable the radio.



Enable the 5Ghz radio for spectrum operation & enable the radio.



Take note of the NSI key from the output of show spectrum status, this will be needed when configuring Cisco Spectrum Expert. Also be aware that this value changes on reboot.



Now that the AP is setup we'll need a copy of Cisco Spectrum Expert. This is available on Cisco's software site. Once downloaded run the installer & accept the defaults.



When you first load it up a box will pop up. This is where you enter the IP address of your remote sensor, the NSI key & the band you want to look at.


Click OK to be presented with loads of spectrum goodness


If you'd like to look at both bands simultaneously then you can just load up another instance of the software & point it to the other band instead.


Giving you even more spectrum goodness.


Now that you have an inexpensive spectrum analyzer for your home lab you can start learning about layer 1 with hands-on experience. While this solution is great for the lab it lacks in portability. For a more robust & easier to carry solution check out offerings from AirMagnet & Metageek.

No comments:

Post a Comment