Re: BGP Filter

From: Jeff Andiorio <jandiorio_at_gmail.com>
Date: Sat, 9 May 2009 07:07:13 -0400

this may be a problem viewing from my phone, but I only see 2 entries
from that neighbor which both originate in 254.

please clarify what you want to filter.

On 5/8/09, Cisco Fanatic <ebay_products_at_hotmail.com> wrote:
> R4
> ++
> !
> router bgp 22
> no synchronization
> bgp log-neighbor-changes
> neighbor 10.10.50.1 remote-as 22
> neighbor 10.10.50.1 update-source Loopback0
> neighbor 10.10.60.1 remote-as 22
> neighbor 10.10.60.1 update-source Loopback0
> neighbor 22.22.252.254 remote-as 254
> no auto-summary
> !
>
> BB2
> +++
> !
> router bgp 254
> no synchronization
> bgp log-neighbor-changes
> network 10.10.10.0 mask 255.255.255.0
> network 20.20.20.0 mask 255.255.255.0
> neighbor 22.22.251.254 remote-as 100
> neighbor 22.22.252.4 remote-as 22
> no auto-summary
> !
>
> R4#show ip bgp
> BGP table version is 6, local router ID is 10.10.40.1
> 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
> *> 10.10.10.0/24 22.22.252.254 0 0 254 i
> *> 20.20.20.0/24 22.22.252.254 0 0 254 i
> *>i90.90.90.0/24 10.10.30.1 0 100 0 5022 6522 100 i
> * i 10.10.30.1 0 100 0 5022 6522 100 i
> *>i180.180.180.0/24 10.10.30.1 0 100 0 5022 6522 100 i
> * i 10.10.30.1 0 100 0 5022 6522 100 i
> *>i200.200.200.0 10.10.70.1 0 100 0 i
> * i 10.10.70.1 0 100 0 i
>
> Now, I want R4 to learn only those prefixes that originated in AS 254 from
> BB2.
>
> R4
> ++
> !
> router bgp 22
> neighbor 22.22.252.254 route-map FILTER in
> !
> route-map FILTER permit 10
> match as-path 90
> !
> ip as-path access-list 90 permit ^254$
> !
>
> But, I am not getting the desired result. Humm??
>
> -Yuri
>
>
>
> _________________________________________________________________
> Hotmail. has a new way to see what's up with your friends.
> http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutoria
> l_WhatsNew1_052009
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Sat May 09 2009 - 07:07:13 ART

This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:04:42 ART