© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.27-1 Optimizing BGP Scalability Limiting the Number of Prefixes Received from a BGP Neighbor.

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



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 BGP Overview Monitoring and Troubleshooting BGP.
© 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 Route Selection Using Policy Controls Using Outbound Route Filtering.
© 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 BGP Transit Autonomous Systems Configuring a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Implementing Changes in BGP Policy.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring an MP-BGP Session Between PE Routers.
© 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 Optimizing BGP Scalability Using BGP Route Dampening.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Module Summary Service providers use an IGP to carry internal routes and to provide optimal.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Complex MPLS VPNs Using Advanced VRF Import and Export Features.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Establishing BGP Sessions.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Filtering with Prefix-Lists.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring BGP as the Routing Protocol Between PE and CE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Configuring EIGRP Using EIGRP in an Enterprise Network.
© 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.
© 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 Route Selection Using Attributes Using AS-Path Prepending.
Транксрипт:

© 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 Outline Overview Limiting the Number of Routes Received from a Neighbor Configuring the BGP Maximum-Prefix Function Monitoring the BGP Maximum-Prefix Function Summary

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Limiting the Number of Routes Received from a Neighbor Definition of problem: All other filtering mechanisms specify only what you are willing to accept but not how much. A misconfigured BGP neighbor can send a huge number of prefixes that can exhaust the memory of a router or overload the CPU (several Internet-wide incidents have already occurred). A new tool is needed to establish a hard limit on the number of prefixes received from a neighbor.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Configuring the BGP Maximum-Prefix Function neighbor ip-address maximum-prefix maximum [threshold] [warning-only][restart restart-interval] router(config-router)# This command controls how many prefixes can be received from a neighbor. The optional threshold parameter specifies the percentage where a warning message is logged (default is 75%). The optional warning-only keyword specifies the action on exceeding the maximum number (default is to drop the neighbor relationship). The optional restart keyword instructs the router to try to re- establish the session after the specified interval in minutes.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v show ip bgp neighbors [address] router> For neighbors with the maximum-prefix function configured, displays the maximum number of prefixes and the warning threshold For neighbors exceeding the maximum number of prefixes, displays the reason that the BGP session is idle Monitoring the BGP Maximum-Prefix Function

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Monitoring the BGP Maximum-Prefix Function (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Monitoring the BGP Maximum-Prefix Function (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Summary An improperly configured filter in a customer router may accidentally cause a large number of Internet routes to be received by the customer. The neighbor maximum-prefix command allows you to configure a maximum number of prefixes that a BGP router is allowed to receive from a peer. When the number of received prefixes exceeds the maximum number configured, the router either terminates the peering (by default) or sends a log message but continues peering with the sender. You can use the show ip bgp neighbors command to monitor the status of BGP neighbors, displaying information about the number of prefixes that a BGP router has received from a neighbor and if any limits have been configured.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.27-9