packet-capture controlpath udp all
packet-capture copy-to-flash controlpath-pcap
copy flash: <filename> tftp: <host> <destfilename>
To turn off
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
#check if pcap is running
#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>