Multiple BGP in-filters

Hello all,

I’m wondering if it is possible to multiple “in-filter” on a BGP peer ?
I’d like to have a global filter for all my peers (filtering RFC1918 for instance) and more specific filter for each peer (setting local-pref or filtering prefixes from IRR).

Maintaining a load of routing filters when changing a parameter which is applicable for every peer is a pain :confused:

Thank you in advance.

this is possible. I would recoment to make a script, setting filter for your bgp… eg..

 if "as nr" bla bla bla set routing filter bla bla bla [as nr]

possible to do somethig like:

 "read peer as nr.. parse something to filter from this"

Thank you for the answer. I’m not sure I understand everything but it’s still a pointer. :slight_smile:

Well. answer is. yes. its possible to do it and have more than one “chain”. :smiley:

mark connection. packet or something. Make rulset based on AS nr.. Make one global, and one unit spesific. (unit spesific can be global made, by a script like the one i “wrote about” if based on AS nr.)