4 log file /tmp/r4-frr.log
10 ip ospf hello-interval 1
11 ip ospf dead-interval 30
13 interface r4-eth1 vrf blue
14 ip address 10.0.40.4/24
15 ip ospf hello-interval 1
16 ip ospf dead-interval 30
18 interface r4-eth2 vrf green
19 ip address 10.0.94.4/24
20 ip ospf hello-interval 1
21 ip ospf dead-interval 30
24 ospf router-id 10.0.255.4
26 redistribute bgp route-map costplus
27 network 10.0.3.0/24 area 0
30 ospf router-id 10.0.255.4
32 redistribute bgp route-map costplus
33 network 10.0.40.0/24 area 0
36 ospf router-id 10.0.255.1
38 redistribute bgp route-map costplus
39 network 10.0.94.0/24 area 0
42 no bgp ebgp-requires-policy
43 address-family ipv4 unicast
44 redistribute connected
45 redistribute ospf route-map costplus
46 import vrf route-map rmap
51 router bgp 99 vrf blue
52 no bgp ebgp-requires-policy
53 address-family ipv4 unicast
54 redistribute connected
56 import vrf route-map rmap
60 router bgp 99 vrf green
61 no bgp ebgp-requires-policy
62 address-family ipv4 unicast
63 redistribute connected
65 import vrf route-map rmap
70 route-map rmap permit 10
71 set metric-type type-1
75 route-map costplus permit 1
76 set metric-type type-1