41 lines
678 B
Text
41 lines
678 B
Text
|
frr defaults traditional
|
||
|
!
|
||
|
hostname pe1
|
||
|
password zebra
|
||
|
!
|
||
|
log stdout notifications
|
||
|
log commands
|
||
|
!
|
||
|
router bgp 65001
|
||
|
bgp router-id 192.0.2.1
|
||
|
!
|
||
|
!
|
||
|
router bgp 65001 vrf vrf10
|
||
|
bgp router-id 192.0.2.1
|
||
|
no bgp ebgp-requires-policy
|
||
|
no bgp default ipv4-unicast
|
||
|
neighbor eth0 interface
|
||
|
neighbor eth0 remote-as external
|
||
|
neighbor eth0 timers connect 1
|
||
|
!
|
||
|
address-family ipv4 unicast
|
||
|
neighbor eth0 activate
|
||
|
rd vpn export 65001:10
|
||
|
rt vpn both 0:10
|
||
|
import vpn
|
||
|
export vpn
|
||
|
exit-address-family
|
||
|
!
|
||
|
!
|
||
|
router bgp 65001 vrf vrf20
|
||
|
bgp router-id 192.0.2.1
|
||
|
!
|
||
|
address-family ipv4 unicast
|
||
|
rd vpn export 65001:20
|
||
|
rt vpn both 0:10
|
||
|
import vpn
|
||
|
export vpn
|
||
|
exit-address-family
|
||
|
!
|
||
|
!
|