RE: [nsp] BGP advertised routes

From: CLAEREBOUDT Elke (ECLAEREB@mail.mobistar.be)
Date: Fri Nov 09 2001 - 04:32:22 EST


maybe you can try with the command
 

xtocid1108634BM_26364BM_1019419neighbor maximum-prefix

To control how many prefixes can be received from a neighbor, use the
neighbor maximum-prefix router configuration command. To disable this
function, use the no form of this command.

BM_1019421neighbor {ip-address | peer-group-name} maximum-prefix maximum
[threshold][warning-only]

no neighbor {ip-address | peer-group-name} maximum-prefix maximum

Syntax Description

ip-address

IP address of the neighbor.

peer-group-name

Name of a BGP peer group.

maximum

Maximum number of prefixes allowed from this neighbor.

threshold

(Optional) Integer specifying at what percentage of maximum the router
starts to generate a warning message. The range 1 to 100; the default is 75
(percent).

warning-only

(Optional) Allows the router to generate log message when the maximum is
exceeded, instead of terminating the peering.

        

Defaults

Disabled; there is no limit on the number of prefixes.

Command Modes

Router configuration

Command History

Release Modification

11.3

This command was introduced.

        

Usage Guidelines

This command allows you to configure a maximum number of prefixes a BGP
router is allowed to receive from a peer. It adds another mechanism (in
addition to distribute lists, filter lists, and route maps) to control
prefixes received from a peer.

When the number of received prefixes exceeds the maximum number configured,
the router terminates the peering (by default). However, if the keyword
warning-only is configured, the router instead only sends a log message, but
continues peering with the sender. If the peer is terminated, the peer stays
down until the clear ip bgp command is issued.

Examples

The following example sets the maximum number of prefixes allowed from the
neighbor at 129.140.6.6 to 1000:

router bgp 109

 network 131.108.0.0

 neighbor 129.140.6.6 maximum-prefix 1000

Elke

-----Original Message-----
From: Ysmael B. Tan [mailto:jonjon@globenet.com.ph]
Sent: 09 November 2001 10:04
To: cisco-nsp@puck.nether.net
Cc: Cisco NSP
Subject: Re: [nsp] BGP advertised routes
Importance: High

yes, my client is multi-homing. he does not want the default route, just
want about 400+ routes from my upstream provider.
 
 
Thanks
 
 
 
----- Original Message -----

From: Tito B. <mailto:gatekeeper@manilaix.net.ph>
To: Ysmael B. Tan <mailto:jonjon@globenet.com.ph>
Sent: Friday, November 09, 2001 4:38 PM
Subject: Re: [nsp] BGP advertised routes

At 01:06 AM 11/9/01 -0500, you wrote:
>Hi,
>
>Please help me. Im trying to advertise to a customer routes coming in from
>my upstream provider. i use the the route-map & as-path commands specific
>to the my AS & my upsteam AS. but the problem is that my upstream provider
>advertises about 3000+ routes on his AS.
>
>My customer wants only about 400 routes comming in to his router due to
>memory limitation. Is there a way to limit the number of routes i will
>pass on to my customer?

look at your route map or filter list configs.

you can always set them using only filter-list. why not advertise
none to him and just point default to you? your client is not multi-homing
isn't he? 400 routes + default is the same as default only.

./tito

*****DISCLAIMER*****

This electronic transmission (and any attached document) is intended
exclusively for the person or entity to whom it is addressed and may
contain confidential and/or privileged material.
Any disclosure, copying, distribution or other action based upon
the information by persons or entities other than the intended recipient
is prohibited. If you receive this message in error, please contact the
sender and delete the material from any and all computers.
Mobistar does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays.

*****END OF DISCLAIMER*****



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:22 EDT