From: Jack Reynolds (jacreyno@xxxxxxxxx)
Date: Sat Feb 03 2001 - 15:18:19 GMT-3
Remember also you can try "show ip bgp reg-exp
"whateveraspathfilteryouaretryingtoimplement". This will tell you what ASs
will and will not be allowed, even before applying the list. This is
especially important in production environments, but a timesaver in the lab.
My 2 cents.
JR
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Bernard Dunn
Sent: Friday, February 02, 2001 11:47 PM
To: Roy Grego
Cc: ccielab@groupstudy.com
Subject: Re: BGP AS filter
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:35 GMT-3