Per CE VPN label allocation mode allocates one VPN label for each BGP next-hop.

Per CE Label

  • This feature is not available on the IOS platform, but only on IOS-XR and IOS-XE (ASR 1000).
  • Its main purpose is to reduce the memory consumption on distributed forwarding platform and optimize the lookup process by not using the IP lookup to find the next hop.
  • BGP next-hop is used to create a VPN label and not directly attached interfaces.
  • This feature had many interoperability problems with other advanced features like: CsC, PIC, multipath and others. See references for details.
  • In IOS-XR up to 4.3.1, the only allocation mode supported was per-ce with the command label-allocation-mode per-ce. At 4.3.1 this command became hidden and replaced by label mode per-ce under the BGP-VRF-address-family configuration mode.

Relevant IOS-XE Commands

mpls label mode

Changes the VPN label allocation mode to per-ce.

R1(config)#        mpls label mode (all-vrfs | vrf (name) ) protocol (all-afs | bgp-vpnv4 | bgp-vpnv6) per-ce

Relevant IOS-XR Commands

label mode

Introduced in IOS-XR 4.3.1, the labe mode command allows for per-ce, per-vrf and route policy allocation mode.
label mode { per-ce | | per-vrf | route-policy }
The route-policy can be use to specifies a route policy to select prefixes for setting the label mode.

RP/0/RSP0/CPU0:router# configure t
RP/0/RSP0/CPU0:router(config)# router bgp 1 
RP/0/RSP0/CPU0:router(config-bgp)# vrf A
RP/0/RSP0/CPU0:router(config-bgp-vrf)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-vrf)# label mode per-ce

label-allocation-mode per-ce

Older commend on the IOS-XR. In version 4.3.1 it was hidden to be replaced by label mode per-ce.

RP/0/RSP0/CPU0:R1(config)# router bgp 1
RP/0/RSP0/CPU0:R1(config-bgp)# vrf A
RP/0/RSP0/CPU0:R1(config-bgp-vrf)# label-allocation-mode per-ce

Additional Resources

MPLS VPN per Customer Edge (CE) Label IOS-XE Configuration Guide.


rating: 0+x
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License