summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_evpn_rt5/r2/frr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_evpn_rt5/r2/frr.conf')
-rw-r--r--tests/topotests/bgp_evpn_rt5/r2/frr.conf65
1 files changed, 65 insertions, 0 deletions
diff --git a/tests/topotests/bgp_evpn_rt5/r2/frr.conf b/tests/topotests/bgp_evpn_rt5/r2/frr.conf
new file mode 100644
index 000000000..0bb4b7cab
--- /dev/null
+++ b/tests/topotests/bgp_evpn_rt5/r2/frr.conf
@@ -0,0 +1,65 @@
+! debug zebra vxlan
+! debug bgp neighbor-events
+! debug bgp updates
+! debug bgp zebra
+
+vrf r2-vrf-101
+ vni 101
+ exit-vrf
+!
+interface loop101 vrf r2-vrf-101
+ ip address 192.168.101.41/32
+ ipv6 address fd00::2/128
+!
+interface r2-eth0
+ ip address 192.168.100.41/24
+!
+router bgp 65000
+ bgp router-id 192.168.100.41
+ bgp log-neighbor-changes
+ no bgp default ipv4-unicast
+ neighbor 192.168.100.21 peer-group
+ neighbor 192.168.100.21 remote-as 65000
+ neighbor 192.168.100.21 capability extended-nexthop
+ !
+ address-family l2vpn evpn
+ neighbor 192.168.100.21 activate
+ advertise-all-vni
+ exit-address-family
+!
+router bgp 65000 vrf r2-vrf-101
+ bgp router-id 192.168.101.41
+ bgp log-neighbor-changes
+ no bgp network import-check
+ address-family ipv4 unicast
+ network 192.168.101.41/32
+ network 192.168.102.41/32
+ exit-address-family
+ address-family ipv6 unicast
+ network fd00::2/128
+ network fd00::3/128
+ exit-address-family
+ address-family l2vpn evpn
+ rd 65000:201
+ route-target both 65:101
+ advertise ipv4 unicast route-map rmap4
+ advertise ipv6 unicast route-map rmap6
+ exit-address-family
+ !
+access-list acl4_1 seq 10 permit 192.168.101.41/32
+access-list acl4_2 seq 10 permit 192.168.102.41/32
+ipv6 access-list acl6_1 seq 10 permit fd00::2/128
+ipv6 access-list acl6_2 seq 10 permit fd00::3/128
+route-map rmap4 permit 1
+ match ip address acl4_1
+exit
+route-map rmap4 deny 2
+ match ip address acl4_2
+exit
+route-map rmap6 permit 1
+ match ipv6 address acl6_1
+exit
+route-map rmap6 deny 2
+ match ipv6 address acl6_2
+exit
+