Re: [vpp-dev] L2 xconnect feature on multiple interface
If I change the mode of TenGE4/0/0 and TenGE4/0/1 to L3 Mode then tx/rx counters of TenGE7/0/0 and TenGE7/0/1 matches and the rx counter of TenGE7/0/0 is not zero. I have checked connectivity and sure that's correct beacuse if i only use TenGE7/0/0 and TenGE7/0/0 in the L2XC mode everything is fine and rx/tx counter matched vpp# set int state TenGigabitEthernet7/0/0 up vpp# set int state TenGigabitEthernet7/0/1 up vpp# set interface promiscuous on TenGigabitEthernet7/0/0 vpp# set interface promiscuous on TenGigabitEthernet7/0/1 vpp# set interface l2 xconnect TenGigabitEthernet7/0/1 TenGigabitEthernet7/0/0 vpp# set interface l2 xconnect TenGigabitEthernet7/0/0 TenGigabitEthernet7/0/1 vpp# show interface Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count TenGigabitEthernet21/0/0 5 up 9000/0/0/0 rx packets 1 rx bytes 135 drops 1 TenGigabitEthernet21/0/1 6 up 9000/0/0/0 rx packets 1 rx bytes 135 tx packets 2488 tx bytes 104496 drops 1 TenGigabitEthernet24/0/0 7 up 9000/0/0/0 rx packets 1 rx bytes 135 drops 1 TenGigabitEthernet24/0/1 8 up 9000/0/0/0 rx packets 4 rx bytes 604 tx packets 254663 tx bytes 32960145 drops 1 punt 3 ip4 3 TenGigabitEthernet4/0/0 1 up 9000/0/0/0 rx packets 257326 rx bytes 15439635 drops 254651 ip4 257325 TenGigabitEthernet4/0/1 2 up 9000/0/0/0 rx packets 1 rx bytes 135 drops 1 TenGigabitEthernet7/0/0 3 up 9000/0/0/0 rx packets 2282578 rx bytes 570469641 tx packets 3007373 tx bytes 3087583217 tx-error 28 TenGigabitEthernet7/0/1 4 up 9000/0/0/0 rx packets 3007373 rx bytes 3087583217 tx packets 2282578 tx bytes 570469641 local0 0 down 0/0/0/0 drops 254667 vpp# show mode l3 local0 l3 TenGigabitEthernet4/0/0 l3 TenGigabitEthernet4/0/1 l2 xconnect TenGigabitEthernet7/0/0 TenGigabitEthernet7/0/1 l2 xconnect TenGigabitEthernet7/0/1 TenGigabitEthernet7/0/0 l3 TenGigabitEthernet21/0/0 l3 TenGigabitEthernet21/0/1 l3 TenGigabitEthernet24/0/0 l3 TenGigabitEthernet24/0/1 But it`s not possible to use multiple interface in L2XC mode at the same time -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11959): https://lists.fd.io/g/vpp-dev/message/11959 Mute This Topic:
Re: [vpp-dev] L2 xconnect feature on multiple interface
From “show interface” output, the rx/tx counters of TenGE4/0/0 matches that of tx/rx counters of 4/0/1. So L2XC is working between them. For the other L2XC pair, the rx counter of TenGE7/0/1 matches that of the tx counter of 7/0/0 so that also seem fine. The rx of TenGE7/0/0 and tx of 7/0/1 are all 0’s which also matches. Thus both L2XC pairs appear to function as expected. Are you expecting packets in the TenGE7/0/0 to 7/0/1 direction and so think it is not working there? Then you need to find out why TenGE7/0/0 is not receiving any packets. -John From: vpp-dev@lists.fd.io On Behalf Of david.leitch@gmail.com Sent: Saturday, January 19, 2019 4:20 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] L2 xconnect feature on multiple interface Hi, I want to use the L2 xconnect or L2 bridge feature on multiple interface , i.e suppose I have 4 ports : x1 and x2 and also y1 and y2. I want to only do vpp# set interface l2 xconnect x1 x2 vpp# set interface l2 xconnect x2 x1 vpp# set interface l2 xconnect y1 y2 vpp# set interface l2 xconnect y2 y1 so that all traffic from port x1 is sent to port x2 and vice versa , also all traffic from port y1 is sent to port y2 and vice versa. but only one set of them works at the same time , for example only x1 and x2 works but y1 and y2 not working if i change the mode of x1 and x2 interface to L3 mode , y1 and y2 interface will work in L2 mode I test this situation with l2 bridge and i have the same problem. May i know ,why it doesn't work if i set l2 (xconnect or bridge) for multiple interface ??? here is my configuration and commands : for l2 xconnect test : vpp# set int state TenGigabitEthernet4/0/0 up vpp# set int state TenGigabitEthernet4/0/1 up vpp# set int state TenGigabitEthernet7/0/0 up vpp# set int state TenGigabitEthernet7/0/1 up vpp# set interface promiscuous on TenGigabitEthernet4/0/0 vpp# set interface promiscuous on TenGigabitEthernet4/0/1 vpp# set interface promiscuous on TenGigabitEthernet7/0/0 vpp# set interface promiscuous on TenGigabitEthernet7/0/1 vpp# set interface l2 xconnect TenGigabitEthernet4/0/0 TenGigabitEthernet4/0/1 vpp# set interface l2 xconnect TenGigabitEthernet4/0/1 TenGigabitEthernet4/0/0 vpp# set interface l2 xconnect TenGigabitEthernet7/0/1 TenGigabitEthernet7/0/0 vpp# set interface l2 xconnect TenGigabitEthernet7/0/0 TenGigabitEthernet7/0/1 vpp# show interface Name IdxState MTU (L3/IP4/IP6/MPLS) Counter Count TenGigabitEthernet21/0/0 5 down 9000/0/0/0 TenGigabitEthernet21/0/1 6 down 9000/0/0/0 TenGigabitEthernet24/0/0 7 down 9000/0/0/0 TenGigabitEthernet24/0/1 8 down 9000/0/0/0 TenGigabitEthernet4/0/0 1 up 9000/0/0/0 rx packets 2803151 rx bytes 700562045 tx packets 3693049 tx bytes 3791177782 tx-error 62 TenGigabitEthernet4/0/1 2 up 9000/0/0/0 rx packets 3693049 rx bytes 3791177782 tx packets 2803151 tx bytes 700562045 TenGigabitEthernet7/0/0 3 up 9000/0/0/0 tx packets 4799610 tx bytes 3764207865 TenGigabitEthernet7/0/1 4 up 9000/0/0/0 rx packets 4799610 rx bytes 3764207865 local00 down 0/0/0/0 vpp# show mode l3 local0 l2 xconnect TenGigabitEthernet4/0/0 TenGigabitEthernet4/0/1 l2 xconnect TenGigabitEthernet4/0/1 TenGigabitEthernet4/0/0 l2 xconnect TenGigabitEthernet7/0/0 TenGigabitEthernet7/0/1 l2 xconnect TenGigabitEthernet7/0/1 TenGigabitEthernet7/0/0 l3 TenGigabitEthernet21/0/0 l3 TenGigabitEthernet21/0/1 l3 TenGigabitEthernet24/0/0 l3 TenGigabitEthernet24/0/1 I have checked connectivity and sure that's correct Regards, david -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11958): https://lists.fd.io/g/vpp-dev/message/11958 Mute This Topic: https://lists.fd.io/mt/29289024/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] L2 xconnect feature on multiple interface
Hi, I want to use the L2 xconnect or L2 bridge feature on multiple interface , i.e suppose I have 4 ports : x1 and x2 and also y1 and y2. I want to only do vpp# set interface l2 xconnect x1 x2 vpp# set interface l2 xconnect x2 x1 vpp# set interface l2 xconnect y1 y2 vpp# set interface l2 xconnect y2 y1 so that all traffic from port x1 is sent to port x2 and vice versa , also all traffic from port y1 is sent to port y2 and vice versa. but only one set of them works at the same time , for example only x1 and x2 works but y1 and y2 not working if i change the mode of x1 and x2 interface to L3 mode , y1 and y2 interface will work in L2 mode I test this situation with l2 bridge and i have the same problem. May i know ,why it doesn't work if i set l2 (xconnect or bridge) for multiple interface ??? here is my configuration and commands : * for l2 xconnect test :* vpp# set int state TenGigabitEthernet4/0/0 up vpp# set int state TenGigabitEthernet4/0/1 up vpp# set int state TenGigabitEthernet7/0/0 up vpp# set int state TenGigabitEthernet7/0/1 up vpp# set interface promiscuous on TenGigabitEthernet4/0/0 vpp# set interface promiscuous on TenGigabitEthernet4/0/1 vpp# set interface promiscuous on TenGigabitEthernet7/0/0 vpp# set interface promiscuous on TenGigabitEthernet7/0/1 vpp# set interface l2 xconnect TenGigabitEthernet4/0/0 TenGigabitEthernet4/0/1 vpp# set interface l2 xconnect TenGigabitEthernet4/0/1 TenGigabitEthernet4/0/0 vpp# set interface l2 xconnect TenGigabitEthernet7/0/1 TenGigabitEthernet7/0/0 vpp# set interface l2 xconnect TenGigabitEthernet7/0/0 TenGigabitEthernet7/0/1 vpp# show interface Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count TenGigabitEthernet21/0/0 5 down 9000/0/0/0 TenGigabitEthernet21/0/1 6 down 9000/0/0/0 TenGigabitEthernet24/0/0 7 down 9000/0/0/0 TenGigabitEthernet24/0/1 8 down 9000/0/0/0 TenGigabitEthernet4/0/0 1 up 9000/0/0/0 rx packets 2803151 rx bytes 700562045 tx packets 3693049 tx bytes 3791177782 tx-error 62 TenGigabitEthernet4/0/1 2 up 9000/0/0/0 rx packets 3693049 rx bytes 3791177782 tx packets 2803151 tx bytes 700562045 TenGigabitEthernet7/0/0 3 up 9000/0/0/0 tx packets 4799610 tx bytes 3764207865 TenGigabitEthernet7/0/1 4 up 9000/0/0/0 rx packets 4799610 rx bytes 3764207865 local0 0 down 0/0/0/0 vpp# show mode l3 local0 l2 xconnect TenGigabitEthernet4/0/0 TenGigabitEthernet4/0/1 l2 xconnect TenGigabitEthernet4/0/1 TenGigabitEthernet4/0/0 l2 xconnect TenGigabitEthernet7/0/0 TenGigabitEthernet7/0/1 l2 xconnect TenGigabitEthernet7/0/1 TenGigabitEthernet7/0/0 l3 TenGigabitEthernet21/0/0 l3 TenGigabitEthernet21/0/1 l3 TenGigabitEthernet24/0/0 l3 TenGigabitEthernet24/0/1 I have checked connectivity and sure that's correct Regards, david -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11957): https://lists.fd.io/g/vpp-dev/message/11957 Mute This Topic: https://lists.fd.io/mt/29289024/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-