Thanks for the tip. This seems to be the problem. About 7000 packets are dropped per second. I changed my mirror configuration so that I mirror a single port and the number of packets dropped per second seems to be about the same. I don't know how to fix this though. I don't see any reason why the packets should be dropped.
Output that might be useful to debug the dropped packets:
# show port 1 buffer
Packet Buffer Allocation for ports in range 1-30
Total Packet Buffer Size: 3145728 bytes, Not Overcommitted
Total Shared Buffer Size: 2850304
Port 1 Max Shared Buffer Usage: 569984 bytes (20%)
QP1: Reserved Buffer: 1536 bytes
QP6: Reserved Buffer: 1536 bytes
QP7: Reserved Buffer: 1536 bytes
QP8: Reserved Buffer: 1536 bytes
# show port 1 configuration
Port Configuration Monitor Tue Apr 19 18:00:04 2016
Port Virtual Port Link Auto Speed Duplex Flow Load Media
router State State Neg Cfg Actual Cfg Actual Cntrl Master Pri Red
================================================================================
1 VR-Default E A ON AUTO 1000 AUTO FULL SY/ASY UTP
# show port 1 information
Port Flags Link ELSM Link Num Num Num Jumbo QOS Load
State /OAM UPS STP VLAN Proto Size profile Master
=====================================================================================
1 Em------e--fMB----- active - / - 0 0 0 0 9216 none
=====================================================================================
> indicates Port Display Name truncated past 8 characters
Flags : a - Load Sharing Algorithm address-based,
b - Rx and Tx Flow Control Enabled, B - Broadcast Flooding Enabled,
D - Port Disabled, e - Extreme Discovery Protocol Enabled,
E - Port Enabled, f - Unicast Flooding Enabled,
F - Priority Flow Control Enabled, G - MLAG Enabled, i - Isolation,
j - Jumbo Frame Enabled, l - Load Sharing Enabled,
L - Extreme Link Status Monitoring Enabled,
m - MACLearning Enabled, M - Multicast Flooding Enabled,
n - Ingress TOS Enabled, o - Dot1p Replacement Enabled,
O - Ethernet OAM Enabled, p - Load Sharing Algorithm port-based,
P - Software redundant port(Primary),
R - Software redundant port(Redundant), s - diffserv Replacement Enabled,
v - Vman Enabled, w - MACLearning Disabled with Forwarding,
x - Rx Flow Control Enabled
//the counters of both ports were reset at the same time.
# show port 1,9 packet
Port Packet Statistics Tue Apr 19 18:05:05 2016
Port Link Packet Sizes
State 0-64 65-127 128-255 256-511 512-1023 1024-1518 Jumbo
================================================================================
1 A 8 198 79 1 0 0 0
9 A 71 121 32346 1 0 0 0
For reference this is the new mirror setup:
#show mirror
DefaultMirror (Disabled)
Description: Default Mirror Instance, created automatically
Mirror to port: -
lavb (Enabled)
Description:
Mirror to port: 1
Source filter instances used : 1
Port 9, all vlans, ingress and egress
Mirrors defined: 2
Mirrors enabled: 1 (Maximum 4)
HW filter instances used: 1 (Maximum 128)
HW mirror instances used: 1 ingress, 1 egress (Maximum 4 total, 2 egress)