Using Ethanalyzer
Ethanalyzer is a Cisco NX-OS protocol analyzer tool based on the Wireshark (formerly Ethereal) open source code. Ethanalyzer is a command-line version of Wireshark that captures and decodes packets.
For more information about Wireshark, see the following URL:
http://www.wireshark.org/docs/
You can use Ethanalyzer to troubleshoot your network and analyze the control-plane traffic. Ethanalyzer does not capture data traffic that Cisco NX-OS forwards in the hardware. Ethanalyzer uses the same capture filter syntax as tcpdump. For more information, see the following URL:
http://www.tcpdump.org/tcpdump_man.html
For information about the syntax of the display filter, see the following URL: