CHAPTER
29-1
Cisco Nexus 1000V Troubleshooting Guide, Release 5.2(1)SV3(1.1)
OL-31593-01
29
Ethanalyzer
This chapter describes how to use Ethanalyzer as a Cisco NX-OS protocol analyzer tool and includes the
following section:
• Using Ethanalyzer, page 29-1
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.
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:
Command Purpose
ethanalyzer local interface interface Captures packets sent or received by the
supervisor and provides detailed protocol
information.
Note For all commands in this table, you can
use the control, ha-primary, ha-secondary,
inband/outband interface (packet
interface) or management interface.
ethanalyzer local interface interface
limit-captured-frames
Limits the number of frames to capture.
ethanalyzer local interface interface
limit-frame-size
Limits the length of the frame to capture.
ethanalyzer local interface interface
capture-filter
Filters the types of packets to capture.
ethanalyzer local interface interface
display-filter
Filters the types of captured packets to display.
ethanalyzer local interface interface write Saves the captured data to a file.
ethanalyzer local read file Opens a captured data file and analyzes it.