Port span for trunk port with multiple VXLANs

  • 1
  • Question
  • Updated 11 months ago

Hi, I'm new to Cumulus and just wondering if anyone knows how to get the port span working on trunk port with multiple VXLANs?  I can confirm that port span works on access port.

I used this reference guide, but couldn't get it working on trunk port (with at least 2 VXLANs).

 https://docs.cumulusnetworks.com/display/DOCS/Network+Troubleshooting.

Thanks in advance.

Photo of MBHappy

MBHappy

  • 82 Points 75 badge 2x thumb

Posted 11 months ago

  • 1
Photo of Sean Cavanaugh

Sean Cavanaugh, Alum

  • 3,380 Points 3k badge 2x thumb
Can you post your config?
Photo of MBHappy

MBHappy

  • 82 Points 75 badge 2x thumb

Hey Seam, thanks for looking into this . this is the config added on span.rules, where swp1.123 is the trunk port with VXLAN123.

[iptables]
-A FORWARD --in-interface swp1.123 -j SPAN --dport swp30
-A FORWARD --out-interface swp1.123 -j SPAN --dport swp30

if I remove 123 from interface it worked fine

[iptables]
-A FORWARD --in-interface swp1 -j SPAN --dport swp30
-A FORWARD --out-interface swp1 -j SPAN --dport swp30


(Edited)
Photo of Sean Cavanaugh

Sean Cavanaugh, Alum

  • 3,380 Points 3k badge 2x thumb
Yeah the .123 will filter just for VLAN 123, does the 2nd config provided not provide the desired behavior or was that the issue?