summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_oad/r1/frr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_oad/r1/frr.conf')
-rw-r--r--tests/topotests/bgp_oad/r1/frr.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/topotests/bgp_oad/r1/frr.conf b/tests/topotests/bgp_oad/r1/frr.conf
new file mode 100644
index 0000000..39045ba
--- /dev/null
+++ b/tests/topotests/bgp_oad/r1/frr.conf
@@ -0,0 +1,21 @@
+!
+int r1-eth0
+ ip address 192.168.1.1/24
+!
+router bgp 65001
+ no bgp ebgp-requires-policy
+ neighbor 192.168.1.2 remote-as external
+ neighbor 192.168.1.2 timers 1 3
+ neighbor 192.168.1.2 timers connect 1
+ neighbor 192.168.1.2 oad
+ neighbor 192.168.1.4 remote-as external
+ neighbor 192.168.1.4 timers 1 3
+ neighbor 192.168.1.4 timers connect 1
+ address-family ipv4 unicast
+ neighbor 192.168.1.4 route-map r4 in
+ exit-address-family
+!
+route-map r4 permit 10
+ set local-preference 123
+ set metric 123
+exit