© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Monitoring and Troubleshooting BGP.

Slides:



Advertisements
Similar presentations
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Troubleshooting Frame-Mode MPLS on Cisco.
Advertisements

CCNP Network Route BGP Part -I BGP : Border Gateway Protocol. It is a distance vector protocol It is an External Gateway Protocol and basically used for.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Configuring IP ACLs.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 RIP version 1 Routing Protocols and Concepts – Chapter 5.
© 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.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Troubleshooting MPLS VPNs.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 Module Summary BGP has reliable transport provided by TCP, a rich set of metrics called BGP.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Scaling the Network with NAT and PAT.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Limiting the Number of Prefixes Received from a BGP Neighbor.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Configuring and Monitoring Route Reflectors.
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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 6 1 Configuring Basic BGP BSCI Module 6.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF- Based Solution Configuring and Verifying.
© 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—5-1 Implementing Path Control Lab 5-1 Debrief.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—2-1 Implementing an EIGRP-Based Solution Implementing and Verifying EIGRP Authentication.
© 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.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling RIP.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—3-1 Frame-Mode MPLS Implementation on Cisco IOS Platforms Monitoring Frame-Mode MPLS on Cisco.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Defining the IP Packet Delivery Process INTRO v2.0—4-1.
Basic Router Configuration Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Scaling the Network with NAT and PAT.
© 2001, Cisco Systems, Inc. All rights reserved..
BGP Overview Sumanta Das Gajendra Mahapatra. Content 1.Introduction 2.Session Establishment 3.Route processing 4.Basic Configuration 5.BGP Police.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling OSPF.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
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.
© Synergon Informatika Rt., 1999 Chapter 12 Connecting Enterprises to an Internet Service Provider.
© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations.
1 What Are Access Lists? –Standard –Checks Source address –Generally permits or denies entire protocol suite –Extended –Checks Source and Destination address.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Access Control Lists Routing & Switching.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Filtering with Prefix-Lists.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 4 Learning About Other Devices.
 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—7-1 Optimizing BGP Scalability Using BGP Route Dampening.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Using Outbound Route Filtering.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Implementing BGP Peer Groups.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Improving BGP Convergence.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Using Multihomed BGP Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Module Summary The multihomed customer network must exchange BGP information with both ISP.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Lab 6-2 Debrief.
BGP Transit Autonomous System
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.
Route Selection Using Attributes
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 9 Basic Router Troubleshooting.
1 © 2004, Cisco Systems, Inc. All rights reserved. Routing and Routing Protocols: Routing Static.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNP 1 v3.0 Module 4 Routing Information Protocol version 2.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Establishing BGP Sessions.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
© 2003, Cisco Systems, Inc. All rights reserved..
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Access Control Lists Accessing the WAN – Chapter 5.
Connecting an Enterprise Network to an ISP Network
Scaling Service Provider Networks
Connecting an Enterprise Network to an ISP Network
Routing and Routing Protocols: Routing Static
Chapter 4: Access Control Lists (ACLs)
Routing and Routing Protocols: Routing Static
Presentation transcript:

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Monitoring and Troubleshooting BGP

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-2 Outline Overview Monitoring Overall BGP Routing Monitoring BGP Neighbors Monitoring the BGP Table Debugging BGP BGP Session Startup Problems BGP Neighbor Not Reachable BGP Neighbor Not Configured BGP AS Number Mismatch Summary

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-3 Monitoring Overall BGP Routing show ip bgp summary router> Displays BGP memory use, and displays BGP neighbors and the state of communication with them

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-4 Monitoring BGP Neighbors show ip bgp neighbors ip-address router> Displays detailed neighbor information

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-5 Monitoring the BGP Table show ip bgp router> Displays all routes in the BGP table in summary format

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-6 Monitoring the BGP Table (Cont.) show ip bgp ip-prefix [mask subnet-mask] router> Displays detailed information about all paths for a single prefix

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-7 Debugging BGP debug ip tcp transactions router# Displays all TCP transactions (start of session, session errors, etc.) debug ip bgp events router# Displays significant BGP events (neighbor state transitions, update runs)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-8 Debugging BGP (Cont.) debug ip bgp keepalives router# Debugs BGP keepalive packets debug ip bgp updates router# Displays all incoming or outgoing BGP updates Use with caution

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-9 Debugging BGP (Cont.) debug ip bgp updates acl router# Displays all incoming or outgoing BGP updates for routes matching an IP access-list debug ip bgp ip-address updates [acl] router# Displays all BGP updates received from or sent to a BGP neighbor (optionally matching an IP access-list)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-10 BGP Session Startup Problems Common BGP session startup symptoms: BGP neighbors do not become active. BGP neighbor is active, but the session is never established. BGP neighbor oscillates between idle and active.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-11 BGP Neighbor Not Reachable Symptom: BGP neighbors do not become active. –show ip bgp neighbors displays the neighbor state as Idle for several minutes. Diagnosis: Neighbor is not directly connected. Verification: Verify with show ip route.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-12 BGP Neighbor Not Reachable (Cont.) Symptom: BGP neighbor is active; session is not established. –debug ip tcp transactions display shows that the TCP SYN packet is not answered with a SYN-ACK packet. Diagnosis: Neighbor is not reachable. Verification: Verify connectivity with ping. Check for the presence of an access-list.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-13 BGP Neighbor Not Reachable (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-14 BGP Neighbor Not Configured Symptom: BGP neighbor is active; session is not established. –debug ip tcp transactions display shows that the TCP SYN packet is answered with an RST packet. Diagnosis: This router is not configured as the BGP neighbor on the neighboring router. Verification: Check IP addresses of BGP neighbors with show ip bgp summary on the neighboring router.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-15 BGP Neighbor Not Configured (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-16 BGP AS Number Mismatch Symptom: BGP neighbor oscillates between Active and Idle. –debug ip tcp transactions displays the TCP session being established and torn down immediately. Diagnosis: There is an AS number mismatch between BGP neighbors. Verification: Verify the AS numbers configured for neighboring routers using the show ip bgp summary on both routers.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-17 BGP AS Number Mismatch (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-18 Summary The show ip bgp summary command displays the overall status of BGP and shows configured neighbors and their state. You can use the show ip bgp neighbors command to get more in-depth information about a specific BGP neighbor. All entries in the BGP table can be displayed with the show ip bgp command. You can also use show ip bgp to display an extended printout about a specific route in the BGP table. You can use the debug ip tcp transactions command to troubleshoot BGP session establishment problems. The command debug ip bgp events displays significant BGP events, while debug ip bgp updates displays the routing information being exchanged between BGP neighbors.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-19 Summary (Cont.) Three common BGP session startup symptoms are that BGP neighbors never become active, that the BGP neighbor is active but the BGP session is not established, and that the BGP neighbor state oscillates between idle and active. If a router is configured with a BGP neighbor that is in another AS but not directly connected, the session stays in the Idle state. If a BGP neighbor is unreachable, no reply is sent for the TCP SYN packet, causing the session to time out. If the TCP session is established using the three-way handshake (SYN, SYN-ACK, ACK), but the session is dropped after a short packet exchange, BGP parameters are mismatched.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-20