Performing a Packet capture
From Tech-Wiki
Performing a packet capture (sniffering)
debug dataplane packet-diag clear filter all debug dataplane packet-diag clear capture all debug dataplane packet-diag set filter match source 10.1.1.100 destination 200.1.1.100 debug dataplane packet-diag set filter match destination-port 80 debug dataplane packet-diag set filter on debug dataplane packet-diag show setting debug dataplane packet-diag set capture stage transmit file filename_transmit debug dataplane packet-diag set capture stage receive file filename_receive debug dataplane packet-diag set capture stage firewall file filename_firewall debug dataplane packet-diag set capture stage drop file filename_drop
debug dataplane packet-diag set capture on
view-pcap filter-pcap filename_firewall view-pcap follow yes filter-pcap filename_transmit
debug dataplane packet-diag set capture off debug dataplane packet-diag set filter off