summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_snmp_bgp4v2mib/rr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_snmp_bgp4v2mib/rr')
-rw-r--r--tests/topotests/bgp_snmp_bgp4v2mib/rr/bgpd.conf67
-rw-r--r--tests/topotests/bgp_snmp_bgp4v2mib/rr/zebra.conf5
2 files changed, 72 insertions, 0 deletions
diff --git a/tests/topotests/bgp_snmp_bgp4v2mib/rr/bgpd.conf b/tests/topotests/bgp_snmp_bgp4v2mib/rr/bgpd.conf
new file mode 100644
index 0000000..5ebbde6
--- /dev/null
+++ b/tests/topotests/bgp_snmp_bgp4v2mib/rr/bgpd.conf
@@ -0,0 +1,67 @@
+!
+! debug bgp updates
+!
+router bgp 65004
+ no bgp ebgp-requires-policy
+ no bgp network import-check
+ no bgp default ipv4-unicast
+ neighbor 192.168.12.1 remote-as external
+ neighbor 192.168.12.1 timers 1 3
+ neighbor 192.168.12.1 timers connect 1
+ neighbor 192.168.12.2 remote-as external
+ neighbor 192.168.12.2 timers 1 3
+ neighbor 192.168.12.2 timers connect 1
+ neighbor 192.168.12.3 remote-as external
+ neighbor 192.168.12.3 timers 1 3
+ neighbor 192.168.12.3 timers connect 1
+ neighbor 2001:db8::12:1 remote-as external
+ neighbor 2001:db8::12:1 timers 1 3
+ neighbor 2001:db8::12:1 timers connect 1
+ neighbor 2001:db8::12:2 remote-as external
+ neighbor 2001:db8::12:2 timers 1 3
+ neighbor 2001:db8::12:2 timers connect 1
+ neighbor 2001:db8::12:3 remote-as external
+ neighbor 2001:db8::12:3 timers 1 3
+ neighbor 2001:db8::12:3 timers connect 1
+ !
+ address-family ipv4 unicast
+ network 10.0.0.0/31 route-map p1
+ network 10.0.0.2/32 route-map p2
+ neighbor 192.168.12.1 activate
+ neighbor 192.168.12.2 activate
+ neighbor 192.168.12.2 addpath-tx-all-paths
+ neighbor 192.168.12.2 route-map r2-import in
+ neighbor 192.168.12.2 route-map r2-export out
+! neighbor 192.168.12.2 soft-reconfiguration inbound
+ neighbor 192.168.12.3 activate
+ exit-address-family
+ address-family ipv6 unicast
+ network 2001:db8::1/128 route-map p1
+ network 2001:db8:1::/56 route-map p2
+ neighbor 2001:db8::12:1 activate
+ neighbor 2001:db8::12:2 activate
+ neighbor 2001:db8::12:2 addpath-tx-all-paths
+ neighbor 2001:db8::12:3 activate
+ exit-address-family
+
+
+ip prefix-list r2-toto permit any
+
+route-map r2-import permit 10
+ match ip address prefix-list r2-toto
+
+route-map r2-export permit 10
+ match ip address prefix-list r2-toto
+!
+route-map p1 permit 10
+ set metric 1
+exit
+route-map p2 permit 10
+ set metric 2
+ set origin incomplete
+exit
+
+
+
+agentx
+!
diff --git a/tests/topotests/bgp_snmp_bgp4v2mib/rr/zebra.conf b/tests/topotests/bgp_snmp_bgp4v2mib/rr/zebra.conf
new file mode 100644
index 0000000..092673b
--- /dev/null
+++ b/tests/topotests/bgp_snmp_bgp4v2mib/rr/zebra.conf
@@ -0,0 +1,5 @@
+!
+interface rr-eth0
+ ip address 192.168.12.4/24
+ ipv6 address 2001:db8::12:4/64
+!