1
0
Fork 0
frr/tests/topotests/bgp_l3vpn_to_bgp_vrf/r1/bgpd.conf
Daniel Baumann 3124f89aed
Adding upstream version 10.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 10:03:58 +01:00

80 lines
1.5 KiB
Text

frr defaults traditional
hostname r1
password zebra
log stdout notifications
log commands
log file bgpd.log
#debug bgp vpn leak-to-vrf
#debug bgp vpn leak-from-vrf
#debug bgp vpn label
#debug bgp updates out
router bgp 5226
bgp router-id 1.1.1.1
bgp cluster-id 1.1.1.1
no bgp ebgp-requires-policy
neighbor 2.2.2.2 remote-as 5226
neighbor 2.2.2.2 update-source 1.1.1.1
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 r1-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 101
rd vpn export 10:1
rt vpn both 52:100
import vpn
export vpn
exit-address-family
router bgp 5227 vrf r1-cust4
no bgp network import-check
bgp router-id 192.168.1.1
address-family ipv4 unicast
network 172.16.0.0/24
rd vpn export 10:14
rt vpn export 52:100
import vpn
export vpn
exit-address-family
router bgp 5227 vrf r1-cust5
bgp router-id 192.168.1.1
address-family ipv4 unicast
network 172.16.1.1/32
label vpn export 105
rd vpn export 10:15
rt vpn both 52:100
import vpn
export vpn
exit-address-family