< Home

Overview of BGP

Definition

The Border Gateway Protocol (BGP) is a path vector protocol that allows devices between Autonomous Systems (ASs) to communicate and selects optimal routes. BGP-1 (defined in RFC 1105), BGP-2 (defined in RFC 1163), and BGP-3 (defined in RFC 1267) are three earlier versions of BGP. BGP-4 (defined in RFC 1771) has been used since 1994. Since 2006, unicast IPv4 networks have been using BGP-4 defined in RFC 4271, and other networks (such as IPv6 networks) have been using Multiprotocol BGP (MP-BGP) defined in RFC 4760.

MP-BGP is an extension of BGP-4 and applies to different networks; however, the original message exchange and routing mechanisms of BGP-4 are not changed. MP-BGP applications on IPv6 unicast and IPv4 multicast networks are called BGP4+ and Multicast BGP (MBGP) respectively.

Purpose

A network is divided into different ASs to facilitate network management. In 1982, the Exterior Gateway Protocol (EGP) was used to dynamically exchange routing information between ASs. However, EGP advertises only reachable routes and does not select optimal routes or prevent routing loops. Therefore, EGP cannot meet network management requirements.

BGP was designed to replace EGP and has the following capabilities:
  • Selects optimal routes.
  • Prevents routing loops.
  • Transmits routing information efficiently.
  • Maintains a large number of routes.

Although BGP is used to transmit routing information between ASs, it is not the best choice in some scenarios. For example, on the egress connecting a data center to the Internet, static routes instead of BGP are used for communication with external networks to prevent a huge number of Internet routes from affecting the data center internal network.

Benefits

BGP ensures high network security, flexibility, stability, reliability, and efficiency:
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >