Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

MPLS VPN L3 BGP to Customer CPE


I am learning how to setup MPLS VPN L3. I am running OSPF in the MPLS Core and have configured MP-BGP between PE. I am running BGP between the PE and CPE in my lab, and I can see redistributed routes from the CPE in the vrf routing table for that customer on the PE router. My question is how to reditribute the vrf routes into my MPLS core to transmit the traffic to the customer other site on the same vpn. Below is what my config looks like.



ip vrf customerA

rd 100:101

route-target export both 100:1000

int fa0/0

ip vrf forwarding customerA

ip address x.x.x.x x.x.x.x

router ospf 1

loopback  in area0

networks in area0

router bgp 65000

neighbor to other PE routers in AS 65000 (MPLS Network)

address family vpn4

neighbor other PE routers activate

neighbor other PE routers send community

ip address ipv4 vrf customerA

neighbor to customerA in AS 55000



router ospf 1

loopback in area 0

networks in area 0

router bgp 55000

neighbor to PE router in AS 65000

redistribute ospf 1


Re: MPLS VPN L3 BGP to Customer CPE

Hi Nkechi,

No need to redistribute any customer routes into MPLS core. PE routers just need to know how to reach other PE routers which is already should have done in your Ospf.


Sent from Cisco Technical Support iPhone App

With best regards... Ashok ----------- Pls kindly rate if helpful or answered your question.
New Member

Re: MPLS VPN L3 BGP to Customer CPE

No need to run bgp between PE and CE,

Run an igp between your ce and the vrf in your pe.
In your pe, use your rd and route-target under your vrfs configuration do tell what routes to import and export between vrfs.

On your pe, run bgp and redistribute your address families in your igp.

Then if you have multiple pe and p router, use mpls ip command under the interfaces that interconnect your p and pe routers.

Sent from Cisco Technical Support iPad App

CreatePlease to create content