diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:53:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:53:30 +0000 |
commit | 2c7cac91ed6e7db0f6937923d2b57f97dbdbc337 (patch) | |
tree | c05dc0f8e6aa3accc84e3e5cffc933ed94941383 /tests/topotests/bgp_l3vpn_to_bgp_vrf/r4 | |
parent | Initial commit. (diff) | |
download | frr-2c7cac91ed6e7db0f6937923d2b57f97dbdbc337.tar.xz frr-2c7cac91ed6e7db0f6937923d2b57f97dbdbc337.zip |
Adding upstream version 8.4.4.upstream/8.4.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/topotests/bgp_l3vpn_to_bgp_vrf/r4')
-rw-r--r-- | tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/bgpd.conf | 72 | ||||
-rw-r--r-- | tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/ldpd.conf | 24 | ||||
-rw-r--r-- | tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/ospfd.conf | 12 | ||||
-rw-r--r-- | tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/zebra.conf | 28 |
4 files changed, 136 insertions, 0 deletions
diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/bgpd.conf b/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/bgpd.conf new file mode 100644 index 0000000..ca9e627 --- /dev/null +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/bgpd.conf @@ -0,0 +1,72 @@ +frr defaults traditional + +hostname r4 +password zebra +log stdout notifications +log commands +log file bgpd.log debug + +#debug bgp vpn label +#debug bgp nht +#debug bgp zebra + +router bgp 5226 + bgp router-id 4.4.4.4 + bgp cluster-id 4.4.4.4 + no bgp ebgp-requires-policy + neighbor 2.2.2.2 remote-as 5226 + neighbor 2.2.2.2 update-source 4.4.4.4 + neighbor 2.2.2.2 timers 3 10 + + address-family ipv4 unicast + no neighbor 2.2.2.2 activate + exit-address-family + + address-family ipv4 vpn + neighbor 2.2.2.2 activate + exit-address-family + +router bgp 5227 vrf r4-cust1 + + bgp router-id 192.168.1.1 + no bgp ebgp-requires-policy + + neighbor 192.168.1.2 remote-as 5227 + neighbor 192.168.1.2 update-source 192.168.1.1 + neighbor 192.168.1.2 timers 3 10 + + address-family ipv4 unicast + neighbor 192.168.1.2 activate + neighbor 192.168.1.2 next-hop-self + + label vpn export 1041 + rd vpn export 10:41 + rt vpn both 52:100 + + import vpn + export vpn + exit-address-family + +router bgp 5228 vrf r4-cust2 + + bgp router-id 192.168.2.1 + no bgp ebgp-requires-policy + + neighbor 192.168.2.2 remote-as 5228 + neighbor 192.168.2.2 update-source 192.168.2.1 + neighbor 192.168.2.2 timers 3 10 + + address-family ipv4 unicast + neighbor 192.168.2.2 activate + neighbor 192.168.2.2 next-hop-self + + label vpn export 1042 + rd vpn export 10:42 + # note RT same as r4-cust1 for inter-vrf route leaking + rt vpn both 52:100 + + import vpn + export vpn + exit-address-family + +end diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/ldpd.conf b/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/ldpd.conf new file mode 100644 index 0000000..617d3a7 --- /dev/null +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/ldpd.conf @@ -0,0 +1,24 @@ +hostname r4 +password zebra +log file ldpd.log +! +! debug mpls ldp zebra +! debug mpls ldp event +! debug mpls ldp errors +! debug mpls ldp messages recv +! debug mpls ldp messages sent +! debug mpls ldp discovery hello recv +! debug mpls ldp discovery hello sent +! +mpls ldp + router-id 4.4.4.4 + ! + address-family ipv4 + discovery transport-address 4.4.4.4 + ! + interface r4-eth0 + ! + ! +! +line vty +! diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/ospfd.conf b/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/ospfd.conf new file mode 100644 index 0000000..89e37df --- /dev/null +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/ospfd.conf @@ -0,0 +1,12 @@ +hostname r4 +log file ospfd.log +! +router ospf + router-id 4.4.4.4 + network 0.0.0.0/4 area 0 + redistribute static +! +int r4-eth0 + ip ospf hello-interval 2 + ip ospf dead-interval 10 +! diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/zebra.conf b/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/zebra.conf new file mode 100644 index 0000000..4f01a27 --- /dev/null +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/zebra.conf @@ -0,0 +1,28 @@ +log file zebra.log + +hostname r4 +password zebra +! +interface lo + ip address 4.4.4.4/32 +! +interface r4-eth0 + description to sw1 + ip address 10.0.2.4/24 + no link-detect +! +interface r4-eth4 + description to ce3 + ip address 192.168.1.1/24 + no link-detect +! +interface r4-eth5 + description to ce4 + ip address 192.168.2.1/24 + no link-detect +! +! +ip forwarding +! +line vty +! |