This article provides information on how to capture packets at both the SRX and AX-411 level, to determine why packets are being dropped.
To capture packets on the wireless radio and on the SRX, first you need to upgrade to at least Junos 11.1R1. Any previous versions will not be able to capture packets on the wireless radio.
To capture packes on the wireless radio and the SRX, perform the following procedure:
- Begin with the client being disassociated.
- Start the packet capture on the VLAN interface of the SRX device.
root@% tcpdump -n -X -i vlan -s 512 > /var/tmp/srx_vlan_dump.pcap
- Open another SSH session to the SRX. With this second session, you can collect the pcap output at the VAP0 interface of the 2.4G radio and radio 2:
root@> request wlan access-point packet-capture start MCP interface Radio2VAP0 duration 300 promiscuous file /var/tmp/vap0_dump.pcap
- Try to associate with an SSID from the client. After the client tries and fails to establish an IP, stop the capture:
root@> request wlan access-point packet-capture stop MCP
- Collect the pcap dump on the AP's Ethernet interface:
root@> request wlan access-point packet-capture start MCP interface Ethernet duration 300 promiscuous file /var/tmp/ap_eth_dump.pcap
- Try to associate with an SSID from the client. After the client tries and fails to establish an IP, stop the capture:
root@> request wlan access-point packet-capture stop MCP
- Stop the capture on the SRX (from step 2) by pressing Ctrl-C.
The following files are created in the
/var/tmp directory:
srx_vlan_dump.pcap - sniffer capture taken off the vlan interface on the SRX, connected to the AX-411
vap0_dump.pcap - sniffer capture taken of radio 2, virtual-access-point 0 (VAP0 interface)
ap_eth_dump.pcap - ethernet interace of the AX-411 interface