31 lines
740 B
Text
31 lines
740 B
Text
|
router bgp 65500
|
||
|
bgp router-id 192.168.0.1
|
||
|
no bgp ebgp-requires-policy
|
||
|
neighbor 192.168.0.2 remote-as 65501
|
||
|
address-family ipv4 unicast
|
||
|
no neighbor 192.168.0.2 activate
|
||
|
exit-address-family
|
||
|
address-family ipv4 vpn
|
||
|
neighbor 192.168.0.2 activate
|
||
|
neighbor 192.168.0.2 soft-reconfiguration inbound
|
||
|
exit-address-family
|
||
|
!
|
||
|
router bgp 65500 vrf vrf1
|
||
|
bgp router-id 192.168.0.1
|
||
|
neighbor 192.0.2.100 remote-as 65500
|
||
|
neighbor 192.168.255.13 remote-as 65500
|
||
|
address-family ipv4 unicast
|
||
|
redistribute connected
|
||
|
redistribute static
|
||
|
label vpn export allocation-mode per-nexthop
|
||
|
label vpn export auto
|
||
|
rd vpn export 444:1
|
||
|
rt vpn both 52:100
|
||
|
export vpn
|
||
|
import vpn
|
||
|
exit-address-family
|
||
|
!
|
||
|
interface r1-eth0
|
||
|
mpls bgp forwarding
|
||
|
!
|