summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_default_route_route_map_set/r1/bgpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_default_route_route_map_set/r1/bgpd.conf')
-rw-r--r--tests/topotests/bgp_default_route_route_map_set/r1/bgpd.conf23
1 files changed, 14 insertions, 9 deletions
diff --git a/tests/topotests/bgp_default_route_route_map_set/r1/bgpd.conf b/tests/topotests/bgp_default_route_route_map_set/r1/bgpd.conf
index 6f6d394..c442e06 100644
--- a/tests/topotests/bgp_default_route_route_map_set/r1/bgpd.conf
+++ b/tests/topotests/bgp_default_route_route_map_set/r1/bgpd.conf
@@ -1,12 +1,17 @@
-router bgp 65000
- no bgp ebgp-requires-policy
- neighbor 192.168.255.2 remote-as 65001
- neighbor 192.168.255.2 timers 3 10
- address-family ipv4 unicast
- neighbor 192.168.255.2 default-originate route-map default
- exit-address-family
+router bgp 65001
+ no bgp ebgp-requires-policy
+ neighbor 192.168.255.2 remote-as external
+ neighbor 192.168.255.2 timers 3 10
+ neighbor PG peer-group
+ neighbor PG remote-as external
+ neighbor PG timers 3 10
+ bgp listen range 192.168.255.0/24 peer-group PG
+ address-family ipv4 unicast
+ neighbor PG default-originate route-map default
+ neighbor 192.168.255.2 default-originate route-map default
+ exit-address-family
!
route-map default permit 10
- set metric 123
- set as-path prepend 65000 65000 65000
+ set metric 123
+ set as-path prepend 65001 65001 65001
!