Mobility Hero Tutorials

IAP: Using remote pcap with #Wireshark

Tutorial by: alagoutte

 

When there is same problem with Wireless Network, it is sometime needed to have same pcap trace for troubleshooting !

With new 802.11ac standard, there is no yet airpcap available for make pcap trace !

 

But with Aruba IAP, it is possible to use IAP for remote pcap ! with Wireshark (it is also possible with Aruba Controller !)

 

You need :

  • a IAP (recommanded IAP225, if you when sniffing 802.11ac)
  • a computer with Wireshark (> 1.11.3 !) available here

Connect to the IAP with SSH :

 

ScreenShot138.png

It is the same login and password like web administration page

 

Search the BSSID for access point using show ap monitor status command.

 

ScreenShot131.png

 

in WLAN Interface, there is the list of BSSID (one for 80211b/g and one for 80211/a/n/ac)

In my example, the BSSID is 24:de:c6:8b:12:20

 


Now use pcap command !

 

ScreenShot132.png

 

There is multiple argument in command

pcap start BSSID @IPofcomputer UDPPort format size

  • BSSID is the BSSID for IAP
  • @IPofcomputer is the address IP of computer with Wireshark
  • UDPPort is the UDP Port where the packet is send to the computer (use 5555)
  • format is the format of packet send to the computer (there is pcap, peek, airmagnet, pcap radio or ppi, see after for recommended value)
  • size the max size of packet (use 5000)

 

 

About format, actually airmagnet format is not yet support by Wireshark, it is recommended to use pcap for simple remote, if you need radio info use PPI or pcap radio format

 

The packet capture is start with id 5

 

Now launch Wireshark and go to the preference

ScreenShot133.png

 

Search Aruba ERM preferences

ScreenShot134.png

 

Set the UDP port configured in IAP (5555) and select also the format of captured packets (in my example,pcap (type 0))

 

and launch capture on your computer

 

You should be received all traffic from your network card, it is possible to filter the IAP traffic with following display fitler : udp.port==5555

ScreenShot139.png

 


You can now troubleshooting your wireless network :smileyvery-happy:

 

To display the list of pcap remote, you can use the following command :

show pcap status

 

ScreenShot136.png

 

for stop the capture, in SSH terminal, use the command :

pcap stop BSSID ID

Replace BSSID by the BSSID of IAP and ID by the id number of pcap capture (use show pcap status to found this number)

 

ScreenShot137.png

 

Version History
Revision #:
2 of 2
Last update:
‎07-02-2014 11:54 AM
Updated by:
 
Labels (2)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.