30 lines
750 B
Text
30 lines
750 B
Text
router bgp 65500
|
|
bgp router-id 192.0.2.1
|
|
no bgp ebgp-requires-policy
|
|
no bgp enforce-first-as
|
|
neighbor 192.0.2.100 remote-as 65500
|
|
neighbor 192.0.2.100 update-source lo
|
|
neighbor 192.168.0.100 remote-as 65500
|
|
address-family ipv4 unicast
|
|
no neighbor 192.168.0.100 activate
|
|
no neighbor 192.0.2.100 activate
|
|
network 192.0.2.1/32
|
|
exit-address-family
|
|
address-family ipv4 labeled-unicast
|
|
neighbor 192.168.0.100 activate
|
|
exit-address-family
|
|
address-family ipv4 vpn
|
|
neighbor 192.0.2.100 activate
|
|
exit-address-family
|
|
!
|
|
router bgp 65500 vrf vrf1
|
|
bgp router-id 192.0.2.1
|
|
address-family ipv4 unicast
|
|
redistribute connected
|
|
label vpn export 101
|
|
rd vpn export 444:1
|
|
rt vpn both 52:100
|
|
export vpn
|
|
import vpn
|
|
exit-address-family
|
|
!
|