cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3343
Views
5
Helpful
6
Replies

BGP on VRF - Unable to allocate label: 'MPLS_LSD' detected

ciscokid9
Level 1
Level 1

Hi 

 

We created 2 Full BGP , each of different VRF, and following warning out.   We had alredy set :

 

mpls label range table 0 16000 1048575

 

But 2 Full BGP for internet routing  may not sufficient  for 1Mil route.  We using typhoon card . 

 

: bgp[1067]: %ROUTING-BGP-3-ERR_ALM_ONE_LABEL : [7] : Unable to allocate label: 'MPLS_LSD' detected the 'resource not available' condition 'Code(0)': No space left on device

I guess MPLS is not necessary here,  why default is tagging the route to MPLS ?  How can we avoid this. 

1 Accepted Solution

Accepted Solutions

nkarpysh
Cisco Employee
Cisco Employee

Hello,

 

You may want to switch to per-vrf label assingment. Otherwise MPLS will try to assign local label per each prefix and you hit limitation. Please find details here:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mp_l3_vpns/configuration/15-mt/mp-l3-vpns-15-mt-book/mp-vpn-vrf-label.html

 

HTH,
Niko

View solution in original post

6 Replies 6

nkarpysh
Cisco Employee
Cisco Employee

Hello,

 

You may want to switch to per-vrf label assingment. Otherwise MPLS will try to assign local label per each prefix and you hit limitation. Please find details here:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mp_l3_vpns/configuration/15-mt/mp-l3-vpns-15-mt-book/mp-vpn-vrf-label.html

 

HTH,
Niko

Niko suggestion works. Just need to change to IOX-XR config, mpls labeling in  router BGP, VRF and ipv4 unicast. 

Cool, thx for update!

HTH,
Niko

I am hitting similar situation running IOS-XR, dont see this command feature available. Do we need to enable particular feature PIE package? 

Hi @amar_5664 ,

 

You need something similar to this in XR to change the label mode to per vrf:

 

router bgp <your asn>
vrf <you vrf name>
address-family ipv4 unicast
label mode per-vrf
!
!
!

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Thanks Harold, spot on that resolved our challenge.