summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_aigp/r6/bgpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_aigp/r6/bgpd.conf')
-rw-r--r--tests/topotests/bgp_aigp/r6/bgpd.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/topotests/bgp_aigp/r6/bgpd.conf b/tests/topotests/bgp_aigp/r6/bgpd.conf
index 2faae772..2d5f7a89 100644
--- a/tests/topotests/bgp_aigp/r6/bgpd.conf
+++ b/tests/topotests/bgp_aigp/r6/bgpd.conf
@@ -1,6 +1,7 @@
router bgp 65001
no bgp ebgp-requires-policy
no bgp network import-check
+ bgp route-reflector allow-outbound-policy
neighbor 10.0.0.4 remote-as internal
neighbor 10.0.0.4 timers 1 3
neighbor 10.0.0.4 timers connect 1
@@ -15,6 +16,11 @@ router bgp 65001
neighbor 192.168.67.7 timers 1 3
neighbor 192.168.67.7 timers connect 1
address-family ipv4
- redistribute ospf
+ neighbor 10.0.0.4 route-map set-nexthop out
+ neighbor 10.0.0.5 route-map set-nexthop out
exit-address-family
!
+route-map set-nexthop permit 10
+ set ip next-hop peer-address
+exit
+!