OSPF export filter

viker viker at viker.cz
Thu Dec 3 07:55:31 CET 2015


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 ospf route for Cisco Nexus with next 
> config:
>
> router id 10.34.23.1;
>
>
> filter export_OSPF {
>         if net = 77.71.22.23/32 <http://77.71.22.23/32> then {
>                 ospf_metric1 = 20;
>                 ospf_metric2 = 20;
>                 print "net accepted:", net;
>                 accept;
>         }
>         if net = 77.71.22.24/32 <http://77.71.22.24/32> then {
>                 ospf_metric1 = 10;
>                 ospf_metric2 = 10;
>                 print "net accepted:", net;
>                 accept;
>         }
>         reject;
> }
>
> protocol ospf server1 {
>         export filter export_OSPF;
>         #debug all;
>         rfc1583compat yes;
>         tick 2;
>         area 0.0.0.0 {
>                 stub no;
>                 interface "bond0" {
>                         dead 10;
>                         neighbors {
>                                 10.0.16.1;
>                         };
>                         type pointopoint;
>                         authentication none;
>                 };
>                 interface "lo*" {
>                         stub yes;
>                         cost 10;
>                         priority 200;
>                 };
>                 interface "dummy0" {
>                         stub yes;
>                         cost 15;
>                         priority 100;
>                 };
>         };
> }
>
>
> 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?
>
> -- 
> Best regards,
> Anton Kiryushkin
>

-- 


S pozdravem Vilem Kebrt
email: viker at viker.cz
tel: +420 604 550 132



More information about the Bird-users mailing list