Hi Neale, Thanks for your response. We can install the LSP by configuring MPLS FIB and IP FIB. The detailed instructions are given concisely in https://wiki.fd.io/view/VPP/MPLS_FIB
Brief instructions on installing a LSP is as under : 1. Configure Ingress LER to add a mpls label on incoming packets belonging to a FEC : ip route add 1.1.1.1/32 via 10.10.10.10 GigE0/0/0 out-labels 33 1. Configure transit/egress LSR to do one of following : 1) Pop the label and perform an IPv[46] lookup in a specified table 2) Pop the label and forward via a specified next-hop (this is penultimate-hop-pop, PHP) 3) Swap the label and forward via a specified next-hop. These can be programmed respectively by: 1) mpls local-label 33 eos ip4-lookup-in-table X 2) mpls local-label 33 [eos] via 10.10.10.10 GigE0/0/0 3) mpls local-label 33 [eos] via 10.10.10.10 GigE0/0/0 out-labels 66 Regards, Mohit From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Neale Ranns Sent: Friday, October 7, 2022 2:43 AM To: vpp-dev@lists.fd.io Subject: [**EXTERNAL**] Re: [vpp-dev] Combined statistics for all traffic mapped to a MPLS LSP path Hi Mohit, VPP doesn't have a single object with stats that represents an LSP in its broad sense. You'll have to combine the states from the objects that use/point-to the LSP (or rather use the out-going label value of the LSP) - for example IP or MPLS FIB entries, or MPLS tunnel interfaces, etc. If you tell me how you install the LSP in VPP I can help further. /neale From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> on behalf of Gupta, Mohit via lists.fd.io <mohgupta=ciena....@lists.fd.io<mailto:mohgupta=ciena....@lists.fd.io>> Date: Thursday, 6 October 2022 at 21:17 To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> Subject: [vpp-dev] Combined statistics for all traffic mapped to a MPLS LSP path Hi Team, I need to fetch all Rx/Tx statistics for all traffic that goes over a MPLS Label switched path, whether it is OAM/L2VPN/L3VPN etc. Basically, we are creating a MPLS LSP using RSVP-TE. Later other l2vpn/l3vpn services are enabled and mapped to the LSP. We have MPLS tunnels in VPP for pseudowires, which can be used to fetch stats for l2vpn services. I am looking for a way to fetch all the combined statistics for a given LSP path, irrespective of the service, mapped to it. Is there a VPP construct or a segment in VPP enabling to fetch those stats. Regards, Mohit
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21986): https://lists.fd.io/g/vpp-dev/message/21986 Mute This Topic: https://lists.fd.io/mt/94154561/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] -=-=-=-=-=-=-=-=-=-=-=-