Currently, I have BGP connection with multiple ISPs, each ISP will announce other ISPs' asn. My problem is that I don't want some asn.
Currently, I block like this, I will do this every time there is an unwanted asn.
rule="if (bgp-as-path XXXXX) {reject;}"
But what I want is, is there a Filter or something? To block in a single rule, but multiple asn.
(For example, blocking with address-list in firewall) Can filter in bgp do something like this? Like (asn-list) something like this.
I work in ISP (Internet Service Provider).
Sorry if my English is not good.

Thank you all for helping me this time.
