<div dir="ltr">Hello.<div><br></div><div>Yes, sure. On Cisco nexus I see both servers. On each of servers I see router and another server. But I don't see metric. Why? (</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-03 18:51 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">What show You birdc show ospf nei ? Does Your router even have adjacency connected ?<br>
Viker<span class=""><br>
<br>
<br>
On 12/03/2015 04:28 PM, 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>
Yes, I tried it.<br>
<br>
birdc show route export server1<br>
<br>
showed me nothing. But 'show ospf state' showed me both ips with metric 0.<br>
<br>
<br></span>
2015-12-03 9:55 GMT+03:00 viker <<a href="mailto:viker@viker.cz" target="_blank">viker@viker.cz</a> <mailto:<a href="mailto:viker@viker.cz" target="_blank">viker@viker.cz</a>>>:<div><div class="h5"><br>
<br>
    Hello,<br>
    concretely "birdc show route export server1" show what ?<br>
    Another good hint could be "birdc show ospf state", where you can<br>
    see ospf informations about whole infrastructure which ospf knows.<br>
    Vilem<br>
<br>
    On 12/03/2015 01:50 AM, Anton Kiryushkin wrote:<br>
<br>
        Hello.<br>
<br>
        I trying to use bird for export ospf route for Cisco Nexus<br>
        with next config:<br>
<br>
        router id 10.34.23.1;<br>
<br>
<br>
        filter export_OSPF {<br>
                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>><br>
        <<a href="http://77.71.22.23/32" rel="noreferrer" target="_blank">http://77.71.22.23/32</a>> then {<br>
                        ospf_metric1 = 20;<br>
                        ospf_metric2 = 20;<br>
                        print "net accepted:", net;<br>
                        accept;<br>
                }<br>
                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>><br>
        <<a href="http://77.71.22.24/32" rel="noreferrer" target="_blank">http://77.71.22.24/32</a>> then {<br>
<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<br>
        same config and same addresses on interfaces lo and dummy0<br>
        with different priorities.<br>
        Could you help me with export filter?<br>
<br>
        --         Best regards,<br>
        Anton Kiryushkin<br>
<br>
<br>
    -- <br>
<br>
    S pozdravem Vilem Kebrt<br></div></div>
    email: <a href="mailto:viker@viker.cz" target="_blank">viker@viker.cz</a> <mailto:<a href="mailto:viker@viker.cz" target="_blank">viker@viker.cz</a>><span class=""><br>
    tel: +420 604 550 132<br>
<br>
<br>
<br>
<br>
-- <br>
Best regards,<br>
Anton Kiryushkin<br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<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>
</div></div></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>