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

(MP) BGP recursive lookups

raymondh0216
Level 1
Level 1

Hi colleague,

have a question here about MP-BGP (iBGP) updates sent to PE or RR.

You know, when BGP prepares the update, put the source and destination IP which a Loopback address, then it has to lookup for the next hop to send the update. The next hop IP will usually already have LDP label associated with it. Does this label add into the BGP paket update so in other word the update itself is labelled switch inside MPLS core. Thanks

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Raymond.

packets of BGP sessions are treated as any other traffic if an LSP exists with destination= remote BGP endpoint, and endpoint is not directly connected the BGP packet (otherwise pop tag will cause to send packet with no label)  is put into the LSP as traffic with a BGP next-hop = remote BGP endpoint.

This can be the case of a BGP packet sent to a route reflector server.

You can easily test this by performing a packet capture in an MPLS enabled lan segment.

I've actually discovered this during packet captures I did to look at settings in IPv4 headers of routing protocols.

The MPLS label is not part of the BGP update, rather the BGP packet is encapsulated in MPLS.

To be noted that BGP can be used to distribute labels when using BGP with labels that require neigh ... send-labels but this is a more specific case and in that case the label is a field in the BGP advertisement to a directly connected BGP neighbor.

Hope to help

Giuseppe