import OSPF external routes

Roman Romanyak roman.romanyak at gmail.com
Mon Jun 13 22:05:50 CEST 2016


Hello bird users,

I ran into the issue with importing OSPF external route. Maybe someone can
point me in the right direction.

This is the OSPF filter:
filter OSPF_IN {
        if source = RTS_OSPF then accept;
#        reject;
        accept;
}


And this is a route in question - a loopback interface of another
 router/OSPF neighbor:
bird> show route for 10.120.0.55 all
10.120.0.55/32     via x.x.x.x on bond1 [EDGE_OSPF 19:49:20] * E1 (150/10)
[10.2.55.2]
Type: OSPF-E1 unicast univ
OSPF.metric1: 10
OSPF.metric2: 16777215
OSPF.tag: 0x00000000
OSPF.router_id: 10.2.55.2
bird>

bird> show ospf state
router 10.2.55.1
distance 10
...[some output is omitted ]
external 10.120.0.55/32 metric 0


When I replace 'accept' with 'reject' in the filter, I'm not able to see
10.120.0.55/32 route in the FIB.


Thanks,
Roman.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160613/46a0c66e/attachment.html>


More information about the Bird-users mailing list