ā01-02-2018 10:00 AM - edited ā03-01-2019 03:15 PM
I cannot find any way to limit "Local Label"allocation on a Router with multiple VRFs. I have LDP enabled on a single Tunnel interface and have a limit to mpls label range. Also, I have a prefix list specifying the global allocation under mpls ldp label". The end result here is that under the "Local Label" column in the MPLS forwarding table there are labels from my range completely unneeded. Specifically these include [V] as they are in VRFs. The entries for my Tunnel interface look exactly as I would expect.
As you may expect if you have a router doing vrf lite with multiple VRFs but not a single "mpls ip" enabled interface there is no mpls forwarding table. But is you enable mpls ldp on a single interface there is a mpls forwarding table and "Local Label"allocation is on all interfaces. How can one eliminate ALL allocation for entries for [V] allocations?
Solved! Go to Solution.
ā01-02-2018 11:39 AM
mpls label mode all-vrfs protocol bgp-vpnv4 per-vrf
this allocates an aggregate/"ALL VRFs" single local label for each VRF
then
mpls label mode vrf VRF-NAME protocol bgp-vpnv4 per-prefix
this allocates a unique local label for each prefix within vrf VRF-NAME
ā01-02-2018 11:39 AM
mpls label mode all-vrfs protocol bgp-vpnv4 per-vrf
this allocates an aggregate/"ALL VRFs" single local label for each VRF
then
mpls label mode vrf VRF-NAME protocol bgp-vpnv4 per-prefix
this allocates a unique local label for each prefix within vrf VRF-NAME
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide