OSPF export filter
Anton Kiryushkin
swood at fotofor.biz
Thu Dec 3 01:50:54 CET 2015
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;
accept;
}
if net = 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20151203/88d2f4a9/attachment.html>
More information about the Bird-users
mailing list