frr/tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/r2/frr.conf
Philippe Guibert 57a03cfc54 topotests: bgp_srv6l3vpn_to_bgp_vrf, change AS values
Use experimental AS values to play the test.
Add BGP peering on CEs, and use the default-originate functionality on
each PE facing CPEs.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2025-03-24 09:17:01 +01:00

99 lines
2 KiB
Plaintext

! debug zebra packet
! debug zebra dplane
! debug zebra kernel
! debug bgp neighbor-events
! debug bgp zebra
! debug bgp vnc verbose
! debug bgp update-groups
! debug bgp updates in
! debug bgp updates out
! debug bgp updates
! debug bgp vpn label
! debug bgp vpn leak-from-vrf
! debug bgp vpn leak-to-vrf
! debug bgp vpn rmap-event
!
interface eth0
ipv6 address 2001::2/64
!
interface eth1 vrf vrf10
ipv6 address 2001:2::1/64
!
interface eth2 vrf vrf20
ipv6 address 2001:4::1/64
!
interface eth3 vrf vrf20
ipv6 address 2001:6::1/64
!
segment-routing
srv6
locators
locator loc1
prefix 2001:db8:2:2::/64 func-bits 8
!
!
!
ip forwarding
ipv6 forwarding
!
ipv6 route 2001:db8:1:1::/64 2001::1
ipv6 route 2001:db8:1:2::/64 2001::1
ipv6 route 2001:db8:1:3::/64 2001::1
!
line vty
!
no bgp send-extra-data-zebra
router bgp 65501
bgp router-id 2.2.2.2
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
neighbor 2001::1 remote-as 65500
neighbor 2001::1 timers 3 10
neighbor 2001::1 timers connect 1
!
address-family ipv6 vpn
neighbor 2001::1 activate
exit-address-family
!
segment-routing srv6
locator loc1
!
!
router bgp 65501 vrf vrf10
bgp router-id 2.2.2.2
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
!
neighbor 2001:2::2 remote-as 65501
address-family ipv6 unicast
neighbor 2001:2::2 activate
neighbor 2001:2::2 default-originate
sid vpn export auto
rd vpn export 2:10
rt vpn both 99:99
import vpn
export vpn
redistribute connected
exit-address-family
!
router bgp 65501 vrf vrf20
bgp router-id 2.2.2.2
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
neighbor 2001:4::2 remote-as 65501
neighbor 2001:6::2 remote-as 65501
!
address-family ipv6 unicast
neighbor 2001:4::2 activate
neighbor 2001:4::2 default-originate
neighbor 2001:6::2 activate
neighbor 2001:6::2 default-originate
sid vpn export auto
rd vpn export 2:20
rt vpn both 88:88
import vpn
export vpn
redistribute connected
exit-address-family
!