blob: 1f7abac98f2a5e67f8b7c33a7c1a6086ebc9c435 (
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
|
!
!debug bgp updates
!debug bgp vpn leak-from-vrf
!debug bgp vpn leak-to-vrf
!debug bgp nht
!
router bgp 65001
bgp router-id 10.10.10.10
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
neighbor 10.10.10.101 remote-as internal
neighbor 10.10.10.101 update-source 10.10.10.10
neighbor 10.10.10.101 timers 1 3
neighbor 10.10.10.101 timers connect 1
address-family ipv4 vpn
neighbor 10.10.10.101 activate
neighbor 10.10.10.101 attribute-unchanged
exit-address-family
!
router bgp 65001 vrf Customer
bgp router-id 192.168.1.2
no bgp ebgp-requires-policy
neighbor 192.168.1.1 remote-as external
neighbor 192.168.1.1 timers 1 3
neighbor 192.168.1.1 timers connect 1
address-family ipv4 unicast
redistribute connected
label vpn export 250
rd vpn export 192.168.1.2:2
rt vpn import 192.168.1.2:2
rt vpn export 192.168.1.2:2
export vpn
import vpn
exit-address-family
!
router bgp 65001 vrf Service
bgp router-id 192.168.2.2
no bgp ebgp-requires-policy
neighbor 192.168.2.1 remote-as external
neighbor 192.168.2.1 timers 1 3
neighbor 192.168.2.1 timers connect 1
address-family ipv4 unicast
label vpn export 350
rd vpn export 192.168.2.2:2
rt vpn import 192.168.2.2:2
rt vpn export 192.168.2.2:2
export vpn
import vpn
exit-address-family
!
|