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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

*****MPLS BGP!!!!

Why is that MP-BGP be enabled only on the PEs not in the core that is Ps. Can any1 explain or link would be useful

let say


as per above setup, BGP needs to be enabled only on PE1&PE2.



  • MPLS
Cisco Employee

Re: *****MPLS BGP!!!!

MP-BGP is used to exchanged VPNv4 information (VPNv4 prefix + Service Label) between PE routers and is not needed on the P routers.

On the P and PE routers, you need to enable LDP, TDP or RSVP so that and LSP can be established between PE routers (IGP Label).

Traffic is forwarded from one PE to another using the MPLS IGP Label. Once it gets to the destination PE, the service label is used to forwaded it to the right VRF.

Hope this helps,

New Member

Re: *****MPLS BGP!!!!

The PE Routes within the Provider Cloud carry the RD and RT for the VPNs. As long as the PE Router Connectionless IP Addesses can reach each other via some other IGP (ex OSPF) the Adjecncy can be established. The extension were developed to carry VPN info in the update messages.

Hope this helps,

Carl Dubois

New Member

Re: *****MPLS BGP!!!!

When CE1 sends a packet to CE2, this packet arrive on a PE1 VRF interface. PE1 looks in its VRF FIB table to find CE2 address. In this table, it finds two labels : a VPN label and a MPLS label. The VPN label is exchanged between PE routers with MP-BGP session. When an PE send an MP-BGP update, there is the VP-IPv4 address, the Next hop attribute, the route-target attribute ... and a label.

The MPLS label corresponds in the Next-Hop BGP (PE2). This Label is exchanged between P and PE routers with LDP. For that P and PE routers need to use the same IGP protocol but no need to USE BGP. The P routers isn't VPN aware.

So when PE1 send the packet to the first P router, it push a stack of 2 labels. When the P router receives the packet, it just read the first label (MPLS label for reach the N-H BGP), swap it and switch the packet to the next P router. The last P router in your LSP, POP the MPLS label and send the packet with only the VPN label. PE2 use the VPN label to choose the good VRF FIB table.

It's why, the P router don't need to have MP-BGP session. The P router just need (for VPN traffic) to switch to PE N-H address.

New Member

Re: *****MPLS BGP!!!!

The idea of MPLS is to keep external routes out of the core network.

An internal routing protocol (OSPF, IS-IS, etc) is run on the P routers and all the PE routers interfaces that connect to the core.

Labels are exchanged to create a label switch path between the PE routers.

The PE's advertise any BGP routes with themselves as the next hop.

In your senario CE1 forwards a packet destined for CE2 to PE1, PE1 assigns a label to the packet that corresponds to PE2, the packet is label switched by the P routers and lands with PE2, PE2 does a lookup and forwards the packet on to CE2.

A good book is MPLS and VPN architectures, CCIP edition by Ivan Pepelnjak and Jim Guichard

This widget could not be displayed.