20 Sep
2019
20 Sep
'19
1:09 p.m.
Hello all, I’m writing this email because i was trying to create an input filter for my daemon. Protocol: BGP I would like to evaluate an input path and change the bgp preference if the path correspond to a certain path. I configured a default bgp_local_pref with the command: default bgp_local_pref 1; And in the input filter I wrote a code like: If bgp_path ~ [= * 1 2 3 =] then { bgp_local_pref = 100; } But this doesn’t seems to do the expected work, if the path finish with 1 2 3 no matter how much it is long I would like to prefer it over other paths. If anyone can suggest me how to handle it thanks, Mattia