72 lines
1.5 KiB
Text
72 lines
1.5 KiB
Text
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
|