mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 04:01:59 +00:00

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>
23 lines
438 B
Plaintext
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
|
|
!
|