]> git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/ospf_metric_propagation/r4/frr.conf
Merge pull request #13455 from sri-mohan1/srib-ldpd
[mirror_frr.git] / tests / topotests / ospf_metric_propagation / r4 / frr.conf
1 !
2 hostname r4
3 password zebra
4 log file /tmp/r4-frr.log
5 ip forwarding
6 !
7 interface r4-eth0
8 ip address 10.0.3.4/24
9 ip ospf cost 100
10 ip ospf hello-interval 1
11 ip ospf dead-interval 30
12 !
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
17 !
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
22 !
23 router ospf
24 ospf router-id 10.0.255.4
25 distance 20
26 redistribute bgp route-map costplus
27 network 10.0.3.0/24 area 0
28 !
29 router ospf vrf blue
30 ospf router-id 10.0.255.4
31 distance 20
32 redistribute bgp route-map costplus
33 network 10.0.40.0/24 area 0
34 !
35 router ospf vrf green
36 ospf router-id 10.0.255.1
37 distance 20
38 redistribute bgp route-map costplus
39 network 10.0.94.0/24 area 0
40 !
41 router bgp 99
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
47 import vrf blue
48 import vrf green
49 !
50 !
51 router bgp 99 vrf blue
52 no bgp ebgp-requires-policy
53 address-family ipv4 unicast
54 redistribute connected
55 redistribute ospf
56 import vrf route-map rmap
57 import vrf default
58 import vrf green
59 !
60 router bgp 99 vrf green
61 no bgp ebgp-requires-policy
62 address-family ipv4 unicast
63 redistribute connected
64 redistribute ospf
65 import vrf route-map rmap
66 import vrf default
67 import vrf blue
68 !
69 !
70 route-map rmap permit 10
71 set metric-type type-1
72 set metric +1
73 exit
74 !
75 route-map costplus permit 1
76 set metric-type type-1
77 set metric +1
78 exit