blob: 098e55d0ed34cda44d3be8940f495b36db9ecf76 (
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
|
log file /tmp/bgpd.log debugging
!
router bgp 65000
bgp router-id 10.1.1.1
neighbor 10.4.4.4 remote-as 65000
neighbor 10.4.4.4 update-source 10.1.1.1
neighbor 10.4.4.4 timers connect 10
!
address-family ipv4 vpn
neighbor 10.4.4.4 activate
exit-address-family
!
router bgp 65001 vrf VRF-a
bgp router-id 192.168.100.20
timers bgp 3 9
neighbor 192.168.100.10 remote-as 65001
neighbor 192.168.100.10 update-source 192.168.100.20
neighbor 192.168.200.10 remote-as 65001
neighbor 192.168.200.10 update-source 192.168.200.20
!
address-family ipv4 unicast
redistribute connected
redistribute isis
label vpn export 1111
rd vpn export 10:1
rt vpn both 1:1
export vpn
import vpn
exit-address-family
router bgp 65002 vrf VRF-b
bgp router-id 192.168.10.20
timers bgp 3 9
neighbor 192.168.10.10 remote-as 65003
neighbor 192.168.10.10 update-source 192.168.10.20
!
address-family ipv4 unicast
redistribute connected
redistribute isis
label vpn export 6666
rd vpn export 10:2
rt vpn both 1:2
export vpn
import vpn
exit-address-family
agentx
|