]>
Commit | Line | Data |
---|---|---|
46dbf9d0 | 1 | ! |
2007e2db DS |
2 | !debug bgp updates |
3 | !debug bgp vpn leak-from-vrf | |
4 | !debug bgp vpn leak-to-vrf | |
5 | !debug bgp nht | |
46dbf9d0 DA |
6 | ! |
7 | router bgp 65001 | |
8 | bgp router-id 10.10.10.10 | |
9 | no bgp ebgp-requires-policy | |
10 | no bgp default ipv4-unicast | |
11 | neighbor 10.10.10.101 remote-as internal | |
12 | neighbor 10.10.10.101 update-source 10.10.10.10 | |
13 | neighbor 10.10.10.101 timers 1 3 | |
14 | neighbor 10.10.10.101 timers connect 1 | |
15 | address-family ipv4 vpn | |
16 | neighbor 10.10.10.101 activate | |
17 | neighbor 10.10.10.101 attribute-unchanged | |
18 | exit-address-family | |
19 | ! | |
20 | router bgp 65001 vrf Customer | |
21 | bgp router-id 192.168.1.2 | |
22 | no bgp ebgp-requires-policy | |
23 | neighbor 192.168.1.1 remote-as external | |
24 | neighbor 192.168.1.1 timers 1 3 | |
25 | neighbor 192.168.1.1 timers connect 1 | |
26 | address-family ipv4 unicast | |
b4710d03 | 27 | redistribute connected |
46dbf9d0 DA |
28 | label vpn export 10 |
29 | rd vpn export 192.168.1.2:2 | |
30 | rt vpn import 192.168.1.2:2 | |
31 | rt vpn export 192.168.1.2:2 | |
32 | export vpn | |
33 | import vpn | |
34 | exit-address-family | |
35 | ! | |
36 | router bgp 65001 vrf Service | |
37 | bgp router-id 192.168.2.2 | |
38 | no bgp ebgp-requires-policy | |
39 | neighbor 192.168.2.1 remote-as external | |
40 | neighbor 192.168.2.1 timers 1 3 | |
41 | neighbor 192.168.2.1 timers connect 1 | |
42 | address-family ipv4 unicast | |
43 | label vpn export 20 | |
44 | rd vpn export 192.168.2.2:2 | |
45 | rt vpn import 192.168.2.2:2 | |
46 | rt vpn export 192.168.2.2:2 | |
47 | export vpn | |
48 | import vpn | |
49 | exit-address-family | |
50 | ! |