This question could take hours of explaining Suffice it to say, though, that BGP is a routing protocol that distributes information about reachable networks and paths towards them, while MPLS is a technology that adds additional labels to packets as they are transported over a network, and routers then perform their forwarding decisions based on the value of the label instead of packet header contents.
There is a relation between MPLS and BGP: apart from reachable networks, BGP is also capable of advertising label values assigned to individual destination networks so routers can know how to label packets for those particular destinations. However, MPLS can also work without BGP, and BGP does not require in any way that MPLS be used (in fact, BGP was created long before MPLS).
Re: What is the main difference between bgp and mpls
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
BGP (border gateway protocol) is a routing protocol. Personally I consider it sort of a super RIP.
MPLS (multiprotocol label switching) is tag switching, very much like L2 switching. However, it uses MPLS tags, appended to L3 packets (much like L2 VLAN tags are appended to a frame) to make a switching forwarding decision much like a L2 switch makes a switching forwarding decision using L2 MACs; also MPLS tags can be dynamically updated across MPLS switches. As Peter notes, BGP might be used to update MPLS tags.
BTW, a principle initial reason for MPLS was to provide a faster method of making L3 forwarding decisions. It's much, much simpler (and used to be much faster) to deal with fixed size labels than to deal with variable length IP prefixes. Newer hardware now allows traditional routing forwarding to be about as fast as fixed size switching. But, MPLS has other properties, for example, much like VLAN tags can be used to create virtual LANs, MPLS labels can be used to create virtual L3 domains.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...