From: Bhisham Bajaj (bhishambajaj@xxxxxxxxx)
Date: Fri Mar 15 2002 - 08:03:28 GMT-3
I add a route-map to the redistribute connected
and with the route map I match some access-list and
set the set as-path prepend xxx
It only is advertises the routes that match the
access-list but does not add the as-path to the
network
So I add the same route-map to the neighbor commmand
and the as-path get prepended
So what is the route map being used of with the
redistribute command just to filter what network will
be advertised then what is the difference if I use the
distribute-list 20 out connected.
Does the route map with the redistribution command be
used to set some thing or only used a a filter when
redistributing
BB
--- "Chua, Parry" <Parry.Chua@compaq.com> wrote:
> One of the possible condition is that assume there
> are several neigh's connect via ethernet or it
> happen to be the common path.You may want to control
> some route that to or from all neigh. This may
> allow you to do other control on per neigh by making
> use of neigh x.x.x.x.x.
>
> > Parry Chua
> >
> >
>
>
> -----Original Message-----
> From: Bhisham Bajaj [mailto:bhishambajaj@yahoo.com]
> Sent: Friday, March 15, 2002 3:57 PM
> To: ccielab@groupstudy.com
> Subject: Bgp the diffrent ways to do a thing
>
>
> Bgp has a lot of ways to get what u want
> But I want to understand what is the internal
> difference by using the different ways
>
> Neighbor x.x.x.x advertise-map
> Neighbor x.x.x.x unsupress-map
> Neighbor x.x.x.x route-map
> Neighbor x.x.x.x filter-list
> Neighbor x.x.x.x prefix-list
> Neighbor x.x.x.x distribution-list
>
>
> Distribution-list ( x ) (in/out) (type/num)
>
> aggregate-address x.x.x.x y.y.y.y advertise-map
> aggregate-address x.x.x.x y.y.y.y suppress-map
> aggregate-address x.x.x.x y.y.y.y route-map
>
> summary-address x.x.x.x y.y.y.y
>
> all this command do some think different
> and I am out to get a few ans
>
> let me start with the distribution-list
>
> distribution-list may be the best way to filter
> routes
> based on the network number
>
> BGP is a routing protocol based on TCP session. U
> have
> to define static neighbor on both the routers to get
> a
> BGP peer up . now if we want to filter what route go
> to a neighbor or can come from a neighbor we can use
> a
> lot of methods one would me to apply a
> distribution-list to the neighbor command . this way
> we can control what routes cant be learned from that
> neighbor or what routes can go to that neighbor this
> way we can filter routes based on network address
>
> This is ok but I want to understand what is the use
> of
> the command distribution-list 1 ( in/out ) eth 0
> Under bgp with rip it makes a lot of use as we
> filter
> based on inter but in bgp my neighbor can have
> multiple routes by multiple interface so where and
> why
> would I need to use a bgp route filter based on what
> interface the route comes in or goes out
>
>
> BB
>
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:09 GMT-3