cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1904
Views
0
Helpful
1
Replies

MPLS forwarding table "Local Label"

payne9446
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

payne9446
Level 1
Level 1

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

View solution in original post

1 Reply 1

payne9446
Level 1
Level 1

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