Hello!

Currently not supported. Is simple exact match enough for your purposes? This may be simply added to the filter language.

Maria

On April 8, 2020 6:47:49 PM GMT+02:00, Michael Rack <mail@michaelrack.de> wrote:
Hi Guys,

if i am in the EXPORT-Routine, how can i access the "protocol-name" of that instance that is currently using my function?

If I rely on "proto" I get the protocol-name where the route comes from. That is not what I want.

protocol bgp 'peer-neo' {
      ipv4 { export filter filter_common_ipv4_out; };

filter  filter_common_ipv4_out() {
      if  proto  = 'peer-neo' then .....;
}

How can I match for 'peer-neo' ?

Thank you.
Michael.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.