1
0
Fork 0
frr/tests/topotests/bgp_l3vpn_to_bgp_vrf/r4/bgpd.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

73 lines
1.5 KiB
Text
Raw Permalink Normal View History

frr defaults traditional
hostname r4
password zebra
log stdout notifications
log commands
log file bgpd.log
#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