summaryrefslogtreecommitdiffstats
path: root/tests/topotests/zebra_opaque/r2/bgpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/zebra_opaque/r2/bgpd.conf')
-rw-r--r--tests/topotests/zebra_opaque/r2/bgpd.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/topotests/zebra_opaque/r2/bgpd.conf b/tests/topotests/zebra_opaque/r2/bgpd.conf
new file mode 100644
index 0000000..ec47605
--- /dev/null
+++ b/tests/topotests/zebra_opaque/r2/bgpd.conf
@@ -0,0 +1,15 @@
+!
+bgp send-extra-data zebra
+!
+router bgp 65002
+ no bgp ebgp-requires-policy
+ neighbor 192.168.1.1 remote-as external
+ address-family ipv4 unicast
+ redistribute connected
+ neighbor 192.168.1.1 route-map r1 out
+ exit-address-family
+!
+route-map r1 permit 10
+ set community 65002:1 65002:2
+ set large-community 65002:1:1 65002:2:1
+!