cancel
Showing results for 
Search instead for 
Did you mean: 

Not all packets are forwarded

Not all packets are forwarded

Leon_Wessels
New Contributor
When I enable port mirroring on our Extreme Summit x460-24t not all the packets are sent to the mirror destination port. In a wireshark capture from the mirror port I only see very few (less than 1% of the actual) audio packets (ieee1722.cdfield == 0). When doing a packet capture using another (non-extreme) switch I see all the packets.

To enable port mirroring I used these commands:

# enable mirror lavb to port 1
# config mirror lavb add port 9-15
# show mirror

DefaultMirror (Disabled)
Description: Default Mirror Instance, created automatically
Mirror to port: 1
Source filters configured :
Ports 9-24, all vlans, ingress and egress

lavb (Enabled)
Description:
Mirror to port: 1
Source filter instances used : 7
Port 9, all vlans, ingress and egress
Port 10, all vlans, ingress and egress
Port 11, all vlans, ingress and egress
Port 12, all vlans, ingress and egress
Port 13, all vlans, ingress and egress
Port 14, all vlans, ingress and egress
Port 15, all vlans, ingress and egress

Mirrors defined: 2
Mirrors enabled: 1 (Maximum 4)
HW filter instances used: 7 (Maximum 128)
HW mirror instances used: 1 ingress, 1 egress (Maximum 4 total, 2 egress)

Switch version:
* X460-24p.2 # show version
Switch : 800323-00-05 1120G-81240 Rev 5.0 BootROM: 2.0.1.7 IMG: 16.1.1.4
PSU-1 : PSSF751301A-11 800382-00-04 1120A-40142
PSU-2 :

Image : ExtremeXOS version 16.1.1.4 16.1.1.4-patch1-1 by release-manager
on Thu Aug 6 16:14:58 EDT 2015
BootROM : 2.0.1.7
Diagnostics : 6.3

Am I missing something in the configuration? Each of those ports has a maximum of 18Mbps traffic so the total traffic should be much less than the 1Gbps allowed by the port being mirrored to.

7 REPLIES 7

Leon_Wessels
New Contributor
Thanks to all for the help. The dropped packets seem to be caused when avb is enabled on the port being mirrored to. Disabling avb on that port before enabling the mirroring fixes this issue.

For future reference have a look at this article:
https://gtacknowledge.extremenetworks.com/articles/Solution/AVB-Mirroring-AVB-Control-Protocol-Traff...

Anonymous
Not applicable
Perhaps do a 'show ports congestion', see if any packets are being dropped?

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)

Derek_Bird
Extreme Employee
Leon:

It's important that promiscuous mode is enabled on the interface you're capturing with. Here's what you're looking for in capture options in Wireshark:

3c45da26f3864fe6b579b87d438d051d_RackMultipart20160418-50390-1095sqx-2016-04-18_18_18_55-Not_all_packets_are_forwarded___The_Hub_inline.png


GTM-P2G8KFN