1
0
Fork 0
frr/tests/topotests/bgp_vpnv6_per_nexthop_label/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

45 lines
1.1 KiB
Text

debug bgp vpn leak-from-vrf
debug bgp vpn label
debug bgp nht
debug bgp updates out
router bgp 65500
bgp router-id 192.168.0.1
no bgp ebgp-requires-policy
neighbor 192:168::2 remote-as 65501
address-family ipv4 unicast
no neighbor 192:168::2 activate
exit-address-family
address-family ipv6 vpn
neighbor 192:168::2 activate
neighbor 192:168::2 soft-reconfiguration inbound
exit-address-family
!
router bgp 65500 vrf vrf1
bgp router-id 192.168.0.1
neighbor 192:2::100 remote-as 65500
neighbor 192:168::255:13 remote-as 65500
address-family ipv6 unicast
neighbor 192:2::100 activate
neighbor 192:2::100 route-map rmap in
neighbor 192:168::255:13 activate
neighbor 192:168::255:13 route-map rmap in
redistribute connected
redistribute static route-map rmap
label vpn export allocation-mode per-nexthop
label vpn export auto
rd vpn export 444:1
rt vpn both 52:100
export vpn
import vpn
exit-address-family
!
interface r1-eth0
mpls bgp forwarding
!
bgp community-list 1 seq 5 permit 10:10
!
route-map rmap permit 1
set ipv6 next-hop prefer-global
!
route-map rmap permit 2
!