# Per-Prefix and Per-VRF MPLS/VPN and EVPN Labels/VNIs

DevFeed: [Per-Prefix and Per-VRF MPLS/VPN and EVPN Labels/VNIs](<https://devfeed.tech/articles/per-prefix-and-per-vrf-mpls-vpn-and-evpn-labels-vnis-11085.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2024/10/mpls-vpn-prefix-vrf-labels/>)

Published: 2024-10-23T06:38:00Z

Content type: article

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [MPLS VPN](<https://devfeed.tech/topics/mpls-vpn.md>), [networking](<https://devfeed.tech/topics/networking.md>), [evpn](<https://devfeed.tech/topics/evpn.md>), [VXLAN](<https://devfeed.tech/topics/vxlan.md>)

Tags: [evpn](<https://devfeed.tech/tags/evpn.md>), [mpls](<https://devfeed.tech/tags/mpls.md>), [mpls-vpn](<https://devfeed.tech/tags/mpls-vpn.md>), [networking](<https://devfeed.tech/tags/networking.md>), [vxlan](<https://devfeed.tech/tags/vxlan.md>)

## AI overview

This article explains per-prefix, per-VRF, and per-next-hop label allocation for MPLS/VPN and EVPN. It describes how allocation differs between MPLS and VXLAN data planes and identifies scenarios where per-prefix labels are required or per-VRF labels may be useful.

## Source excerpt

Long, long time ago1, in an ancient town far, far away2, an old-school networking Jedi3 was driving us toward a convent4 where we had an SDN workshop5. While we were stuck in the morning traffic jam, an enthusiastic engineer sitting beside me wanted to know my opinion about per-prefix and per-VRF MPLS/VPN label allocation. At that time, I had lived in a comfortable Cisco IOS bubble for way too long, so my answer was along the lines of "Say what???" Nicola Modena6 quickly expanded my horizons, and I said, "Gee, I have to write a blog post about that!" As you can see, it took me over a decade. Read more ...