blob: 57c19e25d7ead58bda68692e2deec1670ee8a45e (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
frr defaults traditional
!
bgp send-extra-data zebra
!
hostname r1
password zebra
!
log stdout notifications
log commands
!
!debug bgp neighbor-events
!debug bgp zebra
!debug bgp vnc verbose
!debug bgp update-groups
!debug bgp updates in
!debug bgp updates out
!debug bgp vpn label
!debug bgp vpn leak-from-vrf
!debug bgp vpn leak-to-vrf
!debug bgp vpn rmap-event
!
router bgp 1
bgp router-id 1.1.1.1
no bgp ebgp-requires-policy
!no bgp default ipv4-unicast
neighbor 2001::2 remote-as 2
neighbor 2001::2 timers 3 10
neighbor 2001::2 timers connect 1
neighbor 2001::2 capability extended-nexthop
!
address-family ipv4 vpn
neighbor 2001::2 activate
exit-address-family
!
address-family ipv6 vpn
neighbor 2001::2 activate
exit-address-family
!
segment-routing srv6
locator loc1
!
!
router bgp 1 vrf vrf10
bgp router-id 1.1.1.1
no bgp ebgp-requires-policy
sid vpn per-vrf export auto
!
address-family ipv4 unicast
nexthop vpn export 2001::1
rd vpn export 1:10
rt vpn both 99:99
import vpn
export vpn
redistribute connected
exit-address-family
!
address-family ipv6 unicast
rd vpn export 1:10
rt vpn both 99:99
import vpn
export vpn
redistribute connected
exit-address-family
!
router bgp 1 vrf vrf20
bgp router-id 1.1.1.1
no bgp ebgp-requires-policy
sid vpn per-vrf export auto
!
address-family ipv4 unicast
nexthop vpn export 2001::1
rd vpn export 1:20
rt vpn both 88:88
import vpn
export vpn
redistribute connected
exit-address-family
!
address-family ipv6 unicast
rd vpn export 1:20
rt vpn both 88:88
import vpn
export vpn
redistribute connected
exit-address-family
!
|