<div dir="ltr">Hello.<div><br></div><div>Yes, I tried it.</div><div>
<p class=""><span class="">birdc show route export server1 </span></p><p class=""><span class="">showed me nothing. But 'show ospf state' showed me both ips with metric 0. </span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-03 9:55 GMT+03:00 viker <span dir="ltr"><<a href="mailto:viker@viker.cz" target="_blank">viker@viker.cz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
concretely "birdc show route export server1" show what ?<br>
Another good hint could be "birdc show ospf state", where you can see ospf informations about whole infrastructure which ospf knows.<br>
Vilem<span class=""><br>
<br>
On 12/03/2015 01:50 AM, Anton Kiryushkin wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hello.<br>
<br>
I trying to use bird for export ospf route for Cisco Nexus with next config:<br>
<br>
router id 10.34.23.1;<br>
<br>
<br>
filter export_OSPF {<br></span>
if net = <a href="http://77.71.22.23/32" rel="noreferrer" target="_blank">77.71.22.23/32</a> <<a href="http://77.71.22.23/32" rel="noreferrer" target="_blank">http://77.71.22.23/32</a>> then {<span class=""><br>
ospf_metric1 = 20;<br>
ospf_metric2 = 20;<br>
print "net accepted:", net;<br>
accept;<br>
}<br></span>
if net = <a href="http://77.71.22.24/32" rel="noreferrer" target="_blank">77.71.22.24/32</a> <<a href="http://77.71.22.24/32" rel="noreferrer" target="_blank">http://77.71.22.24/32</a>> then {<div><div class="h5"><br>
ospf_metric1 = 10;<br>
ospf_metric2 = 10;<br>
print "net accepted:", net;<br>
accept;<br>
}<br>
reject;<br>
}<br>
<br>
protocol ospf server1 {<br>
export filter export_OSPF;<br>
#debug all;<br>
rfc1583compat yes;<br>
tick 2;<br>
area 0.0.0.0 {<br>
stub no;<br>
interface "bond0" {<br>
dead 10;<br>
neighbors {<br>
10.0.16.1;<br>
};<br>
type pointopoint;<br>
authentication none;<br>
};<br>
interface "lo*" {<br>
stub yes;<br>
cost 10;<br>
priority 200;<br>
};<br>
interface "dummy0" {<br>
stub yes;<br>
cost 15;<br>
priority 100;<br>
};<br>
};<br>
}<br>
<br>
<br>
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.<br>
Could you help me with export filter?<br>
<br>
-- <br>
Best regards,<br>
Anton Kiryushkin<br>
<br>
</div></div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
<br>
<br>
S pozdravem Vilem Kebrt<br>
email: <a href="mailto:viker@viker.cz" target="_blank">viker@viker.cz</a><br>
tel: +420 604 550 132<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Best regards,</div>Anton Kiryushkin<br><br></div></div></div>
</div>