Hello nagp,

You need to use tag rewrite

l2_interface_vlan_tag_rewrite <intfc> | sw_if_index <nn> [disable] [push-[1|2]] 
[pop-[1|2]] [translate-1-[1|2]] [translate-2-[1|2]] [push_dot1q 0] tag1 <nn> 
tag2 <nn>

on both interfaces.


-        option translate-1-2 on sub-if1

-        option translate-2-1 on sub-if2

Regards,
Jan

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Nagaprabhanjan Bellaru
Sent: Friday, January 13, 2017 17:51
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

Reply via email to