Re: BGP AS-Path access list

From: Sami (sy1977@gmail.com)
Date: Thu Jun 22 2006 - 02:41:57 ART


Thanks everyone.

Just to clarify R2# 129.1.124.2 is in AS 200 and 129.1.124.4 is in AS100. I
am applying filter list as INBOUND

R2# neighbor 129.1.124.4 filter-list 58 in

R2 should accept only routes having AS 100 54 but it still receving routes
with 100 54 50 60

**>i112.0.0.0 129.1.124.4 0 100 0 100 54 50 60

Task says link between R2 and R4 should be used only for traffic which is
destined for AS100 and its directly connected customers.

Thanks

On 6/21/06, Elias Chari <elias.chari@gmail.com> wrote:
>
> If you want to send traffic only to as XYZ and its directly attached
> customers, your filtering policy should be inbound, so that you only receive
> routes with path 100_<attachedAS>
>
>
> neighbor 129.1.23.3 route-map R4 in
>
>
>
> On 6/21/06, Bajo <bajoalex@gmail.com> wrote:
> >
> > Hi Sami,
> >
> > I do not see you denying any other routes on other neighbours (am not
> > sure
> > about the route-maps but as-path list 58 is applied only once).
> >
> > Did lab you case with a deny and it works.
> >
> > Do "sh ip bg regexp ^200(_[0-9]+)$" on R2.
> >
> >
> > On 6/21/06, Sami <sy1977@gmail.com> wrote:
> > >
> > > Group,
> > >
> > > One of task say configure AS200 so that it will only send out traffic
> > from
> > > this link to AS100 and it's directly connected customer.
> > > I configured as-path access list as below but still R2 is receiving
> > routes
> > > from other than 100 and 54. what could be the problem ?
> > >
> > > *R2#show ip as-path-access-list
> > > AS path access list 58
> > > permit ^100(_[0-9]+)?$
> > > *
> > > R2#show running-config | section bgp
> > > router bgp 200
> > > no synchronization
> > > bgp router-id 150.1.2.2
> > > bgp log-neighbor-changes
> > > network 129.1.3.0 mask 255.255.255.128
> > > network 129.1.3.128 mask 255.255.255.128
> > > network 129.1.17.0 mask 255.255.255.0
> > > aggregate-address 129.1.0.0 255.255.0.0
> > > neighbor 129.1.23.3 remote-as 200
> > > neighbor 129.1.23.3 next-hop-self
> > > neighbor 129.1.23.3 route-map R4 out
> > > neighbor 129.1.124.4 remote-as 100
> > > neighbor 129.1.124.4 route-map default in
> > > neighbor 129.1.124.4 route-map R4 out
> > > *neighbor 129.1.124.4 filter-list 58 in
> > > * neighbor 192.10.1.254 remote-as 254
> > > neighbor 192.10.1.254 password CISCO
> > > no auto-summary
> > >
> > >
> > > R2#show ip bgp
> > > BGP table version is 39, local router ID is 150.1.2.2
> > > Status codes: s suppressed, d damped, h history, * valid, > best, i -
> > > internal,
> > > r RIB-failure, S Stale
> > > Origin codes: i - IGP, e - EGP, ? - incomplete
> > >
> > > Network Next Hop Metric LocPrf Weight Path
> > > *>i0.0.0.0 129.1.17.7 0 500 0 100 i
> > > * 129.1.124.4 0 200 0 100 i
> > > *> 28.119.16.0/24 129.1.124.4 0 100 54 i
> > > * i 129.1.124.4 0 100 0 100 54 i
> > > *> 28.119.17.0/24 129.1.124.4 0 100 54 i
> > > * i 129.1.124.4 0 100 0 100 54 i
> > > **>i112.0.0.0 129.1.124.4 0 100 0 100 54
> > 50 60
> > > i
> > > *>i113.0.0.0 129.1.124.4 0 100 0 100 54 50
> > 60
> > > i
> > > **> 114.0.0.0 129.1.124.4 0 100 54 i
> > > * i 129.1.124.4 0 100 0 100 54 i
> > > *> 115.0.0.0 129.1.124.4 0 100 54 i
> > > * i 129.1.124.4 0 100 0 100 54 i
> > > *> 116.0.0.0 129.1.124.4 0 100 54 i
> > > * i 129.1.124.4 0 100 0 100 54 i
> > > *> 117.0.0.0 129.1.124.4 0 100 54 i
> > > * i 129.1.124.4 0 100 0 100 54 i
> > > *> 118.0.0.0 129.1.124.4 0 100 54 i
> > >
> > > Thanks
> > >
> > >
> > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> > >
> >
> >
> >
> > --
> > Kind Regards,
> >
> > Bajo
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:33 ART