Re: BGP AS filter

From: Pablo Thoma (pthoma@xxxxxxxxxxxxx)
Date: Sat Feb 03 2001 - 04:45:09 GMT-3


   
Roy,

The AS 5 is added to the AS-path after the filtering
has been done at the moment the update packet is built
hence if you want to filter on R1 you will have to filter
on ip address for example or you can do the filtering on R2
inbound.

Rgds,

Pablo

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