Struggling with AS path filters and prepend



OK... So after many days of struggling with this, its time to post.

I have customer behind my router that does BGP and uses "me" as a BGP
peer in addition to another carrier. Because he favor the carrier, on
my BGP session he prepends a few times.

I see his advertised routes, but my router is not advertising them out
to my BGP upstreams (XO, Abovenet). My upstreams filter on prefix, but
those filters have been updated to include the IPs that my customer
announces off their router. And all of this works fine when the
customer does not do the prepends.

Here are my BGP settings:

neighbor MY.DOWNSTREAM.CUST remote-as 33000
neighbor MY.DOWNSTREAM.CUST ebgp-multihop 5
neighbor MY.DOWNSTREAM.CUST update-source FastEthernet9/1
neighbor MY.DOWNSTREAM.CUST next-hop-self
neighbor MY.DOWNSTREAM.CUST send-community
neighbor MY.DOWNSTREAM.CUST soft-reconfiguration inbound
neighbor MY.DOWNSTREAM.CUST prefix-list AS33000-in in
neighbor MY.DOWNSTREAM.CUST prefix-list AS33000-out out
neighbor MY.DOWNSTREAM.CUST filter-list 1 out
neighbor MY.ABOVE.NET remote-as 6461
neighbor MY.ABOVE.NET ebgp-multihop 5
neighbor MY.ABOVE.NET update-source GigabitEthernet3/8
neighbor MY.ABOVE.NET next-hop-self
neighbor MY.ABOVE.NET send-community
neighbor MY.ABOVE.NET soft-reconfiguration inbound
neighbor MY.ABOVE.NET filter-list 1 in
neighbor MY.ABOVE.NET filter-list 15 out

And here are the ACLs:

ip as-path access-list 1 permit .*
ip as-path access-list 15 permit ^$
ip as-path access-list 15 permit ^(_33000)+$
ip as-path access-list 15 permit ^(33000_)+$
ip as-path access-list 15 permit 33000 33000 33000
ip as-path access-list 15 permit ^(17000_)+$

17000 is my ASN.

AS 33000 is my customer and they prepend, here is the output of a sh
ip bgp neighbor received-routes:

Network Next Hop Metric LocPrf Weight Path
* 100.100.242.0 5.5.49.194 0 33000 33000
33000 i
* 100.100.243.0 5.5.49.194 0 33000 33000
33000 i
* 100.100.244.0 5.5.49.194 0 33000 33000
33000 i
* 100.100.245.0 5.5.49.194 0 33000 33000
33000 i
* 100.100.252.0 5.5.49.194 0 33000 33000
33000 i
* 100.100.253.0 5.5.49.194 0 33000 33000
33000 i
* 100.100.254.0 5.5.49.194 0 33000 33000
33000 i
* 100.100.108.0 5.5.49.194 0 33000 33000
33000 i


The question is, are my problems due to filter syntax on the outbound
as-path filter, OR is my upstream preventing routes with prepends?


.



Relevant Pages

  • Cisco 6500/Sup720-3B and VRF MPLS VPN
    ... I have tested but the route into the vrf are not distribued .. ... BGP router identifier BB.BB.BB.198, local AS number 8487 ... neighbor MPBGP remote-as 8487 ... interface FastEthernet0/0 ...
    (comp.dcom.sys.cisco)
  • Re: BGP Loadsharing, What am I missing?
    ... BGP configs ) ... neighbor 4.4.66.254 update-source Loopback0 ... ip prefix-list provider1-out description advertised prefixes to ...
    (comp.dcom.sys.cisco)
  • How does BGP work?
    ... ISP, and BGP is is setup between the ISP and eash site: ... neighbor vvv.vvv.vvv.1 soft-reconfiguration inbound ... ip prefix-list se-src seq 11 permit zzz.zzz.zzz.96/27 ...
    (comp.dcom.sys.cisco)
  • How does BGP work?
    ... ISP, and BGP is is setup between the ISP and eash site: ... The problem I have is when I do a traceroute from the external router ... neighbor vvv.vvv.vvv.1 soft-reconfiguration inbound ...
    (comp.dcom.sys.cisco)
  • BGP prepending and local preference question
    ... preference and AS prepending will take care of this but BGP is not my ... network x.x.x.0 0.0.0.255 area 0 ... router bgp myasnumber ... neighbor b.b.b.b distribute-list ADVERTISE out ...
    (comp.dcom.sys.cisco)