From e2bbf175a2184bd76f6c54ccf8456babeb1a46fc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Apr 2024 15:16:35 +0200 Subject: Adding upstream version 9.1. Signed-off-by: Daniel Baumann --- .../bgp_labeled_unicast_addpath/r3/bgpd.conf | 35 ++++++++++++++++++++++ .../bgp_labeled_unicast_addpath/r3/zebra.conf | 13 ++++++++ 2 files changed, 48 insertions(+) create mode 100644 tests/topotests/bgp_labeled_unicast_addpath/r3/bgpd.conf create mode 100644 tests/topotests/bgp_labeled_unicast_addpath/r3/zebra.conf (limited to 'tests/topotests/bgp_labeled_unicast_addpath/r3') diff --git a/tests/topotests/bgp_labeled_unicast_addpath/r3/bgpd.conf b/tests/topotests/bgp_labeled_unicast_addpath/r3/bgpd.conf new file mode 100644 index 0000000..6dd8f7f --- /dev/null +++ b/tests/topotests/bgp_labeled_unicast_addpath/r3/bgpd.conf @@ -0,0 +1,35 @@ +! +router bgp 65003 + no bgp default ipv4-unicast + no bgp ebgp-requires-policy + no bgp suppress-duplicates + bgp bestpath as-path multipath-relax + neighbor 192.168.31.1 remote-as external + neighbor 192.168.31.1 timers 1 3 + neighbor 192.168.31.1 timers connect 1 + neighbor 192.168.32.2 remote-as external + neighbor 192.168.32.2 timers 1 3 + neighbor 192.168.32.2 timers connect 1 + neighbor 192.168.34.4 remote-as external + neighbor 192.168.34.4 timers 1 3 + neighbor 192.168.34.4 timers connect 1 + neighbor 192.168.35.5 remote-as external + neighbor 192.168.35.5 timers 1 3 + neighbor 192.168.35.5 timers connect 1 + neighbor 192.168.35.5 shutdown + address-family ipv4 labeled-unicast + neighbor 192.168.31.1 activate + neighbor 192.168.32.2 activate + neighbor 192.168.35.5 activate + neighbor 192.168.34.4 activate + neighbor 192.168.34.4 route-map r4 out + neighbor 192.168.34.4 addpath-tx-all-paths + exit-address-family + ! +! +ip prefix-list r4 seq 5 permit 10.0.0.1/32 +! +route-map r4 permit 10 + match ip address prefix-list r4 +exit +! diff --git a/tests/topotests/bgp_labeled_unicast_addpath/r3/zebra.conf b/tests/topotests/bgp_labeled_unicast_addpath/r3/zebra.conf new file mode 100644 index 0000000..838413a --- /dev/null +++ b/tests/topotests/bgp_labeled_unicast_addpath/r3/zebra.conf @@ -0,0 +1,13 @@ +! +interface r3-eth0 + ip address 192.168.31.3/24 +! +interface r3-eth1 + ip address 192.168.32.3/24 +! +interface r3-eth2 + ip address 192.168.34.3/24 +! +interface r3-eth3 + ip address 192.168.35.3/24 +! -- cgit v1.2.3