summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_blackhole_community/r1/bgpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_blackhole_community/r1/bgpd.conf')
-rw-r--r--tests/topotests/bgp_blackhole_community/r1/bgpd.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/topotests/bgp_blackhole_community/r1/bgpd.conf b/tests/topotests/bgp_blackhole_community/r1/bgpd.conf
new file mode 100644
index 0000000000..be86bd6b2c
--- /dev/null
+++ b/tests/topotests/bgp_blackhole_community/r1/bgpd.conf
@@ -0,0 +1,13 @@
+!
+router bgp 65001
+ no bgp ebgp-requires-policy
+ neighbor r1-eth0 interface remote-as external
+ address-family ipv4 unicast
+ redistribute connected
+ neighbor r1-eth0 route-map r2 out
+ exit-address-family
+ !
+!
+route-map r2 permit 10
+ set community blackhole
+!