IGP Metric to MED

Ondrej Zajicek santiago at crfreenet.org
Fri Mar 22 20:53:11 CET 2019


On Fri, Mar 22, 2019 at 12:54:57PM -0500, Corban Johnson wrote:
> Hello,
> I am trying to set MED on a BGP route using the metric value from OSPF, but the attributes of the next-hop route do not seem to be available in filter evolution. Am I missing something?
> 
> The problem seems to be that filters may only access attributes of the
> route currently processed, and the 'gateway recursive’ channel directive
> only calculates next-hop without passing any route attributes of that
> next-hop through.

Hello

Yes, that is true, the value is even stored with the route, it is just
not accessible from filters. If you want, i can send you patch to fix
that.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."



More information about the Bird-users mailing list