summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_aigp/r7
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_aigp/r7')
-rw-r--r--tests/topotests/bgp_aigp/r7/bgpd.conf22
-rw-r--r--tests/topotests/bgp_aigp/r7/zebra.conf9
2 files changed, 31 insertions, 0 deletions
diff --git a/tests/topotests/bgp_aigp/r7/bgpd.conf b/tests/topotests/bgp_aigp/r7/bgpd.conf
new file mode 100644
index 0000000..639dcfe
--- /dev/null
+++ b/tests/topotests/bgp_aigp/r7/bgpd.conf
@@ -0,0 +1,22 @@
+router bgp 65001
+ no bgp ebgp-requires-policy
+ no bgp network import-check
+ neighbor 192.168.67.6 remote-as internal
+ neighbor 192.168.67.6 timers 1 3
+ neighbor 192.168.67.6 timers connect 1
+ address-family ipv4
+ redistribute connected route-map rmap metric 71
+ exit-address-family
+!
+ip prefix-list p71 seq 5 permit 10.0.0.71/32
+ip prefix-list p72 seq 5 permit 10.0.0.72/32
+!
+route-map rmap permit 10
+ match ip address prefix-list p71
+ set aigp igp-metric
+!
+route-map rmap permit 20
+ match ip address prefix-list p72
+ set aigp 72
+exit
+!
diff --git a/tests/topotests/bgp_aigp/r7/zebra.conf b/tests/topotests/bgp_aigp/r7/zebra.conf
new file mode 100644
index 0000000..4c05df8
--- /dev/null
+++ b/tests/topotests/bgp_aigp/r7/zebra.conf
@@ -0,0 +1,9 @@
+!
+interface lo
+ ip address 10.0.0.7/32
+ ip address 10.0.0.71/32
+ ip address 10.0.0.72/32
+!
+interface r7-eth0
+ ip address 192.168.67.7/24
+!