Re: OSPF export filter

2015-12-05 Thread Ondrej Zajicek
On Sat, Dec 05, 2015 at 04:40:06PM +0100, Ondrej Zajicek wrote: > On Thu, Dec 03, 2015 at 03:50:54AM +0300, Anton Kiryushkin wrote: > > 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. > > Could y

Re: OSPF export filter

2015-12-05 Thread Ondrej Zajicek
On Thu, Dec 03, 2015 at 03:50:54AM +0300, Anton Kiryushkin wrote: > 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. > Could you help me with export filter? Hi First, to export some route as an ex

Re: OSPF export filter

2015-12-03 Thread Anton Kiryushkin
Hello. 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? ( 2015-12-03 18:51 GMT+03:00 viker : > What show You birdc show ospf nei ? Does Your router even have adjacency > connected ? > Viker > > > On 12/03/2015 04:28 PM

Re: OSPF export filter

2015-12-03 Thread viker
What show You birdc show ospf nei ? Does Your router even have adjacency connected ? Viker On 12/03/2015 04:28 PM, Anton Kiryushkin wrote: Hello. Yes, I tried it. birdc show route export server1 showed me nothing. But 'show ospf state' showed me both ips with metric 0. 2015-12-03 9:55 G

Re: OSPF export filter

2015-12-03 Thread Anton Kiryushkin
Hello. Yes, I tried it. birdc show route export server1 showed me nothing. But 'show ospf state' showed me both ips with metric 0. 2015-12-03 9:55 GMT+03:00 viker : > Hello, > concretely "birdc show route export server1" show what ? > Another good hint could be "birdc show ospf state", where y

Re: OSPF export filter

2015-12-02 Thread viker
Hello, concretely "birdc show route export server1" show what ? Another good hint could be "birdc show ospf state", where you can see ospf informations about whole infrastructure which ospf knows. Vilem On 12/03/2015 01:50 AM, Anton Kiryushkin wrote: Hello. I trying to use bird for export osp

OSPF export filter

2015-12-02 Thread Anton Kiryushkin
Hello. I trying to use bird for export ospf route for Cisco Nexus with next config: router id 10.34.23.1; filter export_OSPF { if net = 77.71.22.23/32 then { ospf_metric1 = 20; ospf_metric2 = 20; print "net accepted:", net;