6
BGP Configuration
The Border Gateway Protocol (BGP) is a dynamic inter-AS Exterior Gateway Protocol.
This chapter includes these sections:
BGP Overview
BGP Configuration Task List
Configuring BGP Basic Functions
Controlling Route Generation
Controlling Route Distribution and Reception
Configuring BGP Route Attributes
Tuning and Optimizing BGP Networks
Configuring a Large Scale BGP Network
Configuring BGP GR
Enabling Trap
Enabling Logging of Peer State Changes
Configuring BFD for BGP
Displaying and Maintaining BGP
BGP Configuration Examples
Troubleshooting BGP
The term router refers to both routers and Layer 3 switches. BGP refers to BGP-4 in this document.
BGP Overview
There are three early BGP versions, BGP-1 (RFC1105), BGP-2 (RFC1163) and BGP-3 (RFC1267).
The current version in use is BGP-4 (RFC 4271), which is the defacto Internet exterior gateway
protocol used between ISPs.
The characteristics of BGP are as follows:
Focusing on the control of route propagation and the selection of optimal routes rather than the
route discovery and calculation, which makes BGP, an exterior gateway protocol different from
interior gateway protocols such as OSPF and RIP
Using TCP to enhance reliability
Supporting CIDR
6-1