blob: bbc5ae502fa0d5bad59055c8c1d780bacf86c386 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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
!
!
|