Re: BGP summary address

From: Richard Davidson (rich@myhomemail.net)
Date: Sun Dec 14 2003 - 19:59:55 GMT-3


the command you recomended:

"neighbor x.x.x.x advertise-map m1 exist-map m2"

I don't think the exist-map is a valid option. It's
not referenced in the doc cd. Also, it's not avalible
on my router. Am I missing something?

Is it possible to negate the non-exist-map to only
send the advertise-map route, if all of the
non-exist-map routes are in the negated route-map?

Yahoo IM: r1davidson
e-mail rich@myhomemail.net

--- arvindyadav@comcast.net wrote:
> Yes you are right, try with exist-map
>
> neighbor x.x.x.x advertise-map m1 exist-map m2
>
> regds
> Arvind
>
> ----- Original Message -----
> From: "Richard Davidson" <rich@myhomemail.net>
> To: "Richard Davidson" <rich@myhomemail.net>;
> <Arvinb@comcast.net>;
> <vdadlaney@comcast.net>
> Cc: "groupstudy" <ccielab@groupstudy.com>
> Sent: Saturday, December 13, 2003 3:23 PM
> Subject: Re: BGP summary address
>
>
> > At first I didn't see the deny in your m2
> route-map.
> > "route-map m2 deny 10
> > match ip address 2"
> >
> > It appears that you are trying to negate the
> > non-exist-map. Is that possible? I have tried it
> and
> > it doesn't work.
> >
> > Also, I think your access-lists 1 should read as
> > follows.
> > access-list 1 permit 199.10.111.0 0.0.0.0
> > !
> > !Not this:
> > access-list 1 permit 199.10.111.0 0.0.0.255
> > ^
> > I think yours tells the router to send any
> > 199.10.111.0-255 prefix.
> >
> > regardless, I have tried both.
> >
> > Rich
> >
> > --- Richard Davidson <rich@myhomemail.net> wrote:
> > > All, thanks for the response.
> > >
> > > Arivnd
> > > Yes, that was my original question. Correct me
> if I
> > > am wrong. the neighbor x.x.x.x advertise-map m1
> > > non-exist-map m2; command is used to advertise
> the
> > > route in the advertise map if all of the routes
> in
> > > the
> > > non-exist-map are not in the routing table.
> > >
> > > I need to only advertise the summary if I have
> all
> > > of
> > > the 199.10.125.xxx prefixes.
> > >
> > > Rich
> > >
> > > Resources:
> > >
> >
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr
> rp_r/bgp_r/1rfbgp1.htm#1166728
> > >
> > > --- Arvinb@comcast.net wrote:
> > > > Richard
> > > >
> > > > I think original question was to advertise the
> > > > summary address only when
> > > > both the longer prefixes exists. By default
> router
> > > > keep on advertising the
> > > > summary address until it has a single longer
> > > prefix
> > > > route in the routing
> > > > table. It stops advertising summary-address by
> > > > defualt if it doesn't have
> > > > any longer prefix in routing table.
> > > >
> > > > Conditional advetisement is BGP will advertise
> the
> > > > summary-address when
> > > > router looses some prefix specified in
> non-exist
> > > > map. How about to use this.
> > > >
> > > > router bgp xxxx
> > > > aggregate-address 199.10.111.0 255.255.255.0
> > > > summary-only
> > > > !
> > > > neighbor x.x.x.x advertise-map m1
> non-exist-map m2
> > > >
> > > > route-map m1 permit 10
> > > > match ip address 1
> > > >
> > > > route-map m2 deny 10
> > > > match ip address 2
> > > >
> > > > access-list 1 permit 199.10.111.0 0.0.0.255
> > > > access-list 2 permit 199.10.111.160 0.0.0.7
> > > > access-list 2 permit 199.10.111.168 0.0.0.7
> > > >
> > > >
> > > > Arivnd
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: <vdadlaney@comcast.net>
> > > > To: "Richard Davidson" <rich@myhomemail.net>
> > > > Cc: "groupstudy" <ccielab@groupstudy.com>
> > > > Sent: Saturday, December 13, 2003 11:12 AM
> > > > Subject: Re: BGP summary address
> > > >
> > > >
> > > > > Hi Richard,
> > > > >
> > > > > Are you sure you want to advertise a /24 for
> > > these
> > > > routes. I personally
> > > > would aggregate to 199.10.111.160
> 255.255.255.240.
> > > > Than as per your
> > > > requirements you can do a aggregate-address
> > > > 199.10.111.160 255.255.255.240
> > > > summary-only or if you want the more specifics
> > > than
> > > > remove the summary-only.
> > > > Once that is done than u can use a
> distribute-list
> > > > on the neighbor statement
> > > > to the ebgp peers to deny the more specific
> routes
> > > > if you have not used the
> > > > summary-only option and allow only the summary
> to
> > > > your ebgp peers. Ofcourse
> > > > if you want to send a /24 than you can
> aggregate
> > > to
> > > > that and follow the same
> > > > method. I think that would work. If anyone
> thinks
> > > > this might not work than
> > > > please do correct me. Thanks
> > > > >
> > > > > Regards,
> > > > >
> > > > > Vikram
> > > > > > I need to send a summary address from two
> bgp
> > > > routers
> > > > > > in one as to two other AS numbers. I need
> to
> > > > only
> > > > > > send the summary to the remote AS numbers
> if
> > > the
> > > > local
> > > > > > router knows about all of the local routes
> > > that
> > > > fall
> > > > > > under the summary. Is this possible.
> > > > Basically, send
> > > > > > 199.10.111.0/24 if; 199.10.111.160/29 and
> > > > > > 199.10.111.168/29 exists.
> > > > > >
> > > > > > Thanks for the support
> > > > > > Rich
> > > > > >
> > > > > > =====
> > > > > > Richard Davidson
> > > > > > Yahoo IM: r1davidson
> > > > > > e-mail rich@myhomemail.net
> > > > > >
> > > > > >
> > > >
> > >
> >
>



This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:40 GMT-3