Guide and reference
BGP — Border Gateway Protocol
BGP exchanges reachability and routing policy between autonomous systems and within large networks. Neighbors establish a TCP session, exchange capabilities, then send announcements and withdrawals. BGP describes control-plane reachability; it does not itself forward application packets or guarantee that an advertised path carries traffic successfully.
BGP — Border Gateway Protocol
BGP exchanges reachability and routing policy between autonomous systems and within large networks. Neighbors establish a TCP session, exchange capabilities, then send announcements and withdrawals. BGP describes control-plane reachability; it does not itself forward application packets or guarantee that an advertised path carries traffic successfully.
ReferenceWhy BGP exists
BGP exchanges reachability between independently governed networks with policy-controlled path selection.
ReferenceHow BGP works
BGP peers negotiate capabilities and exchange prefix announcements and withdrawals over TCP.
ReferenceBGP neighbors
BGP neighbors are configured protocol peers and need not share a direct physical link.
ReferenceBGP sessions
A BGP session maintains peer state and carries routing updates after establishment.
ReferenceTCP port 179
TCP 179 conventionally serves BGP; reachability alone does not establish an authorized session.
ReferenceeBGP vs. iBGP
eBGP connects different autonomous systems; iBGP distributes BGP routes within one system.
ReferenceBGP route announcements
BGP announcements advertise prefix reachability together with associated path attributes.
ReferenceBGP route withdrawals
A withdrawal removes a peer’s earlier route advertisement, not necessarily all alternative reachability.
ReferenceBGP route propagation
BGP propagation follows each operator’s import and export policies rather than automatic universal distribution.
ReferenceBGP path selection
BGP selects among eligible routes using policy and attributes, not AS-path length alone.
ReferenceAS_PATH
AS_PATH records autonomous-system traversal and supports loop detection and routing policy.
ReferenceNEXT_HOP
NEXT_HOP identifies the forwarding next hop, which must be reachable through local routing.
ReferenceLOCAL_PREF
LOCAL_PREF expresses intra-AS preference, with higher values generally preferred among eligible routes.
ReferenceMED
MED suggests an inter-AS entry preference; comparison scope and policy determine its effect.
ReferenceORIGIN
ORIGIN classifies route origin type; it is distinct from the origin ASN or resource holder.
ReferenceBGP communities
BGP communities label routes for operator-defined policy; meanings depend on documented agreements.
ReferenceExtended communities
Extended communities encode additional policy information, including route targets in supported deployments.
ReferenceLarge communities
Large communities use three 32-bit values for scalable routing-policy labels.
ReferenceRoute reflectors
Route reflectors reduce iBGP full-mesh requirements by reflecting routes between clients.
ReferenceBGP confederations
Confederations organize internal BGP sub-autonomous systems while presenting coordinated external routing.
ReferenceBGP route filtering
Route filtering constrains accepted and exported prefixes or attributes according to policy.
ReferencePrefix lists
Prefix lists match address prefixes and permitted prefix-length ranges.
ReferenceAS_PATH filtering
AS-path filters accept or reject routes based on autonomous-system path patterns.
ReferenceBGP route aggregation
Route aggregation advertises covering prefixes and needs forwarding plans for all covered destinations.
ReferenceBGP convergence
BGP convergence is the transition toward stable route selection after reachability or policy changes.
ReferenceBGP route dampening
Route dampening suppresses unstable routes but can delay restoration if poorly configured.
ReferenceBGP multipath
BGP multipath installs multiple eligible paths under implementation-specific equality and policy rules.
ReferenceBGP traffic engineering
BGP traffic engineering influences path choice through policy and attributes within inter-network constraints.
ReferenceBGP looking glasses
Looking glasses expose an operator’s routing viewpoint rather than universal Internet state.
ReferenceBGP route collectors
Route collectors record peer advertisements for measurement without necessarily forwarding user traffic.
ReferenceBGP hijacking
BGP hijacking advertises unauthorized reachability and may divert or disrupt traffic.
ReferenceBGP route leaks
Route leaks propagate reachability beyond intended routing-policy or relationship boundaries.
ReferenceBGP poisoning
BGP poisoning manipulates AS-path contents to influence loop rejection and path availability.
ReferenceBGP security
BGP security combines peer protection, filtering, limits, validation and change monitoring.
ReferenceRPKI and Route Origin Validation
Route Origin Validation checks an announced prefix/origin against validated RPKI authorization data.
ReferenceROAs
A ROA authorizes an ASN to originate a prefix with a specified maximum length.
ReferenceASPA
ASPA describes authorized provider relationships for path-verification mechanisms; support depends on specification and implementation.
ReferenceBGPsec
BGPsec cryptographically protects aspects of AS-path propagation in supporting deployments, separately from origin validation.
ReferenceBGP monitoring
BGP monitoring tracks prefixes, origins, path changes and policy anomalies over time.