summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_l3vpn_hidden/ce1/frr.conf
blob: 95d84d5e6b64354f672288aeb74485d721693fba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
debug bgp neighbor-events
!
ip prefix-list PLIST-LAN seq 10 permit 172.20.0.0/16 le 24
!
ipv6 prefix-list PLIST-LAN6 seq 10 permit 2001:db8::/32 le 64
!
route-map RMAP-LAN permit 10
 match ip address prefix-list PLIST-LAN
exit
!
route-map RMAP-LAN6 permit 10
 match ipv6 address prefix-list PLIST-LAN6
exit
!
interface eth-lan
 ip address 172.20.1.1/24
 ipv6 address 2001:db8:1::ff/64
exit
!
interface eth-pe1
 ip address 172.16.1.254/24
 ipv6 address 3fff:1::ff/64
exit
!
router bgp 65501
 bgp router-id 172.16.1.254
 no bgp ebgp-requires-policy
 bgp bestpath compare-routerid
 neighbor 172.16.1.1 remote-as external
 neighbor 172.16.1.1 bfd profile BGP
 neighbor 3fff:1::1 remote-as external
 neighbor 3fff:1::1 bfd profile BGP
 !
 address-family ipv4 unicast
  redistribute connected route-map RMAP-LAN
  neighbor 172.16.1.1 next-hop-self
  no neighbor 3fff:1::1 activate
 exit-address-family
!
 address-family ipv6 unicast
  redistribute connected route-map RMAP-LAN6
  neighbor 3fff:1::1 activate
  neighbor 3fff:1::1 next-hop-self
 exit-address-family
exit
bfd
 profile BGP
  transmit-interval 2000
  receive-interval 2000
 exit
 !
exit