All rights reserved. June 2001.
The information in this document is subject to change without notice. The statements, configurations, technical data,
and recommendations in this document are believed to be accurate and reliable, but are presented without express or
implied warranty. Users must t ak e full respo nsib ility fo r th e ir app lica tio ns o f any products specified in this document.
The information in this document is proprietary to Nortel Networks Inc.
The software described in this docume nt is furnished under a license agreement and may only be used in accordance
with the terms of that license. The software license agreement is included in this document.
Trademarks
Nortel Networks, the Nortel Networks logo, the Globemark, Unified Networks, AN, ARN, ASN, BayRS, BCC, and
Passport are trademarks of Nortel Networks.
Adobe and Acrobat Reader are trademarks of Adobe Systems Incorporated.
Ethernet is a tradema r k of X ero x C orp oration.
Restricted Rights Legend
Use, duplication, or disclosure by the United States Government is subject to restrictions as set forth in subparagraph
(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013.
Notwithstanding any other license ag reement that may pertain to, or accompany the delivery of, this comput er
software, the rights of the United States Government regarding its use, reproduction, and disclosure are as set forth in
the Commercial Computer Software-Restricted Rights cl ause at FAR 52.227-19.
Statement of Conditions
In the interest of improving internal design, operational function, and/or reliability, Nortel Networks Inc. reserves the
right to make changes to the pr oducts described in this document without notice.
Nortel Networks Inc. does not assume any liability that may occur due to the use or application of the product(s) or
circuit layout(s) described herein.
SUCH PORTIONS OF THE SOFTWARE ARE PROVIDED “AS IS” AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
In addition, the program and information contained herei n are l icensed only pursuant to a license agreement that
contains restrictions on use and disclosure (that may incorporate by reference certain limitations and notices imposed
by third parties).
ii
308628-15.0 Rev 00
Nortel Networks Inc. Software License Agreement
NOTICE: Please carefully read this license agreement before copying or usin g the accompanying software or
installing the hardware unit with pre-enabled software (each of which is referred to as “Software” in this Agreement).
BY COPYING OR USING THE SOFTWARE, YOU ACCEPT ALL OF THE TERMS AND CONDITIONS OF
THIS LICENSE AGREEMENT. THE TERMS EXPRESSED IN THIS AGREEMENT ARE THE ONLY TERMS
UNDER WHICH NORTEL NETWORKS WILL PERMIT YOU TO USE THE SOFTWARE. If you do not accept
these terms and conditions, return the product, unused and in the original shipping container, within 30 days of
purchase to obtain a credit for the full purchase price.
1. License grant. Nortel Networks Inc. (“Nortel Networks”) grants the end user of the Software (“Licensee”) a
personal, nonexc lusi v e, no ntransferab le licen se: a) to u se the So ftw are eithe r on a sing le compu ter or, if applicable, on
a single authorized device identified by host ID, for which it was originally acquired; b) to copy the Software solely
for backup purposes i n support of authorized use of the Software; and c) to use and copy the associated user manual
solely in support of authorized use of the Software by Licensee. This license applies to the Software only and does not
extend to Nortel Networks Agent software or other Nortel Networks software products. Nortel Networks Agent
software or other Nortel Networks software products are licensed for use under the terms of the applicable Nortel
Networks Inc. Software License Agreement that accompanies such software and upon payment by the end user of the
applicable license fees for such software.
2. Restrictions on use; reservation of rights. The Software and user manuals are protected under copyright laws.
Nortel Networks and/or its licensors retain all title and ownership in both the Software and user manuals, including
any revisions made by Nortel Networks or its licensors. The copyright notice must be reproduce d and included with
any copy of any portion of the Software or user manuals. Licensee may not modify, translate, decompile, disassemble,
use for any competitive analysis, reverse engineer, distribute, or create derivative works from the Software or user
manuals or any copy, in whole or in part. Except as expressly provided in this Agreement, Licensee may not copy or
transfer the Software or user manuals, in whole or in part. The Software and user manuals embody Nortel Networks’
and its licensors’ confidential and pro pri etary inte lle ctu al pro p erty. Licensee shall not sublicense, assign, or otherwise
disclose to any third party the Software, or any information about the operation, design, performance, or
implementation of the Software and user manuals that is confidential to Nortel Networks and its licensors; however,
Licensee may grant permission to its consultants, subcontractors, and agents to use the Software at Licensee’s facility,
provided they have agreed to use the Software only in accordance with the terms of this license.
3. Limited warranty . Nortel Networks warrants each item of Software, as delivered by Nortel Networks and properly
installed and operated on Nortel Networks hardware or other equipment it is originally licensed for, to function
substantially as described in its accompanying user manual duri ng its warranty period, which begins on the date
Software is first shipped to Licensee. If an y item of Softwa re fails to so f unction during its wa rranty period, as the sole
remedy Nortel Networks will at its discretion provide a suitable fix, patch, or workaround for the problem that may be
included in a future Software release. Nortel Networks further warrants to Licensee that the media on which the
Software is provided will be free from defec ts in materials and wo rkmanship under normal u se for a period of 90 days
from the date Software is first shipped to Licensee. Nortel Networks will replace defective media at no charge if it is
returned to Nortel Net w orks during the warrant y period along with proof of the date of shipment . This warranty does
not apply if the media has been damaged as a result of accident, misuse, or abuse. The L i censee assumes all
responsibility for selection of the Softw are to achieve Licensee’s intended results and for the installation, use, and
results obtained from the Software. Nortel Networks does not warrant a) that the functions contained in the software
will meet the Licensee’s requirements, b) that the Softw are will operate in the hardw are or software combina tions that
the Licensee may select, c) that the operation of the Software will be uninterrupted or error free, or d) that all defects
in the operation of the Softw are will be correcte d. Nortel Netw orks is not oblig ated to remedy any Sof tware defec t that
cannot be reproduced with the latest Software release. These warranties do not apply to the Software if it has been
(i) altered, except by Nortel Networks or in accordance with its instructions; (ii) used in conjunction with another
vendor’s produc t, resulting in the defect; or (iii) damaged by improper environment, abuse, misuse, accident, or
negligence. THE FOREGOING WARRANTIES AND LIMITATIONS ARE EXCLUSIVE REMEDIES AND ARE
IN LIEU OF ALL OTHER WARRANTIES EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITA T ION ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Licensee is responsible
308628-15.0 Rev 00
iii
for the security of its own data and information and for maintaining adequate procedures apart from the Software to
reconstruct lost or altered files, data, or programs.
4. Limitation of liability. IN NO EVENT WILL NORTEL NETWORKS OR ITS LICENSORS BE LIABLE FOR
ANY COST OF SUBSTITUTE PROCUREMENT; SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES; OR ANY DAMAGES RESULTING FROM INACCURATE OR LOST DATA OR LOSS OF USE OR
PROFITS ARISING OUT OF OR IN CONNECTION WITH THE PERFORMANCE OF THE SOFTWARE, EVEN
IF NORTEL NETWORKS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT
SHALL THE LIABILITY OF NORTEL NETWORKS RELATING TO THE SOFTWARE OR THIS AGREEM ENT
EXCEED THE PRICE PAID TO NORTEL NETWORKS FOR THE SOFTWARE LICENSE.
5. Government licensees. This provision applies to all Softw a re and do cum entation acquired directly o r in di rectly by
or on behalf of the United States Government. The Software and documentation are commercial products, licensed on
the open market at market prices, and were developed entirely at private expense and without th e use of any U.S.
Government funds. The license to the U.S. Government is granted only with restricted rights, and use, duplication, or
disclosure by the U.S. Government is subject to the restrictions set forth in subparagraph (c)(1) of the Commercial
Computer Software––Restricted Rights clause of FAR 52.227-19 and the limitatio ns set o ut in this license for civilian
agencies, and subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause of DFARS
252.227-7013, for agencies of the Department of Defense or their successors, which ever is applicable.
6. Use of software in the European Community. This provision applies to all Software acquired for use within the
European Community. If Licensee uses the Software within a country in the European Community, the Software
Directive enacted by the Council of European Communities Directive dated 14 May, 1991, will apply to the
examination of the Software to facilitate interoperability. Licensee agrees to notify Nortel Networks of any such
intended examination of the Software and may procure support and assistance from Nortel Networks.
7. Term and termination. This license is effective until ter mina ted; however, all of the restrictions with respect to
Nortel Networks’ copyright in the Software and user manuals will cease being effective at the date of expiration of the
Nortel Networks copyright; t hose restrictions relating to use and disclosure of Nortel Networks’ confidential
information shall continue in effect. Licensee may terminate this license at any time. The license will automatically
terminate if Licensee fails to comply with any of the terms and conditions of the license. Upon termination for any
reason, Licensee will immediately destroy or return to Nortel Networks the Software, user manuals, and all cop ies.
Nortel Networks is not liable to Licensee for damages in any form solely by reason of the termination of this license.
8. Export and re-export. Licensee agrees not to export, directly or indirectly, the Software or related technical data or
information without f irst obta ining a n y required e xport lice nses or oth er go v ernmenta l appro vals. Without limiting the
foregoing, Licen see , on b e half of itself and its subsidiarie s an d affiliates, agrees that it will not , wi tho ut first obtaining
all export licenses and approvals required by the U.S. Government: (i) export, r e-export, transfer, or divert any such
Software or technical data, or any direct product thereof, to any country to which such exports or re-exports are
restricted or embargoed under United States export control laws and regulations, or to any national or resident of such
restricted or embargoed countries; or (ii) provide the Software or related technical data or information to any military
end user or for any military end use, including the design, development, or production of any chemical, nuclear, or
biological weapons.
9. General. If any provision of this Agreement is held to be invalid or unenforceable by a court of competent
jurisdiction, the remainder of the provisions of this Agreement shall remain in full force and effect. This Agreement
will be governed by the laws of the state of California.
Should you have any questions concerning this Agreement , contact Nortel Networks Inc. , 2375 N. Glenville Dr.,
Richardson, TX 75082.
LICENSEE ACKNOWLEDGES THAT LICENSEE HAS READ THIS AGREEMENT, UNDERSTANDS IT, AND
AGREES TO BE BOUND BY ITS TERMS AND CONDITIONS. LICENSEE FURTHER AGREES THAT THIS
AGREEMENT IS THE ENTIRE AND EXCLUSIVE AGREEMENT BETWEEN NORTEL NETWORKS AND
LICENSEE, WHICH SUPERSEDES ALL PRIOR ORAL AND WRITTEN AGREEMENTS AND
COMMUNICATIONS BETWEEN THE PARTIES PERTAINING TO THE SUBJECT MATTER OF THIS
AGREEMENT. NO DIFFERENT OR ADDITIONAL TERMS WILL BE ENFORCEABLE AGAINST
NORTEL NETWORKS UNLESS NORTEL NETWORKS GIVES ITS EXPRESS WRITTEN CONSENT,
INCLUDING AN EXPRESS WAIVER OF THE TERMS OF THIS AGREEMENT.
iv
308628-15.0 Rev 00
Contents
Preface
Before You Begin ............................................................................................................. xv
Text Conventions .............................................................................................................xvi
Table B-5.Nortel Networks AS Path Pattern-Matching Symbols ........................... B-13
308628-15.0 Rev 00
xiii
Preface
Routers at the borders or edg es of a utonomous s ystems a re call ed gateways. These
gateways use exterior gateway protocols to exchange rea chability information
with each other and route packets between routing domains. This guide describes
how to configure and use the IP Border Gateway Prot ocol (BGP) and the Exte rior
Gateway Protocol (EGP).
You can use the Bay Command Console (BCC*) or Site Manager to configure
BGP and EGP on a router. In this guide, you will find instructions for using both
the BCC and Site Manager.
Before You Be gin
Before using this guide, you must complete the following procedures. For a new
router:
•Install the router (see the installation guide that came with your router).
•Connect the router to the network and create a pilot configuration file (see
Quick-Starting Routers, Configuring Remote Access for AN and Passport
ARN Routers
Make sure that you are running the latest version of Nortel Networks* BayRS*
and Site Manager software. For information about upgrading BayRS and Site
Manager, see the upgrading guide for your version of BayRS.
308628-15.0 Rev 00
, or
Connecting ASN Routers to a Network)
.
xv
Configuring IP Exterior Gateway Protocols (BGP and EGP)
Text Conventions
This guide uses the following text conventions:
angle brackets (< >)Indicate that you choose the text to enter based on the
description inside the brackets. Do not type the
brackets when entering the command.
Example: If the command syntax is:
ping
<ip_address>
ping 192.32.10.12
, you enter:
bold text
Indicates command names and options and text that
you need to enter.
Example: Enter
Example: Use the
show ip {alerts | routes
dinfo
command.
}.
braces ({})Indicate required elements in syntax descriptions
where there is more than one option. You must choose
only one of the options. Do not type the braces when
entering the command.
Example: If the command syntax is:
show ip {alerts | routes
show ip alerts or show ip routes
}
, you must enter either:
, but not both.
brackets ([ ])Indicate optional elements in syntax descriptions. Do
not type the brackets when entering the command.
Example: If the command syntax is:
show ip interfaces [-alerts
show ip interfaces
or
]
, you can enter either:
show ip interfaces -alerts
.
ellipsis points (. . . )Indicate that you repeat the last element of the
command as needed.
xvi
Example: If the command syntax is:
ethernet/2/1
ethernet/2/1
[<parameter> <value>]
and as many parameter-value pairs as
needed.
. . .
, you enter
308628-15.0 Rev 00
Preface
italic textIndicates new terms, book titles, and variables in
command syntax descri pti ons. Where a v a ri abl e is two
or more words, the words are connected by an
underscore.
Example: If the command syntax is:
show at <valid_route>
valid_route
is one variable and you substitute one value
for it.
screen textIndicates system output, for example, prompts and
system messages.
Example:
Set Trap Monitor Filters
separator ( > )Shows menu paths.
Example: Protocols > IP identifi es the IP option on t h e
Protocols menu.
vertical line (
)Separates choices for command keywords and
|
arguments. Enter only one of the choices. Do not type
the vertical line when entering the command.
Example: If the command syntax is:
show ip {alerts | routes}
show ip alerts
or
, you enter either:
show ip routes
, but not both.
308628-15.0 Rev 00
xvii
Configuring IP Exterior Gateway Protocols (BGP and EGP)
Acronyms
This guide uses the following acronyms:
ARPAddress Resolution Protocol
ASautonomous system
ATMasynchronous transfer mode
BGPBorder Gatew a y Protoc ol
CIDRclassless interdomain rout ing
DESdata encryption standard
EBGPExterior Border Gateway Protocol
ECMPequal-cost multipath
EGPExterior Gateway Protocol
FDDIFiber Distributed Data Interface
HSSIHigh Speed Serial Interface
IBGPInterior Border Gateway Protocol
xviii
ICMPInternet Control Message Protocol
IGPinterior gateway protocol
IPInternet Protocol
ISPInternet service provider
LANlocal area network
MD5M essage Digest 5
MEDmultiexit discriminator
MEKmessage encryption key
MIB management information base
MSS maximum segment size
NLRInetwork layer reachability information
NPKnode protection key
NVRAMnonvolatile random access memory
OSPFOpen Shortest Path First
308628-15.0 Rev 00
Preface
PPPPoint-to-Point Protocol
PVCpermanent virtual circuit
RARPReverse Address Resolution Protocol
RFCrequest for comments
RIPRouting Information Protocol
RRroute reflector
SMDSSwitched Multimegabit Data Service
TCPTransmission Control Protocol
UDPUser Datagram Protocol
WANwide area network
308628-15.0 Rev 00
xix
Configuring IP Exterior Gateway Protocols (BGP and EGP)
Related Publications
For more information about IP services, refer to the following publications:
•Reference for BCC IP show Commands (part number 308603-14.20 Rev 00)
show
Provides descriptions of all
commands that display BGP configuration and statistical data.
•Configuring IP, ARP, RARP, RIP, and OSPF Services (part number
308627-15.0 Rev 00)
Provides a description of IP, ARP, RARP, RIP, and OSPF services and
instructions for configuring them.
•Configuring GRE, NAT, RIPSO, and BFE Services (part number
308625-14.20 Rev 00)
Provides a description of Generic Routing Encapsulation (GRE), Network
Address Translation (NAT), Revised IP Security Option (RIPSO), and Blacker
front-end services and instructions for configuring them.
You can print selected technical manuals and release notes free, directly from the
Internet. Go to the www.nortelnetworks.com/documentation URL. Find the
product for which you ne ed do cumen tat ion. Then locate the speci fic category and
model or version for your hardware or software product. Use Adobe* Acrobat
Reader* to open the manuals and release notes, search for the sections you need,
and print them on most standard printers. Go to Adobe Systems at the
www.adobe.com URL to download a free copy of the Adobe Acrobat Reader.
commands for IP services, including the
xx
You can purchase selected documentation sets, CDs, and technical publications
through the Internet at the www1.fatbrain.com/documentation/nortel/ URL.
308628-15.0 Rev 00
How to Get Help
If you purchased a service contract for your Nortel Networks product from a
distributor or authorized reseller, contact the technical support staff for that
distributor or reseller for assistance.
If you purchased a Nort el Net w orks s ervic e progr am, cont act on e of t he fol lo win g
Nortel Networks Technical Solutions Centers:
Technical Solutions CenterTelephone
Europe, Middle East, and Africa(33) (4) 92-966-968
North America(800) 4NORTEL or (800) 466-7835
Asia Pacific(61) (2) 9927-8800
China(800) 810-5000
An Express Routing Code (ERC) is available for many Nortel Networks products
and services. When you use an ERC, your call is routed to a technical support
person who speciali zes in supp orting t hat product or servi ce. To locate an ERC for
your product or service, go to the www12.nortelnetworks.com/ URL and click
ERC at the bottom of the page.
Preface
308628-15.0 Rev 00
xxi
Chapter 1
Exterior Gateway Protocols (BGP and EGP)
This chapter introduces the concepts and terminology used in this guide.
TopicPage
Autonomous Systems and Gateway Protocols1-1
BGP Concepts and Terminology1-4
BGP Implementation Notes1-12
Autonomous Systems a nd Gateway Protocols
LANs and WANs interconnected by IP routers for m a group of netw orks call ed an
internetwork. For administrative purposes, an internetwork is divided into
autonomous systems. An autonomous system (AS) is a group of routers (called
gateways in IP terminolog y) and host s run by a singl e techni cal admi nistr ator th at
has a single, clearly defined routing policy. Each autonomous system has its own
unique AS number as signe d by the app ropri ate In ter net Regi stry entit y. Figure 1-1
shows a sample internetwork segmented into three autonomous systems.
308628-15.0 Rev 00
1-1
Configuring IP Exterior Gateway Protocols (BGP and EGP)
LAN
A
Router
1
Autonomous
system 1
LAN
F
Autonomous
system 2
LAN
C
Router
9
Router
2
Router
8
LAN
G
LAN
B
Router
3
Router
4
Router
Autonomous
system 3
Router
7
LAN
E
5
LAN
D
Router
6
Figure 1-1.Internetwork Segmented into Three Autonomous Systems
The routers at the edges (or borders) of autonomous systems are called gateways.
These gate ways use exterior gatewa y protocols to exchange reachability
information and to route packets between routing domains.
1-2
IP0006B
308628-15.0 Rev 00
Border Gateway Protocol (BGP)
The Border Gateway Protocol (BGP) is an exterior gateway protocol used by
border routers to exchange network reachability information with other BGP
systems. BGP routers form peer relationships with other BGP routers in other
autonomous systems or within the same autonomous system. BGP peers transmit
and receive current ro uting in form ation over a reli able tr anspor t la yer conne ction,
making periodic updates unnecessary. BGP is designed for inter-AS exchanges,
but can be used between multiple routing domains (for example, RIP to OSPF).
BGP peers exchange complete routing information only after the peer connection
is established. Thereafter, BGP peers exchange routing updates. An update
includes a network number, a list of autonomous systems that the routing
information passed through (the AS path), and other path attributes that describe
the route to a set of dest inati on net works. When mul tipl e path s are avail able, BGP
compares the path attributes to choose the preferred path.
BGP exchanges information between ASs as well as between routers in the same
AS. To differentiate between these uses, the latter is called interior BGP (IBGP).
Exterior Gateway Protocols (BGP and EGP)
Exterior Gateway Protocol (EGP)
You use the Exterior Gateway Protocol to exchange network reachability
information between routers in different autonomous systems. An interior
gateway protocol (IGP), such as RIP or OSPF, is used with in an AS to facilitate
the communication of routing information within an autonomous system. The
routers that serve as the end points of a connection between two autonomous
systems also run an exterior gateway protocol, such as EGP-2.
Routers establish EGP neighbor relationships to periodically exchange reliable
network reachability inf ormation. EGP neig hbors exchange complete reachability
information, not just upda tes. T he rout er us es this infor mat ion to mainta in a li st of
gateways, the networks the gateways can reach, and the corresponding distances.
Chapter 8, “
308628-15.0 Rev 00
Customizing EGP Services,” describes the use of EGP.
1-3
Configuring IP Exterior Gateway Protocols (BGP and EGP)
Classless Interdomain Routing
Classless interdomain routing (CIDR) is an addressing scheme that uses supernet
addresses to represent multiple IP destinations. Rather than advertise a separate
route for each destination network in a supernet, a router uses a supernet address
to advertise a single route (called an aggregate route) that represents all the
destinations. CIDR reduces the size of the routing tables used to store advertised
IP routes. BGP-4 supports classless interdomain routing.
BGP Concepts and Terminology
BGP is an exterior gateway protocol designed to exchange network reachability
information with other BGP systems in other autonomous systems or within the
same autonomous system.
Figure 1-2
shows two autonomous systems: AS1 and AS2. Networks within AS1
and AS2 are connected by routers running an interior gateway protocol—in this
case, OSPF. The two ASs are connected by routers that run an exterior gateway
protocol—BGP—in addition to OSPF.
OSPF
AS1
OSPF
OSPF
OSPF/
BGP
Exterior
BGP
connection
OSPF/
BGP
AS2
OSPF
OSPF
IP00025A
Figure 1-2.BGP Connecting Two Autonomous Systems Running OSPF
1-4
308628-15.0 Rev 00
Exterior Gateway Protocols (BGP and EGP)
Nortel Networks supports BGP-3 and BGP-4:
•BGP-3 assumes that eac h adver tised networ k is a n atura l clas s netwo rk (A , B,
or C), based on its high-order bits. BGP-3 cannot advertise subnets or
supernets.
•BGP-4 has no concept of address classes. Each network listed in the network
layer reachability information (NLRI) portion of an update message contains
a prefix length field, which describes the length of the mask associated with
the network. The prefix length field allows for both supernet and subnet
advertisement. The supernet advertisement is what makes classless
interdomain routing (CIDR) possible. See “Class le ss Int erdomain Routing”
on page 1-4.
In addition, BGP-4 supports BGP confederations and TCP MD5 message
authentication.
A BGP router employs a BGP speaker, which is an entity within the router that
transmits and receives BGP messages and acts upon them. A BGP speaker forms
a neighbor relationship with another BGP speaker by establishing a peer-to-peer session. See Chapter 4, “
308628-15.0 Rev 00
Configuring BGP Peers.”
1-5
Configuring IP Exterior Gateway Protocols (BGP and EGP)
Stub and Multihomed Autonomous Systems
An AS can include one or more BGP speakers t hat e st abl is h peer-to-peer ses si ons
with BGP speakers in other autonomous systems to provide external route
information for the networks within the A S. A multihomed AS has multiple BGP
speakers. A stub AS has a single BGP speaker that establishes a peer-to-peer
session with one external BGP speaker. The BGP speaker provides external route
information only for the networks contained within its own AS.
Interior BGP Routing
Nortel Networks implements interior BGP (IBGP) intra-AS routing. With IBGP,
each router in the AS runs an interior gateway protocol (IGP), such as OSPF, for
internal routing updates and also maintains an IBGP connection to each BGP
border router. The IBGP information, along with the IGP route to the originating
BGP border router, determines the next hop to use for external networks.
Some IGPs carry no BGP information. However, an OSPF type 5 LSA can carry
BGP-specific information in its tag field. Each router uses IBGP exclusively to
determine reachability to external networks. When an IBGP update for a network
is received, it is passed to IP for inclusio n in the routing table only if a viable IGP
route to the correct border gateway is available.
1-6
An AS with more than one BGP spe aker c an use I BGP to p rovide a tra nsit s ervic e
for networks outside the AS. An AS that provides this service is called a transit AS (Figure 1-3
).
308628-15.0 Rev 00
Exterior Gateway Protocols (BGP and EGP)
AS 10
AS 20
AS 50
Figure 1-3.Transit AS
BGP A
IGP
BGP C
AS 30
AS 11
AS 12
BGP B
IP0021A
In Figure 1-3, AS 20 is the transit AS. It provides information about its internal
networks, as well as transit networks, to the remaining ASs. The IBGP
connections between BGP routers A, B, and C provide consistent routing
information to the ASs.
IBGP Route Reflector
A BGP router configured for IBGP establishes a peer-to-peer session with every
other IBGP speaker in the AS. In an AS with a large number of IBGP speakers,
this full-mesh topology can result in high bandwidth and maintenance costs. For
example, a full-mesh topology for an AS with 50 IBGP speakers requires 1225
internal peer-to-peer connections.
308628-15.0 Rev 00
1-7
Configuring IP Exterior Gateway Protocols (BGP and EGP)
T o avoid the high cost s of a full-me sh topology to support IBGP speakers wit hin a
large AS, you can configure a router to function as an IBGP route reflector (RR).
An IBGP speaker that needs to communicate with other BGP speakers in the AS
establishes a single peer-to-peer RR client session with the IBGP route reflector.
For information about the IBGP route reflector, see Chapter 6, “Configuring a
Route Reflector.”
Equal-Cost Multipath
Equal-cost multipath (ECMP) support allows a BGP speaker to perform route or
traffic balancing within an AS by using multiple equal-cost routes submitted to
the routing table by OSPF, RIP, or static routes. For instructions on configuring
route and traffic balancing, see Chapter 7, “
Balancing.” For more information ab out equal- cost multi path, see Configuring IP,
ARP, RARP, RIP, and OSPF Services.
BGP Updates
BGP-3 and BGP-4 speakers exchange routing updates that include a network
number and a list of autonomous systems that the routing information has passed
through (the AS path) as well as a list of unreachable networks. In addition, an
update includes the following:
Configuring Route and Traffic
1-8
•List of path attributes
•Local preference value—BGP-4 only. (See “
Preference Calculation and Route Selection” on page 3-25.)
Disabling BayRS Local
308628-15.0 Rev 00
Loading...
+ 246 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.