Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
50-3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 50 Troubleshooting
Using Ethanalyzer
Step 8 Reset the new password to ensure that is it is also the SNMP password.
switch# configure terminal
switch(config)# username admin password <new password>
switch(config)# exit
switch#
Step 9 Save the configuration.
switch# copy running-config startup-config
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.
To configure Ethanalyzer, use one or more of the following commands:
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 on the syntax of the display filter, see the following URL:
http://wiki.wireshark.org/DisplayFilters
Command Purpose
switch# ethanalyzer local interface
interface
Captures packets sent or received by the supervisor and
provides detailed protocol information.
Note For all commands in this table, interface is
inbound-hi (Inbound high-priority interface),
inbound-low (Inbound low-priority interface),
or mgmt (management interface).
switch# ethanalyzer local interface
interface brief
Captures packets sent or received by the supervisor and
provides a summary of protocol information.
switch# ethanalyzer local interface
interface limit-captured-frames
Limits the number of frames to capture.
switch# ethanalyzer local interface
interface limit-frame-size
Limits the length of the frame to capture.
switch# ethanalyzer local interface
interface capture-filter
Filters the types of packets to capture.
switch# ethanalyzer local interface
interface display-filter
Filters the types of captured packets to display.
switch# ethanalyzer local interface
interface write
Saves the captured data to a file.
switch# ethanalyzer local read file
Opens a captured data file and analyzes it.