Route Selection Using Policy Controls

Slides:



Advertisements
Similar presentations
© 2003, Cisco Systems, Inc. All rights reserved..
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Troubleshooting Frame-Mode MPLS on Cisco.
BGP Overview Processing BGP Routes.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring BGP as the Routing Protocol Between PE and CE Routers.
Chapter 9: Access Control Lists
Technical Aspects of Peering Session 4. Overview Peering checklist/requirements Peering step by step Peering arrangements and options Exercises.
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.
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.Cisco ConfidentialBSCI Configuring EIGRP BSCI Module 2-5 – Configuring EIGRP in an Enterprise Network.
Managing Your Network Environment © 2004 Cisco Systems, Inc. All rights reserved. Managing Cisco IOS Devices INTRO v2.0—9-1.
© 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.
© 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.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—4-1 Implement an IPv4-Based Redistribution Solution Lab 4-1 Debrief.
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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 6 1 Configuring Basic BGP BSCI Module 6.
Presented By: Hanping Feng Configuring BGP With Cisco IOS Software (Part 1)
RD-CSY /09 Distance Vector Routing Protocols.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—5-1 Implementing Path Control Assessing Path Control Network Performance Issues.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—4-1 Implement an IPv4-Based Redistribution Solution Assessing Network Routing Performance and.
© 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—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring Small-Scale Routing Protocols Between PE and CE Routers.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-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. Multiprotocol BGP. © 2001, Cisco Systems, Inc. Multiprotocol BGP-2 Objectives Upon completion of this chapter, you will be.
Explaining BGP Concepts and Terminology
BGP Overview Sumanta Das Gajendra Mahapatra. Content 1.Introduction 2.Session Establishment 3.Route processing 4.Basic Configuration 5.BGP Police.
© 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.
Chapter 9. Implementing Scalability Features in Your Internetwork.
© Synergon Informatika Rt., 1999 Chapter 12 Connecting Enterprises to an Internet Service Provider.
© 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.
BGP Filtering (Policy Routing). BGP Filtering Can Apply our Routing Policy Controlling the sending and receiving updates Prefix Filtering AS_Path Filtering.
© 2001, Cisco Systems, Inc. 1-1 Introduction Configuring BGP on Cisco Routers.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 6 1 Configuring Basic BGP BSCI Module 6.
Route Filtering and Route Selection in BGP
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Employing AS-Path Filters.
© 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.
© 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—2-1 BGP Transit Autonomous Systems Forwarding Packets in a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 Course Introduction.
© 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.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Monitoring and Troubleshooting BGP.
BGP Transit Autonomous System
Route Selection Using Attributes
© 2002, Cisco Systems, Inc. All rights reserved..
© 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—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to Multiple Service.
© 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..
Connecting an Enterprise Network to an ISP Network
Managing Your Network Environment
Scaling Service Provider Networks
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
© 2002, Cisco Systems, Inc. All rights reserved.
Cours BGP-MPLS-IPV6-QOS
Scaling Service Provider Networks
Presentation transcript:

Route Selection Using Policy Controls Implementing Changes in BGP Policy

Outline Overview Traditional Filtering Limitations BGP Soft Reconfiguration Cisco IOS Commands for Soft Reconfiguration Monitoring Soft Reconfiguration BGP Soft Reset Enhancement Route Refresh Using Route Refresh Monitoring Route Refresh Why Use Route-Maps as BGP Filters? Summary

Traditional Filtering Limitations All filters apply only to new incoming and outgoing updates. To change outbound routing policy, you have to resend BGP updates to your neighbors. To change inbound routing policy, you have to force your neighbor to resend the updates to you. The traditional mechanism is to clear BGP sessions.

Traditional Limitations of Clearing the BGP Session router# clear ip bgp {* | ip-address | peer-group-name} This command tears down the BGP session with all neighbors, a specific neighbor, or all neighbors in a peer group. All BGP routes are lost after the session is torn down; connectivity through the BGP neighbor is lost. A new session is re-established within 30 to 60 seconds. A full routing update is exchanged once the session is re-established, resulting in enforcement of new routing policy. Processing the full Internet routing table can take a long time. Clearing the BGP session is a very disruptive way to implement routing policies.

