Hoi folks, I was diagnosing an issue today and needed to see some traffic that was traversing an l2xc between a sub-int and a vxlan_tunnel.
Take the following simple config: create vxlan tunnel src 194.1.163.5 dst 194.1.163.1 instance 11 vni 10502 decap-next l2 create sub GigabitEthernet4/0/0 519 dot1q 519 exact-match set interface l2 xconnect GigabitEthernet4/0/0.519 vxlan_tunnel11 set interface l2 tag-rewrite GigabitEthernet4/0/0.519 pop 1 set interface l2 xconnect vxlan_tunnel11 GigabitEthernet4/0/0.519 Note - this l2xc works just fine. My initial idea was to SPAN on vxlan_tunnel11 (l2) create tap host-if vppspan host-mtu-size 9216 set int state tap0 up set int span vxlan_tunnel11 l2 destination tap0 (no traffic) Then I thought I'd take a look at GigabitEthernet4/0/0.519 set int span GigabitEthernet4/0/0.519 destination tap0 (no traffic) Or in L2 mode: set int span GigabitEthernet4/0/0.519 l2 destination tap0 (no traffic) Finally, I applied the SPAN on the underlying GigabitEthernet4/0/0 port: set int span GigabitEthernet4/0/0 destination tap0 Traffic! So I'm wondering - is my understanding of l2-input/l2-output SPAN correct, or does it work in a different way? And, is it feasible for me to SPAN a sub-int or other sw_index (like the vxlan tunnel, both currently not working)? -- Pim van Pelt <p...@ipng.nl> PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22466): https://lists.fd.io/g/vpp-dev/message/22466 Mute This Topic: https://lists.fd.io/mt/96273897/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-