PREV NEXT INDEX

Avici Systems Inc.


max-unique-prefixes


Enables/disables limit checking and configures the maximum number of unique routes allowed in the BGP routing table.

Syntax: max-unique-prefixes [value | no-limit]

value

Sets the maximum number of unique routes allowed in the routing table to the specified number. Valid values are 0 - 450,000.

no-limit

Disables limit checking for number of unique routes.

Description: Large numbers of BGP unique routes can strain the resources of the Avici router server. The max-unique-prefixes command enables limit checking on the number of unique routes in the BGP routing table. If the limit is reached, additional routes are gracefully discarded without resetting the BGP sessions.

Use the max-unique-prefixes value command to enable limit checking and set the maximum number of unique routes to the specified number.

NOTE The number of prefixes currently in the routing table must be LESS than the specified number.

Use the max-unique-prefixes no-limit command to disable limit checking.

NOTE When limit checking is disabled, the Avici router will accept routes until the processing limits of the server are reached. Additional routes may the Avici router to reset.

Factory Default: Limit checking is enabled with a default value of 450,000 unique routes.

Command Mode: Router configuration.

Example 1: In the following example:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router bgp 101

router(config-router)#max-unique-prefixes 290000

router(config-router)#end

router#show ip bgp route-dropped-sessions



Bgp Soft Landing Global Statistics

Reason for dropping first Route : No Routes Dropped

Time Since First Dropped : 0:00:00

Maximum Bgp Prefix Check : Enabled

Current Number of Bgp Prefixes : 102970

Configured Maximum Bgp Prefixes : 290000

.

.

.

Example 2: The following sample output of show ip bgp route-dropped-sessions displays routes that have been dropped due to exceeding the threshold configured using the max-unique-prefixes command:

         Bgp Soft Landing Global Statistics

Reason for dropping first Route        :Max. Bgp Unique Route Exceeded

Time Since First Dropped               :0:00:33

Maximum Bgp Prefix Check               :Enabled

Current Number of Bgp Prefixes         :10000

Configured Maximum Bgp Prefixes        :10000



Minimum System Memory Check            :Enabled

Current Free System Memory             :85

Configured Minimum System Memory       :10



Maximum Bgp Route Instances Check      :Enabled

Current Number of Bgp Routes Instances :10000

Configured Maximum Bgp Route Instances :10000





         Bgp Soft Landing Peer Statistics

Neighbor  AS  PfxRcd PfxDropped Time    Reason

190.1.1.2 200 10000  5001       0:00:33 Max. Bgp Unique Route Exceeded


Example 3: In the following example:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router bgp 101

router(config-router)#bgp default max-route-instance no-limit

router(config-router)#end

router#show ip bgp route-dropped-sessions



Bgp Soft Landing Global Statistics

Reason for dropping first Route : No Routes Dropped

Time Since First Dropped : 0:00:00

Maximum Bgp Prefix Check : Disabled

Current Number of Bgp Prefixes : 102970

Configured Maximum Bgp Prefixes : 0

.

.

.

Related Commands: clear ip bgp route-dropped-sessions
max-route-instances
min-memory-threshold
router bgp
show ip bgp
show ip bgp routes-dropped-sessions


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: BGP_Nd.fm
    HTML File Name: BGP_Nd22.html
    Last Updated: 05/10/04 at 16:36:55

Please email suggestions and comments to: doc@avici.com