Okay a few items, 1st off the ISP that redistributing are not doing things correctly. You are being a transit.
2nd, YOU are not doing things correctly either ;)
What you can do
1: craft a route-map with distribution that allows just origination from your AS
or
2: set the prefixes to be advertise
config access-list
edit "export1"
config rule
edit 1
set prefix 192.10.1.0 255.255.255.0
set exact-match enable
next
edit 2
set action deny
end
{bgp neighors }
config neighbor
edit x.x.x.x
set remote-as 7701
set distribute-list-out "export1"
next
That would be one way to quickly drop and filter all routes. Just add more rules b4 your deny if you have multiple prefixes.
A route-map and prefixlist can be used also;
config router prefix-list
edit "outprefixes"
config rule
edit 1
set prefix 172.9.1.0/240
unset ge
unset le
next
end
next
end
# add more rules for each prefix you want to send
config router route-map
edit "myexporte"
config rule
edit 1
set match-ip-address "outprefixes""
next
end
next
end
Just defined the route-map per under each BGP neighbor
config neighbor edit x.x.x.x set remote-as 7701 set route-map-out "myexporte" next
edit y.y.y.y set remote-as 7701 set route-map-out "myexporte" next end
using a route map you can do many other items like set tags and control routes that way also. I personally like to tag inbound routes with the ISP ASN and then set a single filter that says if tag match blahblahblah drop.
50/50 ymmv but play around with either of the two examples to get a control on your BGP advertises. Your ISP should be doing this by default and dropping advertisements from that other ISP-ASN but than again a lot of ISP do not do a good job with route-control and this is how google prefixes where just recently hack 1/2 weeks ago ;(
Ken Felix