ospf + routing tag

i’m trying to combine ospf with policy routing. i’m willing to set different distance setting for the same prefix that is received via different ospf neighbors.

i’m trying to set routing tags/marks/comments via ospf-in and ospf=out filter under routing filters but i can not forward routing tags together with ospf route updates.

any ideas appreciated

As far as I remember, routing-tags are significant only to the local router, and are non-transitive.
What you are trying to do, is actually more a job for BGP, that has communities where that sort can be manipulated much easier.