Re: BGP AS filter

From: Roy Grego (ccsi100@xxxxxxxxx)
Date: Sat Feb 03 2001 - 05:00:31 GMT-3


   
Thanks Bernard,

Looks like Pablo was right when I put it on R2. It was
filtered in. Not sure if that is allowed though.

ROY

--- Bernard Dunn <dunn@cisco.com> wrote:
>
> Roy,
>
> go back to R1, adn try the different types of
> as-path regular expressions
> :
>
> show ip bgp regexp ^5$
>
> show ip bgp regexp _5_
>
> the first one would have worked, I thought.. Yours
> was trying to test for
> anywhere containing AS5.
>
> Please don't hesitate to correct me.
>
>
> On Fri, 2 Feb 2001, Roy Grego wrote:
>
> > Hello all,
> >
> > Still trying to filter the route without using IP.
>
> >
> > Diagram: IBGP Nei's --- R1 (AS5)-- EBGP -- (AS10)
> R2.
> >
> > Task. Block a route learned from iBGP on R1 to R2.
> >
> > My R1 config:
> >
> > router bgp 5
> > nei 6.6.6.6 remote-as 5
> > nei 2.2.2.2 remote-as 5
> > nei 1.1.1.1 remote-as 10
> > nei 1.1.1.1 filter-list 5 out
> >
> > ip as-path access-list 5 deny _5$
> > ip as-path access-list 5 permit .*
> >
> > ALSO TRIED A ROUTE MAP
> > route-map TAG2 deny 10
> > match as-path 5
> >
> > route-map TAG2 permit 20
> >
> > Getting the same result. I cleared BGP, &
> reloaded.
> > R2# Sh ip bgp
> >
> > *> 10.10.10.10/32 5.5.5.5 0 5 i
> >
> > (10.10.10.10 is injected with network command into
> 6)
> >
> > thanks,
> > ROY
> >
> >
> >
> >
> >
> >
> >



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:28:34 GMT-3