packet-capture controlpath udp all
packet-capture copy-to-flash controlpath-pcap
dir
To Download
copy flash: <filename> tftp: <host> <destfilename>
To turn off
no packet-capture
To send to remote client with Wireshark. Make sure windows firewall is turned off.
Once the destination is set, the pcap will be streamed to the destination IP. Its assumed the client IP has permissions to receive traffic from the VLAN.
#get client mac
show user
#check if pcap is running
show packet-capture
#reset packet capture buffer
packet-capture reset-pcap datapath-pcap
#set target client
packet-capture datapath mac <clientmac addr> all
#set destination for pcap stream
packet-capture destination ip-address <client ip address>