Registers And Counters - Cisco N5K-M1600 - Expansion Module - 6 Ports Troubleshooting Manual

Troubleshooting guide
Table of Contents

Advertisement

Registers and Counters

S e n d d o c u m e n t c o m m e n t s t o n e x u s 5 k - d o c f e e d b a c k @ c i s c o . c o m .
Registers and Counters
Identifying drops
There are logical and physical causes for the Nexus 5000 to drop a frame. There are also situations when
a frame cannot be dropped because of the cut-through nature of the switch architecture. If a drop is
necessary, but the frame is being switched in a cut-through path, then the only option is to stomp the
Ethernet frame check sequence (FCS). Stomping a frame involves setting the FCS to a known value that
does not pass a CRC check. This causes subsequent CRC checks to fail later in the path for this frame.
A downstream store-and-forward device, or a host, will be able to drop this frame.
When a frame is received on a 10 Gb/s interface, it is considered to be in the cut-through path.
Note
The following example output shows all discards and drops seen on a given interface, except for queuing
drops. The queuing drops may be expected or resulting from errors. (Drops are more common than
discards.)
Example:
switch# show platform fwm info pif ethernet 1/1 ...
Eth1/1 pd: tx stats: bytes 19765995 frames 213263 discard 0 drop 0
Eth1/1 pd: rx stats: bytes 388957 frames 4232 discard 0 drop 126
For some commands, you need to know on which chip your port resides.
In the following example, the chip is called Gatos. The example shows which Gatos and which Gatos
port is associated with ethernet 1/1.
switch# show hardware internal gatos port ethernet 1/1 | include
instance|mac
Expected/Logical drops
During normal operation, the Nexus 5000 encounters frames that cannot be forwarded based on logical
conclusions.
For example, if you learn a MAC address on a given interface and receive traffic on that interface with
a destination MAC address on the source interface, then you cannot forward the frame. Because it is a
known address and cannot be flooded, you can never send traffic out from where it came. This is a
requirement to avoid looping Layer 2 topologies.
The error counter, shown in the following example, increments when the ingress port is the only port in
the VLAN.
Example (same Gatos instance as in earlier example):
switch# show platform fwm info gatos-errors 7
Printing non zero Gatos error registers:
DROP_SRC_MASK_TO_NULL
Cisco Nexus 5000 Series Troubleshooting Guide
3-10
gatos instance
: 7 <- Gatos 7
mac port
: 2 <- Port 2
fw_instance
: 2
9
Chapter 3
Troubleshooting Layer 2 Switching Issues
OL-25300-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents