11-16-2022 11:25 PM
How to remote capture AP packet on smartzone with CLI
Solved! Go to Solution.
11-18-2022 10:16 PM - edited 11-19-2022 01:31 AM
Hello @liman,
If you are using FTP to download the pcap then you can follow below syntax from SZ CLI.
vSZ# remote ap-cli <AP_MAC>"set capture eth0 local"
vSZ# remote ap-cli <AP_MAC> "set capture eth0 idle"
vSZ# remote ap-cli <AP_MAC> "get capture copy ftp <desthost> <destfile> <username> <password>"
Let me know if this helps.
Regards,
Parik
11-17-2022 12:15 AM
Hi @liman,
We can execute remote AP cli command and run AP compatible commands.
In below example captures can be streamed to Wireshark from AP.
vSZ# remote ap-cli AA:BB:CC:0A:0B:0C "set capture wlan0 stream"
Packet capture on wlan100
OK
Regards,
Parik
11-17-2022 12:25 AM
how to capture with local mode and get the saved pcap files
11-17-2022 12:30 AM
That feature is currently available only on GUI. Other than HTTPS, there are no other means to download the PCAP.
Regards,
Parik
11-18-2022 06:39 PM
I can capture packet on ap and get the pcap file with ftp. just want to know how to do it on smartzone with cli