Cisco N5K-C5010P-BF Troubleshooting Guide - Page 16

Command, Description, Ctrl-C

Page 16 highlights

Fabric Manager Tools and CLI Commands Chapter 1 Troubleshooting Overview Send document comments to [email protected]. Command Description ethanalyzer local sniff-interface Captures packets sent or received by the supervisor and provides detailed protocol information. ethanalyzer local sniff-interface brief Captures packets sent or received by the supervisor and provides a summary of protocol information. ethanalyzer local sniff-interface limit-captured-frames Limits the number of frames to capture. ethanalyzer local sniff-interface limit-frame-size Limits the length of the frame to capture. ethanalyzer local sniff-interface capture-filter Filters the types of packets to capture. ethanalyzer local sniff-interface display-filter Filters the types of captured packets to display. ethanalyzer local sniff-interface decode-internal Decodes the internal frame header for Cisco NX-OS. Note Do not use this option if you plan to analyze the data using Wireshark instead of NX-OS Ethanalyzer. ethanalyzer local sniff-interface write Saves the captured data to a file. ethanalyzer local sniff-interface read Opens the captured data file and analyzes it. Examples switch# ethanalyzer local sniff-interface No matches in current mode, matching in (exec) mode inbound-hi Inbound(high priority) interface inbound-low Inbound(low priority) interface mgmt Management interface switch# ethanalyzer local sniff-interface mgmt brief Capturing on eth0 2008-08-13 01:34:23.776519 10.116.167.244 -> 172.18.217.80 TCP 1106 > telnet [ACK] Seq=0 Ack=0 Win=64040 Len=0 2008-08-13 01:34:23.777752 172.18.217.80 -> 10.116.167.244 TELNET Telnet Data ... 2008-08-13 01:34:23.966262 00:04:dd:2f:75:10 -> 01:80:c2:00:00:00 STP Conf. Root = 32768/00:04:c1:0f:6e:c0 Cost = 57 Port = 0x801d [snip] The following example is for viewing the Spanning Tree Protocol (STP) and Fibre Channel: Using 0 in the command captures output until you press Ctrl-C. The FCID is a well-known name for switch domain controller. switch# ethanalyzer local sniff-interface inbound-hi brief limit-captured-frames 0 Capturing on eth4 2008-08-13 01:37:16.639896 00:0d:ec:6b:cd:41 -> 01:80:c2:00:00:00 1 0 00:0d:ec:6b:cd:41 -> 01:80:c2:00:00:00 0x0 0x0 STP RST. Root = 32769/00:0d:ec:6b:cd:41 Cost = 0 Port = 0x8093 2008-08-13 01:37:18.639992 00:0d:ec:6b:cd:41 -> 01:80:c2:00:00:00 1 0 00:0d:ec:6b:cd:41 -> 01:80:c2:00:00:00 0x0 0x0 STP RST. Root = 32769/00:0d:ec:6b:cd:41 Cost = 0 Port = 0x8093 [snip] Cisco Nexus 5000 Series Troubleshooting Guide 1-8 OL-25300-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

Send document comments to [email protected].
1-8
Cisco Nexus 5000 Series Troubleshooting Guide
OL-25300-01
Chapter 1
Troubleshooting Overview
Fabric Manager Tools and CLI Commands
Examples
switch# ethanalyzer local sniff-interface
No matches in current mode, matching in (exec) mode
inbound-hi
Inbound(high priority) interface
inbound-low
Inbound(low priority) interface
mgmt
Management interface
switch# ethanalyzer local sniff-interface mgmt brief
Capturing on eth0
2008-08-13 01:34:23.776519 10.116.167.244 -> 172.18.217.80 TCP 1106 > telnet [ACK] Seq=0
Ack=0 Win=64040 Len=0
2008-08-13 01:34:23.777752 172.18.217.80 -> 10.116.167.244 TELNET Telnet Data ...
2008-08-13 01:34:23.966262 00:04:dd:2f:75:10 -> 01:80:c2:00:00:00 STP Conf. Root =
32768/00:04:c1:0f:6e:c0
Cost = 57
Port = 0x801d
[snip]
The following example is for viewing the Spanning Tree Protocol (STP) and Fibre Channel: Using 0 in
the command captures output until you press
Ctrl-C
. The FCID is a well-known name for switch
domain controller.
switch# ethanalyzer local sniff-interface inbound-hi brief limit-captured-frames 0
Capturing on eth4
2008-08-13 01:37:16.639896 00:0d:ec:6b:cd:41 -> 01:80:c2:00:00:00 1 0 00:0d:ec:6b:cd:41 ->
01:80:c2:00:00:00 0x0 0x0 STP RST. Root = 32769/00:0d:ec:6b:cd:41
Cost = 0
Port = 0x8093
2008-08-13 01:37:18.639992 00:0d:ec:6b:cd:41 -> 01:80:c2:00:00:00 1 0 00:0d:ec:6b:cd:41 ->
01:80:c2:00:00:00 0x0 0x0 STP RST. Root = 32769/00:0d:ec:6b:cd:41
Cost = 0
Port = 0x8093
[snip]
Command
Description
ethanalyzer local sniff-interface
Captures packets sent or received by the
supervisor and provides detailed protocol
information.
ethanalyzer local sniff-interface brief
Captures packets sent or received by the
supervisor and provides a summary of protocol
information.
ethanalyzer local sniff-interface
limit-captured-frames
Limits the number of frames to capture.
ethanalyzer local sniff-interface limit-frame-size
Limits the length of the frame to capture.
ethanalyzer local sniff-interface capture-filter
Filters the types of packets to capture.
ethanalyzer local sniff-interface display-filter
Filters the types of captured packets to display.
ethanalyzer local sniff-interface decode-internal
Decodes the internal frame header for Cisco
NX-OS.
Note
Do not use this option if you plan to
analyze the data using Wireshark instead
of NX-OS Ethanalyzer.
ethanalyzer local sniff-interface write
Saves the captured data to a file.
ethanalyzer local sniff-interface read
Opens the captured data file and analyzes it.