The Packet Capture feature enables capturing and storing packets received and transmitted by the Wireless Access Point (WAP). The captured packets can then be analyzed by a network protocol analyzer for troubleshooting or performance optimization. There are two methods of packet capture:
This article aims to explain and guide you on configuring Packet Capture on a WAP and receive these packet captures locally or remotely.
Step 1. Log in to the web-based utility of your WAP. The default username and password is cisco/cisco.
Note: If you already have changed the password or created a new account, enter your new credentials instead.
Step 2. Choose Troubleshoot > Packet Capture.
Note: The available options may vary depending on the exact model of your device. In this example, WAP125 is used.
Step 3. Choose one of the following Packet Capture Method radio buttons:
Note: In this example, Save File on this Device is chosen.
Step 4. From the Interface drop-down list, choose the interface for which the packets are to be captured from the Capture Interface drop-down list. The options are:
Note: In this example, Radio 1 is chosen.
Step 5. Enter the capture duration in the Duration field ranging from 10 to 3600 seconds. The default is 60 seconds.
Note: In this example, 61 is used.
Step 6. In the Max File Size field, enter the maximum capture file size ranging from 64 to 4096 KB then skip to Step 8. The default is 1024 KB.
Note: In this example, the default value is used.
Step 7. If remote packet capture method is chosen, enter the port number ranging from 1 to 65530 in the Remote Capture Port field. The default is 2002.
Note: In this example, the default port is used.
Step 8. From the Mode drop-down list, choose which packets will be captured. The options are:
Step 9. Check the Enable Filters check box to allow specific filters on packet capture.
Step 10. (Optional) Check the Ignore Beacons check box to disable the capturing of 802.11 beacons detected or transmitted by the radio. Beacon frames are transmitted periodically to announce the presence of a Wireless Local Area Network (WLAN).
Note: In this example, Ignore Beacons is enabled.
Step 11. (Optional) Check the Filter on Client check box to specify a MAC address of a wireless client.
Note: In this example, the Filter on Client is unchecked.
Step 12. (Optional) Enter the MAC address of the client in the Filter on Client field. This is only active if Packet Capture is performed on a radio interface.
Note: In this example, Filter on Client is disabled.
Step 13. Check the Filter on SSID check box to capture packets on a specific SSID.
Step 14. From the SSID drop-down list, choose an SSID to capture packets.
Note: The SSIDs that appear in the drop-down list depend on what interface was chosen and how many SSIDs have been configured. In this example, Rick is chosen.
Step 15. Click the Save button to save the configured settings.
You should now have successfully configured the Packet Capture settings.
Step 16. The Packet Capture Status area contains the following information. Click Refresh to view the current status.
Step 17. Click the Start Capture button to start the packet capture process.
Step 18. A window will pop up to inform you that the Packet Capture will now commence. Click OK to continue.
Step 19. Click the Stop Capture button to stop the packet capture process.
Step 20.A window will pop up to inform you to confirm to end the packet capture. Click OK to continue.
You should now have successfully captured packets on your access point.
Download to this Device
Step 1. Click the Download to this Device button.
Step 2. A window will pop up to commence the download. Click OK continue.
Once the download is complete, the downloaded file will appear in your browser download history. The file is downloaded with HTTP/HTTPS and the file format is .pcap.
Note: In this example, apcapture.pcap is the downloaded file.
You have successfully downloaded the packet capture file of your WAP to your computer.
Step 1. (Optional) If the captured file has to be downloaded through a TFTP server, click the Download to TFTP Server button.
Once clicked, a window will appear with the Server IPv4 Address and Destination File Name fields.
Step 2. Enter the IPv4 address of the TFTP server in the Server IPv4 Address field. The port number entered in the Remote Capture Port field in Step 6 is then attached to the TFTP server address.
Note: In this example, 128.12.8.128 is used.
Step 3. Enter the file name in pcap format in the Destination File Name field.
Note: In this example, apcapture.pcap is used.
Step 4. Click Download.
A progress bar appears below the Destination File Name field.
You should now have downloaded your Packet Capture file through a TFTP server.