BGP Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Border Gateway Protocol

Want to summarize with AI?

Log in

Overview

Explains the key characteristics, functions, and significance of Border Gateway Protocol (BGP) as an exterior gateway protocol that enables interdomain routing, policy-based decisions, and reliable Internet operation.

Outlines the foundational concepts of BGP, describing its protocol characteristics, functions, and significance within routing architectures.

Border Gateway Protocol (BGP) is an exterior gateway protocol that

  • enables loop-free interdomain routing between autonomous systems

  • exchanges routing information between different networks operated by distinct organizations, and

  • supports policy-based routing decisions for scalable and reliable Internet operation.

Autonomous system:

An autonomous system (AS) is a group of routers managed under a single technical administration that operates as a unified routing entity. Each AS consists of one or more IP networks under the control of a single organization and is assigned a unique Autonomous System Number (ASN).

Comparison of routing protocol types

To understand BGP, it's essential to distinguish between two types of routing protocols:

  • Interior Gateway Protocols (IGPs): These protocols such as OSPF, IS-IS, and EIGRP, are used within a single AS. They determine the best paths for routing data within the internal network of that AS.

  • Exterior Gateway Protocols (EGPs): These protocols, primarily BGP, are used for routing between different ASes. They enable communication and the exchange of routing information across different networks.

This table summarizes the differences between EGPs and IGPs.

Feature Exterior Gateway Protocols (EGPs) Interior Gateway Protocols (IGPs)
Scope Inter-AS (between organizations) Intra-AS (within an organization)
Typical protocols BGP OSPF, IS-IS, EIGRP, RIP
Routing policy support Policy-based (highly flexible) Generally least-cost or shortest path
Scalability Highly scalable for large networks Suitable for limited, internal domains

Examples of BGP deployment

These scenarios illustrate how BGP is used in practice:

  • An Internet Service Provider uses BGP to exchange routing information with other service providers, ensuring that data can travel efficiently between different networks on the global Internet.

  • Enterprises with multi-homed Internet connections deploy BGP to manage traffic policies and redundancy across their upstream providers.