© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.23-1 Route Selection Using Policy Controls Implementing Changes in BGP Policy.

Презентация:



Advertisements
Похожие презентации
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
Advertisements

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Attributes Setting BGP Local Preferences.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Module Summary The multihomed customer network must exchange BGP information with both ISP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Optimizing BGP Scalability Implementing BGP Peer Groups.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Outbound Route Filtering.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Monitoring and Troubleshooting BGP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Optimizing BGP Scalability Limiting the Number of Prefixes Received from a BGP Neighbor.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Multihomed BGP Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to Multiple Service.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring an MP-BGP Session Between PE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring Small-Scale Routing Protocols Between PE and CE Routers.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Attributes Using AS-Path Prepending.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Processing BGP Routes.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Filtering with Prefix-Lists.
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Managing Your Network Environment Managing Cisco Devices.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Employing AS-Path Filters.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Scaling Service Provider Networks Introducing Confederations.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Module Summary BGP has reliable transport provided by TCP, a rich set of metrics called BGP.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing BGP Explaining BGP Concepts and Terminology.
Транксрипт:

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Implementing Changes in BGP Policy

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Traditional Limitations of Clearing the BGP Session clear ip bgp {* | ip-address | peer-group-name} router# 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Soft Reconfiguration and Memory Use

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Inbound Soft Reconfiguration Cisco IOS Commands neighbor ip-address soft-reconfiguration inbound router(config-router)#

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Inbound Soft Reconfiguration Cisco IOS Commands (Cont.) clear ip bgp ip-address soft in router#

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Outbound Soft Reconfiguration Cisco IOS Commands clear ip bgp ip-address soft out router#

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Monitoring Soft Reconfiguration

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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 4 - RTR-B sends route refresh message to RTR-A. Step 5 - RTR-A resends all BGP routes to RTR-B. Step 3 - Operator requests inbound route refresh.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Using Route Refresh clear ip bgp {* | ip-address | peer-group-name } in router# Sends a route refresh message to the neighbor or neighbors Only works if the neighbor has previously advertised the route refresh capability

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Monitoring Route Refresh show ip bgp neighbor neighbor router# Verifies the support for route refresh capability

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Monitoring Route Refresh (Cont.) Debug output after BGP session reset

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Monitoring Route Refresh (Cont.) Debug output after route refresh

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v 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.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v