Wired Intelligent Edge

 View Only
last person joined: 3 hours ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

Mirroring in VSX Topology

This thread has been viewed 75 times
  • 1.  Mirroring in VSX Topology

    Posted Oct 25, 2022 06:13 AM
    searching for the best-practise for configuring mirroring ports on mc-lags of both members.
    cant find any reference for mc-lags in the documentation (vsx,monitoring,security..).

    please reply with relevant reference.

    single chassis lag example,
    switch(config-mirror-4)# source interface lag1 both

    regards,


  • 2.  RE: Mirroring in VSX Topology

    EMPLOYEE
    Posted Oct 26, 2022 03:04 AM
    Same command than for lag.

    source interface lag9 both

    (assuming lag9 is your VSX multi-chassis LAG).


  • 3.  RE: Mirroring in VSX Topology

    Posted Oct 26, 2022 05:48 AM
    Ok, lets say this is configured on the primary sw.
    what about the seconed sw in the vsx cluster ?
    is there any sync related to mirroring ?

    is it required to configure the mirroring on both switches MC-LAG9 ? 
    what about the destination if we are using pysical port does it need
    to be also aggregeted or single port on etch switch ?

    i would like to have some printed reference, thank you.


  • 4.  RE: Mirroring in VSX Topology

    Posted Jul 09, 2023 02:36 PM

    I would like more clarification to your response.  I have a vsx pair of 8325 switches that I want to set up mirroring on for all of my MC-LAGS.  I have a security appliance that the mirrored traffic will be sent to.  For the destination, would I set up a single 10G interface going to the appliance on just the primary switch in the mirror session and then specify all of the MC-LAGs as the source interface?  Does the same mirror session and source/destinations need to be set up on the secondary switch as well?  If so, do I need to have a MC-LAG going to my appliance from the destination interface on each VSX paired switch? 




  • 5.  RE: Mirroring in VSX Topology

    MVP GURU
    Posted Jul 10, 2023 07:31 AM

    @wdubose Hi! I'm interested about that too, how to deal with a VSX deployment when an IDS is used (on a bare metal server) as the destination of mirrored traffic (e.g. from all VLAN as sources): Server link to VSX Primary only or a Server LACP (Bond) to both VSX members (thus through a VSX LAG)? 




  • 6.  RE: Mirroring in VSX Topology

    Posted Jul 11, 2023 03:59 AM

    What I have observed is there is no sync across VSX of mirroring. Each physical box is independent. Frames received on one member won't necessarily be seen on the other member. MC-LAG is just a way to negotiate the LACP with the partner switch.

    When mirroring for troubleshooting purposes, the mirror from each member of the MC-LAG had frames received on that link. I noted that some frames were seen on both outputs when source was a vlan and not a physical interface. I questioned Aruba Support and they said this is because the frames are shared on active-gateways rather than the mirror session is sync'd.

    Therefore I can't see any situation where if you want all traffic, you can avoid having a mirror session on each member of VSX and therefore the IDS would need two physicals.

    I would also be cautious about mirroring all the MC-LAGs. Clearly there is the opportunity for over subscription and therefore the IDS missing packets. Which is something that will lead to false positives or worse.

    Finally, mirroring to CPU is good to get a flavor of what is on the link but in testing I found huge packet loss, even at 100Mb traffic flows. So if while developing your solution you use this to observe be cautious. The absesense of frames doesn't mean they weren't on the wire. Mirroring to an interface is very different.




  • 7.  RE: Mirroring in VSX Topology

    Posted Jul 11, 2023 11:08 AM

    I wonder, since I have two SFP+ interfaces available on my security appliance, if I could configure an MC-lag on my two vsx switches and a lag on the appliance.  Then specify that MC-lag as the destination and then all of my downstream MC-Lags as the source.

    If my only option is to have a single 10G link to my security appliance from my primary core and I have 30+ 10G access layer MC-lags as the source, will this overload the single 10G link?




  • 8.  RE: Mirroring in VSX Topology

    Posted Jan 09, 2024 03:30 PM

    Curious on the outcome of your question.

    I will be setting up MC-LAG mirroring on a pair of 8360s in VSX.




  • 9.  RE: Mirroring in VSX Topology

    Posted Jan 09, 2024 03:48 PM

    I ended up putting a mirror session on each of the two cores as follows as there is no way of knowing which switch the data will be passing through.  Each core interface 1/1/45 is going to a separate interface on the cybersecurity appliance using 10G DAC.

    8325 Core-1, Interface 1/1/45

    mirror session 1
        destination interface 1/1/45
        source interface lag5 both
        source interface lag7 both
        source interface lag8 both
        source interface lag9 both
        source interface lag10 both
        source interface lag11 both
        source interface lag15 both
        source interface lag17 both
        source interface lag19 both
        source interface lag21 both
        source interface lag23 both
        source interface lag25 both
        source interface lag27 both
        source interface lag28 both
        source interface lag29 both
        source interface lag31 both
        source interface lag32 both
        source interface lag33 both
        source interface lag34 both
        source interface lag35 both
        source interface lag38 both
        source interface lag40 both
        source interface lag45 both
        source interface lag49 both
        source interface lag151 both
        source interface lag152 both
        source interface lag153 both
        source interface lag154 both
        source interface lag155 both
        enable

    8325 Core-2, Interface 1/1/45

    mirror session 2
        destination interface 1/1/45
        source interface lag5 both
        source interface lag7 both
        source interface lag8 both
        source interface lag9 both
        source interface lag10 both
        source interface lag11 both
        source interface lag15 both
        source interface lag17 both
        source interface lag19 both
        source interface lag21 both
        source interface lag23 both
        source interface lag25 both
        source interface lag27 both
        source interface lag28 both
        source interface lag29 both
        source interface lag31 both
        source interface lag32 both
        source interface lag33 both
        source interface lag34 both
        source interface lag35 both
        source interface lag38 both
        source interface lag40 both
        source interface lag45 both
        source interface lag49 both
        source interface lag151 both
        source interface lag152 both
        source interface lag153 both
        source interface lag154 both
        source interface lag155 both
        enable




  • 10.  RE: Mirroring in VSX Topology

    Posted Jan 09, 2024 03:55 PM

    Great!

    Thank you.

    My setup will be a little simpler.  Planning on this:

    8360Core1

    mirror session 1
        destination interface 1/1/12
        source lag1 both
        source lag2 both
        enable

    8360Core2

    mirror session 2
        destination interface 1/1/12
        source lag1 both
        source lag2 both
        enable



  • 11.  RE: Mirroring in VSX Topology

    Posted Jan 09, 2024 05:01 PM

    I'm very interested in the outcome of your configuration. I have made a similar setup although my source is a VLAN. (Source vlan 200 both) and my destination is a MCLAG - effectively the same LAG as seen from both VSX members. 
    It seems to work, but there are sessions that are never seen in my flowanalyszer on the destination. No packets are reported dropped anywhere, so I have a sneaking suspicion that flows that goes through one of the VSX members are not mirrored correctly to the destination MCLAG.
    Should I drop the destination MCLAG and make that two individual interfaces like in your examples?

    It would be really nice if Aruba would chime in here with some documentation on the supported way of creating these mirrors of MCLAGs and VLANs on VSX pairs.
    Fx. Is a MCLAG suported as a destination?




  • 12.  RE: Mirroring in VSX Topology

    Posted Jan 09, 2024 05:44 PM

    Not sure about MCLAG as a destination.  Mine seems to work fine configured as is.  I found very little on the subject from Aruba.  It was just a matter of experimenting until it worked.




  • 13.  RE: Mirroring in VSX Topology

    MVP GURU
    Posted Jan 10, 2024 07:02 AM

    Hi! any issue on the Security Appliance side with your (absolutely reasonable) approach? I mean (re)asking what I asked you here months ago when you were still experimenting. We are in the process of designing something very similar (probably with 100G DACs to the Security Appliance given the core role of the involved VSX Cluster). I'm really curious, also understanding which SA approach you used (black box or open, HW used...HPE or other vendors). My idea is to design something around an HPE ProLiant DL Gen10 or Gen11 with appropriate CPU, storage and moreover NICs. I'm still curious to see what Aruba engineers could advise us...as best practice.




  • 14.  RE: Mirroring in VSX Topology

    Posted Jan 10, 2024 11:11 AM

    We have a contract with Scinary and they provided and monitor their Scinary Centurion SEIM/IDS appliance (https://www.scinary.com/services/centurion).  The two DACs are going to the two 10G interfaces on the back of the appliance.  I have no idea what kind of configuration they did on their end, if any.




  • 15.  RE: Mirroring in VSX Topology

    Posted 12 days ago

    Sorry to ressurrect this thread, but my mirroring is just not working as expected on my  VSX. I setteled on setting up a mirror session on each VSX node with the source being a VLAN interface and the destination being a dedicated port on each VSX node:

    mirror session 4
        destination interface 1/1/6
        source vlan 204 both
        enable

    Regardless of what I do I only see a fraction of the packets being forwarded/recieved by the VLAN interface. But it's completely random. It rarely mirrors more than about 150mbit/s and when the source VLAN has very little activity most packets are actually forwarded. But since it usually is around 1 - 3 Gbit in utilisation the average of about 150mbit i get mirrored is only about 1/6th to 1/18th of the actual traffic being passed.

    Is there some kind of limiter being used or does mirroring just not behave in a VSX pair even though i do it "individually" on each node?

    OS version = 10.10.1090 on CX 8360




  • 16.  RE: Mirroring in VSX Topology

    Posted 12 days ago
    All my experience has been with destination=CPU so that I could use the onboard tcpdump utilities. When doing that I observed the same rate limiting. It meant I couldn't use it for production traffic which was an issue because some issues are only seen when volume traffic is processed. An ACL to filter the traffic to be mirrored would have been useful.

    Perhaps based on your tests the mirroring on that hardware is done in CPU?








  • 17.  RE: Mirroring in VSX Topology

    Posted 12 days ago

    Yeah that was my first thought as well, but the "default Copp-Policy" is not hit (dropping packets), and as far as I can tell there is no CPU involved in a mirror session setup like that. My second thought was, perhaps it's because only the first packets in a new session passes the actual SVI interface before the routing is setup in hardware, and when doing hardware only, it might not be mirrored. 
    But the traffic I do capture does not in any way suggest that is the case - some sesssions i see nothing off, others almost complete, most I only see some traffic from - mostly in just one direction.