BGP Soft Reconfiguration Soft reconfiguration was introduced in Cisco IOS Software Release 11.2 to facilitate nondisruptive changes in BGP routing policies. Outbound soft reconfiguration resends the complete BGP table. Always enabled, not configurable Inbound soft reconfiguration stores the complete BGP table of your neighbor in router memory.

Soft Reconfiguration and Memory Use

Inbound Soft Reconfiguration Cisco IOS Commands router(config-router)# neighbor ip-address soft-reconfiguration inbound

Inbound Soft Reconfiguration Cisco IOS Commands (Cont.) router# clear ip bgp ip-address soft in

Outbound Soft Reconfiguration Cisco IOS Commands router# clear ip bgp ip-address soft out

Monitoring Soft Reconfiguration

BGP Soft Reset Enhancement Provides automatic support for dynamic soft reset of inbound BGP routing table updates that is not dependent upon stored routing table update information Requires no preconfiguration (as with the neighbor soft-reconfiguration command) Requires much less memory than the previous soft reset method for inbound routing table updates

Route Refresh Route refresh is a new BGP capability. It is used to request a neighbor to resend routing information. It is typically used after configuration changes to update the BGP table (route-map, distribute-list, prefix-list, filter-list, weight, local preference, MED, and so on). The traditional way of accomplishing this function is to clear the BGP session.

Route Refresh (Cont.) Inbound soft reconfiguration consumes memory on the receiving router. It is needed only because there is no mechanism in standard BGP to request retransmission of BGP routes. BGP route refresh is an optional BGP capability that allows a BGP router to request retransmission of BGP routes from a neighbor.

Route Refresh (Cont.) Step 1 - Route refresh is negotiated when the BGP session is established. Step 2 - Inbound routing policy is changed on RTR-B. Step 3 - Operator requests inbound route refresh. Step 4 - RTR-B sends route refresh message to RTR-A. Step 5 - RTR-A resends all BGP routes to RTR-B.

Using Route Refresh router# clear ip bgp {* | ip-address | peer-group-name } in Sends a route refresh message to the neighbor or neighbors Only works if the neighbor has previously advertised the route refresh capability

Monitoring Route Refresh show ip bgp neighbor neighbor Verifies the support for route refresh capability

Monitoring Route Refresh (Cont.) Debug output after BGP session reset

Monitoring Route Refresh (Cont.) Debug output after route refresh

Why Use Route-Maps as BGP Filters? Some scenarios require complex filters. Filters on IP prefixes coming from specific AS number Filters on other BGP attributes In some cases, network administrators even need to modify BGP attributes. Route-maps provide a solution to both requirements.

Summary Because of the huge volumes of routing information that BGP is capable of handling and the effects of a mass routing update, BGP cannot use traditional routing update methods. Soft reconfiguration provides the possibility to run all routes through filters without tearing down the sessions. The Cisco IOS commands that are required to configure and perform a soft reconfiguration include the neighbor soft-reconfiguration router configuration command, which configures Cisco IOS software to start storing updates and the clear ip bgp EXEC command, which resets a BGP connection using BGP soft reconfiguration.

Summary (Cont.) The Cisco IOS tools that are available to monitor the operation of a soft reconfiguration include the show ip bgp command, which displays the local BGP table, the show ip bgp neighbor ip-address routes command, which checks incoming information that is received from a neighbor, and the show ip bgp neighbor ip-address received command, which displays the information that is saved in the extra copy outside the filters. The BGP Soft Reset Enhancement feature provides automatic support for dynamic soft reset of inbound BGP routing table updates that is not dependent upon stored routing table update information. This method requires no preconfiguration and needs much less memory than the previous soft reset method for inbound routing table updates.

Summary (Cont.) Route refresh is a new BGP capability that is used to request a neighbor to resend routing information after configuration changes. The clear ip bgp ip-address soft in command sends a route refresh message to the neighboring router and executes if the neighbor has previously advertised the route refresh capability. To verify that a neighbor supports route refresh, you can use the show ip bgp neighbor command. To display the negotiation process, you can use the debug ip bgp command. Network administrators cannot achieve certain complex filtering goals by using a prefix-list only or by using an AS-path filter list only. A route-map is a powerful filtering tool that can also modify routing information.