BGP Transit Autonomous System

Slides:



Advertisements
Similar presentations
1 Copyright  1999, Cisco Systems, Inc. Module10.ppt10/7/1999 8:27 AM BGP — Border Gateway Protocol Routing Protocol used between AS’s Currently Version.
Advertisements

CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
BGP. 2 Copyright © 2009 Juniper Networks, Inc. BGP Overview Is an inter-domain routing protocol that communicates prefix reachablility.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 RIP version 1 Routing Protocols and Concepts – Chapter 5.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
1 Network Architecture and Design Routing: Exterior Gateway Protocols and Autonomous Systems Border Gateway Protocol (BGP) Reference D. E. Comer, Internetworking.
1 © 2003, Cisco Systems, Inc. All rights reserved. Computer Networks 6 Layer 3 troubleshooting Halmstad University Olga Torstensson
1 ELEN 602 Lecture 20 More on Routing RIP, OSPF, BGP.
CS Summer 2003 Lecture 4. CS Summer 2003 Route Aggregation The process of representing a group of prefixes with a single prefix is known as.
The Border Gateway Protocol (BGP) Sharad Jaiswal.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 6 1 Configuring Basic BGP BSCI Module 6.
14 – Inter/Intra-AS Routing
© 2009 Cisco Systems, Inc. All rights reserved.ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Configuring and Verifying Basic BGP Operations.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 RIP version 1&2 Revised by Chakchai So-In, Ph.D.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5#-1 MPLS VPN Implementation Configuring OSPF as the Routing Protocol Between PE and CE Routers.
Introduction to BGP 1. Border Gateway Protocol A Routing Protocol used to exchange routing information between different networks – Exterior gateway protocol.
Explaining BGP Concepts and Terminology
14 – Inter/Intra-AS Routing Network Layer Hierarchical Routing scale: with > 200 million destinations: can’t store all dest’s in routing tables!
TCOM 515 Lecture 6.
Lecture Week 7 RIPv2 Routing Protocols and Concepts.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network BGP Attributes and Path Selection Process.
The Hebe-jebes (or He-B-GPs): Understanding the Roles of EBGP, IBGP and an IGP Using Lab 7-4, IBGP, Next Hop and Synchronization Rick Graziani Cabrillo.
BGP Border Gateway Protocol By Amir and David. What Is BGP ? Exterior gateway protocols are designed to route between autonomous systems. AS’s : A set.
Chapter 9. Implementing Scalability Features in Your Internetwork.
© Synergon Informatika Rt., 1999 Chapter 12 Connecting Enterprises to an Internet Service Provider.
Border Gateway Protocol
Xuan Zheng (modified by M. Veeraraghavan) 1 BGP overview BGP operations BGP messages BGP decision algorithm BGP states.
© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations.
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
More on Internet Routing A large portion of this lecture material comes from BGP tutorial given by Philip Smith from Cisco (ftp://ftp- eng.cisco.com/pfs/seminars/APRICOT2004.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2.
1 Version 3.1 Module 6 Routed & Routing Protocols.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 6 1 Configuring Basic BGP BSCI Module 6.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
Route Selection Using Policy Controls
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to a Single Service.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Forwarding Packets in a Transit AS.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
BGP and ICMP. Exterior Gateway Protocol (EGP) Like RIP, but no metrics. Just if reachable. Rtr inside a domain collects reachability information and informs.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Lab 6-2 Debrief.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Monitoring and Troubleshooting BGP.
BGP Basics BGP uses TCP (port 179) BGP Established unicast-based connection to each of its BGP- speaking peers. BGP allowing the TCP layer to handle such.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
Connecting an Enterprise Network to an ISP Network
Scaling Service Provider Networks
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
Routing Loops.
© 2002, Cisco Systems, Inc. All rights reserved.
Explaining BGP Concepts and Terminology
BGP supplement Abhigyan Sharma.
© 2002, Cisco Systems, Inc. All rights reserved.
Lixin Gao ECE Dept. UMASS, Amherst
Cours BGP-MPLS-IPV6-QOS
Routing Protocols and Concepts – Chapter 5
Routing Protocols and Concepts
Chapter 2: Static Routing
Routing Protocols and Concepts – Chapter 5
Working Principle of BGP
Scaling Service Provider Networks
Routing Protocols and Concepts – Chapter 5
Routing Protocols and Concepts – Chapter 5
Computer Networks Protocols
Network Layer: Internet Inter-Domain Routing
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

BGP Transit Autonomous System

Objectives Upon completion of this lesson, you will be able to perform the following tasks: Describe the functions of a transit autonomous system List the routing protocols needed in a transit AS Understand the differences between IBGP and EBGP Describe the requirements of packet forwarding through transit AS Understand common transit AS design Configure, monitor and troubleshoot BGP in transit autonomous system Lesson Aim <Enter lesson aim here.>

Transit Autonomous System Functions © 2001, Cisco Systems, Inc. www.cisco.com BGP Transit Autonomous System-3

Objectives Upon completion of this section, you will be able to perform the following tasks: List the functions of a transit autonomous system Describe the external route propagation through transit AS Explain the need for internal BGP inside the transit AS Explain the need for deploying IBGP on all core routers Lesson Aim <Enter lesson aim here.>

Transit Autonomous System Tasks Rtr-A Rtr-B R-12 AS 12 AS 14 Rtr-C AS 42 Rtr-D R-14 Propagate routes between remote Autonomous Systems Route packets between remote networks

Route Propagation AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C IBGP session must be established between transit AS border routers to propagate EBGP routes Routes between autonomous systems are always exchanged via External BGP (EBGP) The only protocol that can transport all BGP attributes across the backbone is BGP inside autonomous system, called Internal BGP (IBGP)

Packet Forwarding in an Autonomous System AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C How will RTR-C forward the packet? Rtr-D forwards the packet toward Rtr-A as dictated by an IBGP-learned entry in its IP routing table Packet from AS 14 toward AS 12 is received by Rtr-D Conclusion#1: Rtr-C needs external routes for proper packet forwarding Conclusion#2: Rtr-C must receive BGP routes

Packet Forwarding in an Autonomous System All core routers must have all external routes Core routers must receive BGP routes Redistribution of BGP routes into IGP is not scalable Default routing is not applicable in transit AS core

Summary After completing this section, you should be able to perform the following tasks: List the functions of a transit autonomous system Describe the external route propagation through transit AS Explain the need for internal BGP inside the transit AS Explain the need for deploying IBGP on all core routers

Review Questions What are the main functions of a transit Autonomous System? How are external routes exchanged between Autonomous Systems? How are the BGP routes propagated across an autonomous system? Why do you have to run BGP on all core routers in an autonomous system? Why is the redistribution of BGP routes into IGP not advisable?

Internal BGP www.cisco.com © 2001, Cisco Systems, Inc. BGP Transit Autonomous System-11

Objectives Upon completion of this section, you will be able to perform the following tasks: List the differences between internal BGP and external BGP Describe the AS path processing in internal BGP Explain the need for BGP split horizon and its implications Understand the next-hop processing in internal BGP and its implications Lesson Aim <Enter lesson aim here.>

AS Path Processing in IBGP X 12 … Network X is announced as coming from AS 12 AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C IBGP session X 12 … AS path as received from external neighbor is not changed on IBGP sessions X 42 12 … Local AS number is prepended to AS path on external BGP sessions EBGP session

BGP Split Horizon X 12 … X 12 … No BGP attributes are changed in IBGP updates, making loop detection impossible. Split horizon is needed to prevent BGP routing loops. Rtr-A Rtr-B IBGP session R-12 AS 12 AS 14 EBGP session Rtr-C AS 42 Rtr-D R-14 To prevent loops, incoming IBGP update is not propagated to other IBGP peers Result: Full mesh of IBGP sessions is required for proper IBGP update propagation

IBGP Full-mesh AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C Full mesh of IBGP sessions has to be established between all BGP-speaking routers in the AS for proper IBGP route propagation The IBGP full-mesh is only a logical mesh of TCP sessions, physical full mesh is not required

Incoming IBGP update is further propagated to next AS IBGP Full-mesh IBGP update Incoming EBGP update is directly propagated from ingress router to all BGP-speaking routers in the AS AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C EBGP update EBGP update Incoming IBGP update is further propagated to next AS

Physical connections (for example, WAN links) IBGP Neighbors AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C IBGP session EBGP session Physical connections (for example, WAN links) Due to IBGP full-mesh requirements, IBGP neighbors are usually not directly connected Which interfaces shall you choose as the source and destination addresses of IBGP TCP sessions

IBGP Neighbor Sessions Always run your IBGP sessions between loopback interfaces IBGP sessions can always be established, even if some physical interfaces are down IBGP sessions are stable - physical interface failure will not tear down IBGP session There is no BGP recovery after a failure inside the transit AS IGP will reestablish the path between loopback interfaces IBGP sessions are not affected

IBGP Next-hop Processing IP address 1.0.0.1 Network X is announced with the next-hop 1.0.0.1 X (1.0.0.1) Next-hop is not changed on IBGP sessions X (1.0.0.1) AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C Next-hop is set to local IP address on EBGP sessions X (3.0.0.2) 1.0.0.2 3.0.0.1 3.0.0.2

Transit Network Using External Next-hops All EBGP peers must be reachable by all BGP-speaking routers within the AS EBGP next hops shall be announced using IGP: Redistribute connected interfaces into IGP at the edge routers or Include links to EBGP neighbors into IGP and make them passive interfaces

Transit Network Using Edge Routers as Next-hops Alternate design: Next-hop processing is modified at the edge routers Edge routers announce themselves as the next-hop in IBGP updates No redistribution of external subnets is necessary This design might result in suboptimal routing if you have multiple paths to a neighbor AS Use default next-hop processing if at all possible

Change the Next-hop Processing at Edge Routers neighbor ip-address next-hop-self router(config-router)# Bypass the BGP next-hop processing and announce the local IP address as the BGP next hop in outgoing updates sent to the specified neighbor Has to be set on all IBGP neighbor to fully bypass IBGP next-hop processing

Next-hop-self Example IP address 1.0.0.1 IBGP sessions are running from loopback address 2.0.0.7 Next-hop is set to the loopback address when next-hop-self is used X (2.0.0.7) AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C X (1.0.0.1) Next-hop is set to local IP address on EBGP sessions X (3.0.0.2) 1.0.0.2 3.0.0.1 3.0.0.2

Differences Between EBGP and IBGP Sessions No BGP attributes are changed in IBGP updates Due to BGP split horizon, routes learned from IBGP peer are not advertised to other IBGP peers Local-preference and MED attributes are only propagated over IBGP sessions EBGP peers are directly connected, IBGP peers are usually distant Route selection rules slightly prefer EBGP routes

Route Selection Slightly Favors EBGP Routes Identical routes are received from internal and external peer External route is preferred Whenever identical routes are received from IBGP and EBGP peers, the route from EBGP peer is preferred

Summary After completing this section, you should be able to perform the following tasks: List the differences between internal BGP and external BGP Describe the AS path processing in internal BGP Explain the need for BGP split horizon and its implications Understand the next-hop processing in internal BGP and its implications

Review Questions How does BGP split horizon work? Why do we need BGP split horizon? What are the implications of BGP split horizon? Why are IBGP neighbors usually distant? What is the recommended way to run IBGP sessions? How is the BGP next-hop changed inside an autonomous system? What are the implications of IBGP next-hop processing on the network design? How can you influence IBGP next-hop processing? List 3 major differences between EBGP and IBGP Why are EBGP routes preferred over equivalent IBGP routes?

Packet Forwarding in Transit Autonomous Systems © 2001, Cisco Systems, Inc. www.cisco.com BGP Transit Autonomous System-28

Objectives Upon completion of this section, you will be able to perform the following tasks: Explain the packet forwarding requirements in a transit AS Explain recursive lookup in IOS Explain the need for IGP in a transit backbone running BGP on all routers Explain interactions between BGP and IGP Lesson Aim <Enter lesson aim here.>

Packet Forwarding in an Autonomous System AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C Router on a transit path needs to know all external destinations for proper packet forwarding All core routers must receive external routes - they must run BGP The only scalable design, route redistribution into IGP is not scalable

Packet Forwarding for External Destinations Routes learned via BGP don’t have outgoing interface associated with them in the routing table Recursive lookup is performed to forward IP packets toward external destinations wg3pe2#show ip route 128.51.0.0 Routing entry for 128.51.0.0/16 Known via "bgp 5", distance 200, metric 0 Tag 99, type internal Last update from 192.168.5.1 01:21:25 ago Routing Descriptor Blocks: * 192.168.5.1, from 192.168.5.1, 01:21:25 ago Route metric is 0, traffic share count is 1 AS Hops 5 wg3pe2#show ip route 192.168.5.1 Routing entry for 192.168.5.1/32 Known via "ospf 1", distance 110, metric 1563, type intra area Redistributing via ospf 1, rip Advertised by rip metric 3 Last update from 192.168.5.17 on Serial1/0.121, 02:09:15 ago * 192.168.5.17, from 192.168.5.1, 02:09:15 ago, via Serial1/0.121 Route metric is 1563, traffic share count is 1 BGP next-hop No outgoing interface Route toward BGP next-hop Outgoing interface

Recursive Lookup in IOS Address Prefix AS-Path Next hop Communities Other attr. BGP table 10.0.0.0 /8 42 13 1.2.3.4 37:12 ... Entries in routing table are built from BGP table Outgoing interface is never associated with a BGP route ... ... ... ... ... 1.2.3.4 --- 10.0.0.0 /8 Protocol Address Prefix Next-hop Outgoing interface IP routing BGP table 10.0.0.0 /8 MAC header OSPF 1.2.3.0 /24 1.5.4.1 Ethernet 0 1.2.3.4 0c.00.11.22.33.44 ARP cache lookup is performed to build layer-2 header conn. 1.5.4.0 /24 --- Ethernet 0 Recursive lookup is performed to forward the packet toward external destination Address Prefix L2 header Switching cache ... ... ... Lookup result is stored in the switching cache IP address MAC address ARP cache ... ...

Recursive Lookup in IOS Traditional IOS switching mechanisms perform recursive lookup when forwarding the first packet Fast switching, Optimum switching Cisco Express Forwarding (CEF) pre-computes the forwarding table All recursive lookups are performed while the forwarding table is built

Routing Protocols in a Transit Autonomous System AS 42 AS 12 AS 14 R-14 R-12 Rtr-A Rtr-B Rtr-D Rtr-C All core routers are running IBGP With IBGP running on all core routers, is IGP still needed in the core? IGP is needed to resolve BGP next hops and perform fast convergence after a failure in the core network

Routing Protocols in a Transit Autonomous System Core routers need to run BGP and IGP BGP shall carry all external routes IGP shall only propagate BGP next-hops and other core subnets All customer routes shall also be carried in BGP Reduces IGP topology database Removes customer-caused route flaps from IGP: IGP becomes more stable

Interactions Between BGP and IGP Ideally, there would be no interaction between BGP and IGP BGP carries external and customer routes IGP carries only core subnets IGP is not affected by external route flaps BGP is not affected by failures internal to the network as long as the BGP next-hop remains reachable The only link between BGP and IGP should be the recursive lookup

Interactions Between BGP and IGP Sometimes, BGP and IGP will propagate the same route Usually due to bad network design In this case, routes are believed in EBGP/IGP/IBGP order based on administrative distances of the routes

Caveats of BGP/IGP Interaction If an IGP route is learned through EBGP, EBGP-route will take precedence Potential causes: Bad network design, routing problems or denial-of-service attack Protect your IGP routes with inbound prefix-list filters at your AS edges You should never accept information about your subnets from an external source

Summary After completing this section, you should be able to perform the following tasks: Explain the packet forwarding requirements in a transit AS Explain recursive lookup in IOS Explain the need for IGP in a transit backbone running BGP on all routers Explain interactions between BGP and IGP

Review Questions Why do you need to run IBGP on all core routers? What is recursive lookup in IOS? Why do you need IGP in a transit AS? What are the interactions between BGP and IGP in a properly designed transit AS? Why should you transport your customer routes in BGP, not in IGP? How does BGP react to a failure inside a transit AS? What happens when the same route is learned via BGP and IGP?

Configuring Transit Backbone with IBGP © 2001, Cisco Systems, Inc. www.cisco.com BGP Transit Autonomous System-41

Objectives Upon completion of this section, you will be able to perform the following tasks: Configure IBGP neighbors Configure IBGP sessions between loopback interfaces Configure additional BGP parameters required for successful IBGP operation Change the administrative distance of BGP routes Identify the scalability limitations of IBGP-based backbones Lesson Aim <Enter lesson aim here.>

Configuring IBGP Neighbors neighbor ip-address remote-as AS-number router(config-router)# Configures BGP neighbor The AS number configured determines whether the session is EBGP session (neighbor AS is different from local AS) or IBGP session (same AS number) neighbor ip-address description text router(config)# Attaches optional description to a neighbor

Configuring IBGP Sessions Between Loopback Interfaces neighbor ip-address update-source interface router(config-router)# Configures the source interface for the TCP session that carries BGP traffic For IBGP sessions, the source interface shall be a loopback address Source address configured on one peering router must match the destination address configured on the other - BGP session will not start otherwise Make sure that your loopback interfaces are announced in the backbone IGP

Configuring Additional BGP Parameters no synchronization router(config-router)# Disables synchronization between BGP and IGP Modern Transit Autonomous Systems do not need synchronization as they don’t rely on redistribution of BGP routes into IGP BGP synchronization has to be disabled in modern Transit AS designs on all BGP routers

Change the Administrative Distance of BGP Routes distance bgp external internal local router(config-router)# Sets administrative distance for EBGP, IBGP and local routes Applies only to routes received after the command has been entered (similar to filters) Defaults: EBGP routes have distance 20, IBGP and local routes have distance 200 Defaults are usually OK, don’t change them

Scalability Limitations of IBGP-based Transit Backbone Transit backbone requires IBGP full-mesh between all core routers Large number of TCP sessions Unnecessary duplicate routing traffic Two scalability solutions: Route reflectors BGP confederation

Summary After completing this section, you should be able to perform the following tasks: Configure IBGP neighbors Configure IBGP sessions between loopback interfaces Configure additional BGP parameters required for successful IBGP operation Change the administrative distance of BGP routes Identify the scalability limitations of IBGP-based backbones

Review Questions Which IOS command is used to configure BGP session between loopback interfaces? Which BGP parameter needs to be disabled for proper IBGP operation? How can you change the administrative distance of BGP routes? What are the scalability limitations of IBGP-based transit autonomous system? Which tools can be used to overcome scalability issues?

Monitoring and Troubleshooting IBGP © 2001, Cisco Systems, Inc. www.cisco.com BGP Transit Autonomous System-50

Objectives Upon completion of this section, you will be able to perform the following tasks: Use IOS show commands to monitor IBGP operation Identify common IBGP design and configuration errors Troubleshoot IBGP-based transit backbones Lesson Aim <Enter lesson aim here.>

IBGP-related IOS Show Commands show ip bgp neighbor router(config)# Displays whether a neighbor is an IBGP neighbor show ip bgp router(config)# Uses a special marker (i) for IBGP routes show ip bgp prefix router(config)# Displays whether the prefix is an IBGP route

Show ip bgp neighbor Router#show ip bgp neighbor 192.168.3.101 BGP neighbor is 192.168.3.101, remote AS 3, internal link BGP version 4, remote router ID 192.168.3.101 BGP state = Established, up for 00:56:08 Last read 00:00:08, hold time is 180, keepalive interval is 60 seconds Neighbor capabilities: Route refresh: advertised and received Address family IPv4 Unicast: advertised and received Received 82 messages, 0 notifications, 0 in queue Sent 97 messages, 0 notifications, 0 in queue Route refresh request: received 0, sent 0 Minimum time between advertisement runs is 5 seconds

Show ip bgp prefix Router#show ip bgp 197.99.1.0 BGP routing table entry for 197.99.1.0/24, version 3 Paths: (1 available, best #1) Advertised to non peer-group peers: 192.168.3.103 99 192.168.21.99 (metric 20) from 192.168.3.101 (192.168.3.101) Origin IGP, metric 0, localpref 100, valid, internal, best

Troubleshooting IBGP Common IBGP problems: IBGP sessions won’t start IBGP route is in the BGP table, but is not selected IBGP route is selected, but not entered in the routing table

IBGP Session Startup Issues Symptom IBGP session does not start Diagnose IBGP session is run between loopbacks and update-source keyword is missing Verification Use debug ip tcp transactions. You should see BGP sessions coming from unexpected IP addresses

IBGP Session Startup Issues Symptom IBGP session does not start Diagnose Loopback interfaces are not reachable Verification Do extended ping between loopback addresses to verify reachability

IBGP Session Startup Issues Symptom IBGP session does not start Diagnose Packet filters prevent establishment of BGP sessions Verification Use debug ip tcp transaction and debug ip icmp to see whether the initial TCP SYN packets are rejected

IBGP Route Selection Issues Symptom IBGP route is in the BGP table, but it is never selected as the best route Diagnose BGP next-hop is not reachable Verification Use show ip bgp prefix to find the BGP next-hop Use show ip route to verify next-hop reachability

IBGP Route is not Used Symptom Diagnose Verification IBGP route is selected as the best route, but not entered into the IP routing table Diagnose BGP synchronization is not disabled Verification Disable BGP synchronization, clear the BGP sessions and re-examine the IP routing table after the BGP table becomes stable

Summary After completing this section, you should be able to perform the following tasks: Use IOS show commands to monitor IBGP operation Identify common IBGP design and configuration errors Troubleshoot IBGP-based transit backbones

Review Questions Which IOS show command would indicate that a BGP route is an IBGP route? List three reasons for IBGP session startup problems List two reasons that would prevent IBGP from being used for packet forwarding

Summary After completing this lesson, you should be able to perform the following tasks: Describe the functions of a transit autonomous system List the routing protocols needed in a transit AS Understand the differences between IBGP and EBGP Describe the requirements of packet forwarding through transit AS Understand common transit AS design Configure, monitor and troubleshoot BGP in transit AS

© 2001, Cisco Systems, Inc. BGP Transit Autonomous System-64