L2 xconnect send packet as received to the other interface without any modification. So the behavior you observed is correct. If you want to perform VLAN tag translation to match the sub-interface, put an interface tag-rewrite pop operation on both sub-interfaces. It will then pop the VLAN tag on input and push the correct VLAN tag on output. This is the CLI:
DBGvpp# set interface l2 tag-rewrite ? set interface l2 tag-rewrite set interface l2 tag-rewrite <interface> [disable | pop {1|2} | push {dot1q|dot1ad} <tag> <tag>] Regards, John From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Nagaprabhanjan Bellaru Sent: Friday, January 13, 2017 11:51 AM To: vpp-dev <vpp-dev@lists.fd.io> Subject: [vpp-dev] L2 Xconnect does not re-write vlan tags? Hi, I have a L2 cross-connect configuration where packets arrive on a sub-if1 (with vlan id 500) and go out on sub-if2 (with a vlan stack 200, 150). When I send packets on sub-if1, it is getting out on sub-if2, but the vlan tags are not getting re-written. Is there anything else that should be done or is this the standard behavior? Thanks, -nagp
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev