mirror_frr/tests/topotests/bgp_oad/r3/frr.conf
Donatas Abraitis 1c491dfbe6 tests: Check if the route over eBGP is preferred when eBGP-OAD is used
If at least one of the candidate routes was received via EBGP, remove from
consideration all routes that were received via EBGP-OAD and IBGP.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-11 10:53:57 +02:00

23 lines
438 B
Plaintext

!
int lo
ip address 10.10.10.10/32
!
int r3-eth0
ip address 192.168.2.3/24
!
router bgp 65003
no bgp ebgp-requires-policy
neighbor 192.168.2.2 remote-as external
neighbor 192.168.2.2 timers 1 3
neighbor 192.168.2.2 timers connect 1
neighbor 192.168.2.2 oad
!
address-family ipv4 unicast
redistribute connected route-map connected
exit-address-family
!
route-map connected permit 10
set local-preference 123
set metric 123
!