blob: 18a11cfb40d637f6a49a57b52f5c2a07d216f7f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
router bgp 65002
bgp router-id 192.0.2.2
no bgp default ipv4-unicast
no bgp ebgp-requires-policy
neighbor 192.168.1.1 remote-as 65001
neighbor 192.168.1.1 timers 1 3
neighbor 192.168.1.1 timers connect 1
neighbor 192.168.1.1 ebgp-multihop 2
neighbor 192.168.1.1 update-source 192.0.2.2
address-family ipv4 vpn
neighbor 192.168.1.1 activate
exit-address-family
!
router bgp 65002 vrf vrf1
address-family ipv4 unicast
redistribute connected
label vpn export 2222
rd vpn export 102:1
rt vpn both 52:100
import vpn
export vpn
exit-address-family
!
|