summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_remove_private_as/r4
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_remove_private_as/r4')
-rw-r--r--tests/topotests/bgp_remove_private_as/r4/bgpd.conf19
-rw-r--r--tests/topotests/bgp_remove_private_as/r4/zebra.conf10
2 files changed, 29 insertions, 0 deletions
diff --git a/tests/topotests/bgp_remove_private_as/r4/bgpd.conf b/tests/topotests/bgp_remove_private_as/r4/bgpd.conf
new file mode 100644
index 0000000..f480105
--- /dev/null
+++ b/tests/topotests/bgp_remove_private_as/r4/bgpd.conf
@@ -0,0 +1,19 @@
+router bgp 4444
+ bgp router-id 192.0.2.4
+ neighbor 203.0.113.9 remote-as 65002
+ neighbor 203.0.113.9 timers 3 10
+ neighbor 203.0.113.9 description r2
+ neighbor 203.0.113.11 remote-as 5555
+ neighbor 203.0.113.11 timers 3 10
+ neighbor 203.0.113.11 description r5
+!
+ address-family ipv4 unicast
+ neighbor 203.0.113.9 route-map permit-all in
+ neighbor 203.0.113.9 allowas-in 10
+ neighbor 203.0.113.9 soft-reconfiguration inbound
+ neighbor 203.0.113.11 route-map permit-all in
+ neighbor 203.0.113.11 allowas-in 10
+ neighbor 203.0.113.11 soft-reconfiguration inbound
+ exit-address-family
+!
+route-map permit-all permit 10
diff --git a/tests/topotests/bgp_remove_private_as/r4/zebra.conf b/tests/topotests/bgp_remove_private_as/r4/zebra.conf
new file mode 100644
index 0000000..4de3300
--- /dev/null
+++ b/tests/topotests/bgp_remove_private_as/r4/zebra.conf
@@ -0,0 +1,10 @@
+! to r2
+interface r4-eth0
+ ip address 203.0.113.8/31
+!
+! to r5
+interface r4-eth1
+ ip address 203.0.113.10/31
+!
+ip forwarding
+!