BGP overview

The Border Gateway Protocol (BGP) is a dynamic inter-AS Exterior Gateway Protocol. The three early BGP versions are BGP-1 (RFC 1105), BGP-2 (RFC 1163) and BGP-3 (RFC 1267). The current version is BGP-4 (RFC 4271), and is the Internet exterior gateway protocol. The term "router" in this chapter refers to both routers and Layer 3 switches, and BGP refers to BGP-4 in this chapter.

BGP has the following characteristics:

A router advertising BGP messages is called a "BGP speaker". It establishes peer relationships with other BGP speakers to exchange routing information. When a BGP speaker receives a new route or a route better than the current one from another AS, it will advertise the route to all the other BGP peers in the local AS.

To simplify configuration, multiple peers using an identical policy can be organized as a peer group.

BGP runs on a router in either of the following modes:

BGP is called "IBGP" when it runs within an AS, and is called "EBGP" when it runs between ASs.