-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjuniper.conf
344 lines (344 loc) · 9.87 KB
/
juniper.conf
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
interfaces {
ge-0/0/0 {
description Main;
unit 0 {
description "CST 10M FOOB1/CPE/12345 X {no-rpf, if-acct} // Foobar Saunders and his Unix Entendres";
family inet {
dhcp;
}
}
}
ge-0/0/1 {
vlan-tagging;
unit 1 {
description "CST 10M FOOB1/CPE/10001 X // Foobar Saunders and his Unix Entendres";
vlan-id 1;
family inet {
address 10.0.1.1/24;
}
}
unit 2 {
description "CST 10M FOOB1/CPE/10002 X // Foobar Saunders and his Unix Entendres";
vlan-id 2;
family inet6 {
address fd00:0001::1/64;
}
}
unit 3 {
description "CST 10M FOOB1/CPE/10003 X // Foobar Saunders and his Unix Entendres";
vlan-id 3;
family inet {
address 10.0.3.1/24;
}
family inet6 {
address fd00:0003::1/64;
}
}
unit 4 {
description "CST 10M FOOB1/CPE/10004 X // Foobar Saunders and his Unix Entendres";
vlan-id 4;
family inet {
address 10.0.4.1/24;
address 10.1.4.1/24;
address 10.2.4.1/24;
}
family inet6 {
address fd00:0004::1/64;
address fd00:0104::1/64;
address fd00:0204::1/64;
}
}
unit 5 {
description "CST 10M FOOB1/CPE/10005 X // Foobar Saunders and his Unix Entendres";
vlan-id 5;
family inet {
address 10.0.5.1/24;
}
}
unit 6 {
description "CST 10M FOOB1/CPE/10006 X // Foobar Saunders and his Unix Entendres";
vlan-id 6;
family inet6 {
address fd00:0006::1/64;
}
}
unit 7 {
description "CST 10M FOOB1/CPE/10007 X // Foobar Saunders and his Unix Entendres";
vlan-id 7;
family inet {
address 10.0.7.1/24;
}
family inet6 {
address fd00:0007::1/64;
}
}
unit 8 {
description "CST 10M FOOB1/CPE/10008 X // Foobar Saunders and his Unix Entendres";
vlan-id 8;
family inet {
address 10.0.8.1/24;
address 10.1.8.1/24;
address 10.2.8.1/24;
}
family inet6 {
address fd00:0008::1/64;
address fd00:0108::1/64;
address fd00:0208::1/64;
}
}
unit 9 {
description "CST 10M FOOB1/CPE/10009 X // Foobar Saunders and his Unix Entendres";
vlan-id 9;
family inet {
address 10.0.9.1/24;
}
}
unit 10 {
description "CST 10M FOOB1/CPE/10010 X // Foobar Saunders and his Unix Entendres";
vlan-id 10;
family inet6 {
address fd00:000a::1/64;
}
}
unit 11 {
description "CST 10M FOOB1/CPE/10011 X // Foobar Saunders and his Unix Entendres";
vlan-id 11;
family inet {
address 10.0.11.1/24;
}
family inet6 {
address fd00:000b::1/64;
}
}
unit 12 {
description "CST 10M FOOB1/CPE/10012 X // Foobar Saunders and his Unix Entendres";
vlan-id 12;
family inet {
address 10.0.12.1/24;
address 10.1.12.1/24;
address 10.2.12.1/24;
}
family inet6 {
address fd00:000c::1/64;
address fd00:010c::1/64;
address fd00:020c::1/64;
}
}
unit 13 {
description "CST 10M FOOB1/CPE/10013 X // Foobar Saunders and his Unix Entendres";
vlan-id 13;
family inet {
address 10.0.13.1/24;
}
}
unit 14 {
description "CST 10M FOOB1/CPE/10014 X // Foobar Saunders and his Unix Entendres";
vlan-id 14;
family inet6 {
address fd00:000e::1/64;
}
}
unit 15 {
description "CST 10M FOOB1/CPE/10015 X // Foobar Saunders and his Unix Entendres";
vlan-id 15;
family inet {
address 10.0.15.1/24;
}
family inet6 {
address fd00:000f::1/64;
}
}
unit 16 {
description "CST 10M FOOB1/CPE/10016 X // Foobar Saunders and his Unix Entendres";
vlan-id 16;
family inet {
address 10.0.16.1/24;
address 10.1.16.1/24;
address 10.2.16.1/24;
}
family inet6 {
address fd00:0010::1/64;
address fd00:0110::1/64;
address fd00:0210::1/64;
}
}
unit 17 {
description "CST 10M FOOB1/CPE/10017 X // Foobar Saunders and his Unix Entendres";
vlan-id 17;
family inet {
address 10.0.17.1/24;
}
}
unit 18 {
description "CST 10M FOOB1/CPE/10018 X // Foobar Saunders and his Unix Entendres";
vlan-id 18;
family inet6 {
address fd00:0012::1/64;
}
}
unit 19 {
description "CST 10M FOOB1/CPE/10019 X // Foobar Saunders and his Unix Entendres";
vlan-id 19;
family inet {
address 10.0.19.1/24;
}
family inet6 {
address fd00:0013::1/64;
}
}
unit 20 {
description "CST 10M FOOB1/CPE/10020 X // Foobar Saunders and his Unix Entendres";
vlan-id 20;
family inet {
address 10.0.20.1/24;
address 10.1.20.1/24;
address 10.2.20.1/24;
}
family inet6 {
address fd00:0014::1/64;
address fd00:0114::1/64;
address fd00:0214::1/64;
}
}
unit 21 {
description "CST 10M FOOB1/CPE/10021 X // Foobar Saunders and his Unix Entendres";
vlan-id 21;
family inet {
address 10.0.21.1/24;
}
}
unit 22 {
description "CST 10M FOOB1/CPE/10022 X // Foobar Saunders and his Unix Entendres";
vlan-id 22;
family inet6 {
address fd00:0016::1/64;
}
}
unit 23 {
description "CST 10M FOOB1/CPE/10023 X // Foobar Saunders and his Unix Entendres";
vlan-id 23;
family inet {
address 10.0.23.1/24;
}
family inet6 {
address fd00:0017::1/64;
}
}
unit 24 {
description "CST 10M FOOB1/CPE/10024 X // Foobar Saunders and his Unix Entendres";
vlan-id 24;
family inet {
address 10.0.24.1/24;
address 10.1.24.1/24;
address 10.2.24.1/24;
}
family inet6 {
address fd00:0018::1/64;
address fd00:0118::1/64;
address fd00:0218::1/64;
}
}
}
lo0 {
unit 0 {
family inet {
address 127.0.0.1/32;
address 10.255.0.1/32;
}
}
}
}
protocols {
bgp {
group CUSTOMERS {
neighbor 10.0.17.2 {
peer-as 17;
}
neighbor 10.0.18.2 {
peer-as 18;
}
neighbor 10.0.19.2 {
peer-as 19;
}
neighbor 10.0.20.2 {
peer-as 20;
}
}
}
ospf {
area 0.0.0.0 {
interface ge-0/0/1.9;
interface ge-0/0/1.10;
interface ge-0/0/1.11;
interface ge-0/0/1.12;
}
}
}
routing-instances {
VPN-1 {
instance-type vrf;
interface ge-0/0/1.5;
interface ge-0/0/1.6;
interface ge-0/0/1.7;
interface ge-0/0/1.8;
route-distinguisher 8918:1;
vrf-target target:8928:1;
vrf-table-label;
routing-options {
auto-export;
}
}
VPN-2 {
instance-type vrf;
interface ge-0/0/1.13;
interface ge-0/0/1.14;
interface ge-0/0/1.15;
interface ge-0/0/1.16;
route-distinguisher 8928:2;
vrf-target target:8928:2;
routing-options {
auto-export;
}
protocols {
ospf {
area 0.0.0.0 {
interface ge-0/0/1.13;
interface ge-0/0/1.14;
interface ge-0/0/1.15;
interface ge-0/0/1.16;
}
}
}
}
VPN-3 {
instance-type vrf;
interface ge-0/0/1.21;
interface ge-0/0/1.22;
interface ge-0/0/1.23;
interface ge-0/0/1.24;
route-distinguisher 8928:3;
vrf-target target:8928:3;
vrf-table-label;
routing-options {
auto-export;
}
protocols {
bgp {
group CUSTOMERS {
neighbor 10.0.21.2 {
peer-as 21;
}
neighbor 10.0.22.2 {
peer-as 22;
}
neighbor 10.0.23.2 {
peer-as 23;
}
neighbor 10.0.24.2 {
peer-as 24;
}
}
}
}
}
}