I would advise to check with the NDR solution which type of traffic is needed. CX switches has the capability to use filter before traffic is mirrored. This will help to prevent overloading.
Original Message:
Sent: Mar 04, 2025 06:29 AM
From: simon18
Subject: Mirror session for NDR system
Hi, many thanks for your reply. Yes we are currently in contact again with the NDR solution provider about it.
About the overloading that is for sure a point - we have this in mind - the result of overloading the destination interface should be dropped packets on the destination interface right? We are currently monitoring the dropped packets counter for the destination interface of the mirror session.
In our case it is a 6300M SFP only switch - we are currently mirroring 4x 10G ports to one 10G port - for sure also there is a risk of overloading the destination interface and then have dropped packets on the destination interface of the mirror session.
You are completly right - This 6300M is a core switch on a smaller site, which does the whole routing for this site - the access switches do not route between VLANs. For sure the traffic on the access switches between devices in the same VLAN will never get to the NDR solution.
That is a bit of a weakness but till now I am only aware of these two solutions for that problem:
- Physically connect the NDR solution to each access switch and do mirroring on every switch in the environment (that is a bit of a cost factor)
- Create a Remote SPAN session on the access switches (with the disadvantage that we will have double of the load on the uplinks between the access and the core switch)
Neither of them are the most elegant solutions but till now I am not aware of any other solution...?
So basically what we are doing is - we have the 6300M which has the L3 functionality as core switch on this site.
To this core switch 3x (L2) access switches are connected to and also 1x server (4x 10G interfaces).
We are mirroring these 4x 10G interfaces - only rx part of the traffic - to the destination interface on this core switch where the NDR solution is connected to.
But I am still not sure if we miss some traffic because we have not selected "both" for the direction of the traffic... but as often as I think about it I am the opinion that only the rx part should be enough to have all traffic that is passing through that core switch in this scenario.
If I would mirror "both" directions (rx & tx) I would not expect more unique traffic I only think we would double the traffic as we duplicate the same packets on one interface as "rx" traffic and on the other one as "tx" traffic... please correct me if I am wrong?
Thanks, Simon
Original Message:
Sent: Mar 03, 2025 10:55 AM
From: Herman Robers
Subject: Mirror session for NDR system
I would ask the NDR vendor for guidance. In most cases the uplinks are much higher bandwidth than the downlink ports (1/1/1-1/1/24 for example). If your uplinks are 10/25/50G and you are mirroring to a 1G interface you will quickly overload the mirror output (1/1/10); and in practice you see such taps closer to your distribution/core, but then you miss traffic between clients on the lower level if these are in the same VLAN or your routing happens on the access switches. If this 6300M is an access switch in a larger network, then you would probably not do your mirroring as there will be many switches and each of them need to mirror to a port on the NDR solution. Also, mirroring on the uplinks allows the VLAN tag to be preserved, if you mirror individual ports and the uplinks on rx only, it depends on the NDR solution if it can handle that. It also depends if this 6300 is doing your routing or is just L2.
Using span ports for NDR solutions is challenging with no generic solution. There is a whole industry for 'packet brokers' to solve this issue, including the de-duplication and selection of interesting traffic (example: exclude backup or other high-volume traffic flows).
If it's just this switch, then your approach may work, but the 1/1/10 1G interface may be easily overloaded resulting in dropped traffic.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.