<div dir="ltr">Hello.<div><br></div><div>I trying to use bird for export ospf route for Cisco Nexus with next config:</div><div><br></div><div><div>
<p class=""><span class="">router id 10.34.23.1;</span></p></div><div><br></div><div>filter export_OSPF {</div><div> if net = <a href="http://77.71.22.23/32">77.71.22.23/32</a> then {</div><div> ospf_metric1 = 20;</div><div> ospf_metric2 = 20;</div><div> print "net accepted:", net;</div><div> accept;</div><div> }</div><div> if net = <a href="http://77.71.22.24/32">77.71.22.24/32</a> then {</div><div> ospf_metric1 = 10;</div><div> ospf_metric2 = 10;</div><div> print "net accepted:", net;</div><div> accept;</div><div> }</div><div> reject;</div><div>}</div><div><br></div><div>protocol ospf server1 {</div><div> export filter export_OSPF;</div><div> #debug all;</div><div> rfc1583compat yes;</div><div> tick 2;</div><div> area 0.0.0.0 {</div><div> stub no;</div><div> interface "bond0" {</div><div> dead 10;</div><div> neighbors {</div><div> 10.0.16.1;</div><div> };</div><div> type pointopoint;</div><div> authentication none;</div><div> };</div><div> interface "lo*" {</div><div> stub yes;</div><div> cost 10;</div><div> priority 200;</div><div> };</div><div> interface "dummy0" {</div><div> stub yes;</div><div> cost 15;</div><div> priority 100;</div><div> };</div><div> };</div><div>}</div><div><br></div><div><br></div><div>But in birdc I didn't see any metrics. I have two server with same config and same addresses on interfaces lo and dummy0 with different priorities.</div><div>Could you help me with export filter?</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Best regards,</div>Anton Kiryushkin<br><br></div></div></div>
</div></div>