Hi Xue, VPP does support L2VPN with SR-MPLS in latest master, possibly the just released 18.07.1 point release. I only verified it on master and not 18.07.1 myself.
Assume we created an SR-MPLS policy: sr mpls policy add bsid 993 next 104 next 105 next 106 We can then create a MPLS tunnel for L2 forwarding via the policy: mpls tunnel l2-only via via-label 993 out-labels 33 where label 33 will be the local label that marks the L2VPN packets sent over the just created tunnel (with interface name "mpls-tunnel0" if it is the first one). Assuming the other side also created the corresponding MPLS tunnel with the same local label value 33, then we need to associate the label with packet received via the MPLS tunnel: mpls local-label add 33 eos via l2-input-on mpls-tunnel0 Now we just need to set the MPLS tunnel state up and put it in the desired bridge domain with SHG 1: set int l2 bridge mpls-tunnel0 13 1 set int state mpls-tunnel0 up Hope this helps, John From: [email protected] <[email protected]> On Behalf Of xyxue Sent: Tuesday, September 18, 2018 10:01 PM To: [email protected] Subject: [vpp-dev] question about l2vpn with sr mpls Hi guys, I'm testing the sr mpls. I found the example show of l3vpn with sr mpls in https://wiki.fd.io/view/VPP/Segment_Routing_for_MPLS. Is there any example show about l2vpn with sr mpls? Is the vpp support l2vpn with sr mpls? Thanks, Xue ________________________________
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10573): https://lists.fd.io/g/vpp-dev/message/10573 Mute This Topic: https://lists.fd.io/mt/25752317/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
