diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-23 12:12:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-23 12:12:35 +0100 |
commit | f19b843e9e67a24384018a52859db62911bb2f0e (patch) | |
tree | 2552a531e11a7727b9cbd3de9d4ca7e2cf317779 /tests/topotests/bgp_evpn_rt5/r2/frr.conf | |
parent | Merge pull request #17904 from louis-6wind/fix-bfd-pg-update-group (diff) | |
parent | bgpd: fix static analyzer issues around bgp pointer (diff) | |
download | frr-f19b843e9e67a24384018a52859db62911bb2f0e.tar.xz frr-f19b843e9e67a24384018a52859db62911bb2f0e.zip |
Merge pull request #17652 from pguibert6WIND/topotest_bgp_evpn_rt5
bgpd, tests: bgp_evpn_rt5, add test with match evpn vni command
Diffstat (limited to 'tests/topotests/bgp_evpn_rt5/r2/frr.conf')
-rw-r--r-- | tests/topotests/bgp_evpn_rt5/r2/frr.conf | 65 |
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 + |