blob: 95a7262b32ed28cc8af196535bafaab3178d58d9 (
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
mpls label dynamic-block 1000 1048575
!
interface lo
ip address 192.168.0.1/32
ipv6 address 3fff::192:168:0:1/128
!
interface eth-rr1
ip address 10.0.1.1/24
!
interface eth-ce1
ip address 172.16.1.1/24
ipv6 address 3fff:1::1/64
!
router bgp 65000
bgp router-id 192.168.0.1
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
neighbor 192.168.0.101 remote-as 65000
neighbor 192.168.0.101 bfd profile BGP
neighbor 192.168.0.101 update-source 192.168.0.1
neighbor 3fff::192:168:0:101 remote-as 65000
neighbor 3fff::192:168:0:101 bfd profile BGP
neighbor 3fff::192:168:0:101 update-source 3fff::192:168:0:1
!
address-family ipv4 unicast
no neighbor 192.168.0.101 activate
exit-address-family
!
address-family ipv4 vpn
neighbor 192.168.0.101 activate
neighbor 192.168.0.101 soft-reconfiguration inbound
exit-address-family
!
address-family ipv6 vpn
neighbor 3fff::192:168:0:101 activate
neighbor 3fff::192:168:0:101 soft-reconfiguration inbound
exit-address-family
!
router bgp 65000 vrf RED
bgp router-id 192.168.0.1
no bgp ebgp-requires-policy
bgp bestpath compare-routerid
neighbor 172.16.1.254 remote-as external
neighbor 172.16.1.254 bfd profile BGP
neighbor 3fff:1::ff remote-as external
neighbor 3fff:1::ff bfd profile BGP
!
address-family ipv4 unicast
label vpn export 100
rd vpn export 65000:100
rt vpn both 65000:100
export vpn
import vpn
neighbor 172.16.1.254 next-hop-self
no neighbor 3fff:1::ff activate
exit-address-family
!
address-family ipv6 unicast
label vpn export 200
rd vpn export 65000:100
rt vpn both 65000:100
export vpn
import vpn
neighbor 3fff:1::ff activate
neighbor 3fff:1::ff next-hop-self
exit-address-family
exit
!
interface lo
ip router isis 1
isis hello-interval 2
ipv6 router isis 1
!
interface eth-rr1
ip router isis 1
isis hello-interval 2
ipv6 router isis 1
!
router isis 1
lsp-gen-interval 2
net 10.0000.0000.0000.0000.0000.0000.0000.0000.0001.00
metric-style wide
exit
!
mpls ldp
router-id 192.168.0.1
!
address-family ipv4
discovery transport-address 192.168.0.1
!
interface eth-rr1
!
address-family ipv6
discovery transport-address 3fff::192:168:0:1
!
interface eth-rr1
!
!
!
bfd
profile BGP
transmit-interval 2000
receive-interval 2000
exit
!
exit
|