summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_l3vpn_hidden/ce1/frr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_l3vpn_hidden/ce1/frr.conf')
-rw-r--r--tests/topotests/bgp_l3vpn_hidden/ce1/frr.conf52
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/topotests/bgp_l3vpn_hidden/ce1/frr.conf b/tests/topotests/bgp_l3vpn_hidden/ce1/frr.conf
new file mode 100644
index 0000000000..95d84d5e6b
--- /dev/null
+++ b/tests/topotests/bgp_l3vpn_hidden/ce1/frr.conf
@@ -0,0 +1,52 @@
+debug bgp neighbor-events
+!
+ip prefix-list PLIST-LAN seq 10 permit 172.20.0.0/16 le 24
+!
+ipv6 prefix-list PLIST-LAN6 seq 10 permit 2001:db8::/32 le 64
+!
+route-map RMAP-LAN permit 10
+ match ip address prefix-list PLIST-LAN
+exit
+!
+route-map RMAP-LAN6 permit 10
+ match ipv6 address prefix-list PLIST-LAN6
+exit
+!
+interface eth-lan
+ ip address 172.20.1.1/24
+ ipv6 address 2001:db8:1::ff/64
+exit
+!
+interface eth-pe1
+ ip address 172.16.1.254/24
+ ipv6 address 3fff:1::ff/64
+exit
+!
+router bgp 65501
+ bgp router-id 172.16.1.254
+ no bgp ebgp-requires-policy
+ bgp bestpath compare-routerid
+ neighbor 172.16.1.1 remote-as external
+ neighbor 172.16.1.1 bfd profile BGP
+ neighbor 3fff:1::1 remote-as external
+ neighbor 3fff:1::1 bfd profile BGP
+ !
+ address-family ipv4 unicast
+ redistribute connected route-map RMAP-LAN
+ neighbor 172.16.1.1 next-hop-self
+ no neighbor 3fff:1::1 activate
+ exit-address-family
+!
+ address-family ipv6 unicast
+ redistribute connected route-map RMAP-LAN6
+ neighbor 3fff:1::1 activate
+ neighbor 3fff:1::1 next-hop-self
+ exit-address-family
+exit
+bfd
+ profile BGP
+ transmit-interval 2000
+ receive-interval 2000
+ exit
+ !
+exit