-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.txt
454 lines (454 loc) · 13.2 KB
/
output.txt
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
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
[1m[36mmpls_conf***********************************************************************[0m
[0m[1m[34m* P1 ** changed : True *********************************************************[0m
[0m[1m[32mvvvv mpls_conf ** changed : False vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv INFO[0m
[0m[1m[32m---- MPLS layer 3 vpn ** changed : False --------------------------------------- INFO[0m
[0mmpls ip
mpls label protocol ldp
interface e0/0
mpls ip
interface e0/1
mpls ip
[0m
[0m[1m[33m---- Loading configuration ** changed : True ----------------------------------- INFO[0m
[0mconfig term
Enter configuration commands, one per line. End with CNTL/Z.
P1(config)#mpls ip
P1(config)#mpls label protocol ldp
P1(config)#interface e0/0
P1(config-if)#mpls ip
P1(config-if)#interface e0/1
P1(config-if)#mpls ip
P1(config-if)#end
P1#[0m
[0m[1m[32m^^^^ END mpls_conf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
[0m[1m[34m* P2 ** changed : True *********************************************************[0m
[0m[1m[32mvvvv mpls_conf ** changed : False vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv INFO[0m
[0m[1m[32m---- MPLS layer 3 vpn ** changed : False --------------------------------------- INFO[0m
[0mmpls ip
mpls label protocol ldp
interface e0/0
mpls ip
interface e0/1
mpls ip
[0m
[0m[1m[33m---- Loading configuration ** changed : True ----------------------------------- INFO[0m
[0mconfig term
Enter configuration commands, one per line. End with CNTL/Z.
P2(config)#mpls ip
P2(config)#mpls label protocol ldp
P2(config)#interface e0/0
P2(config-if)#mpls ip
P2(config-if)#interface e0/1
P2(config-if)#mpls ip
P2(config-if)#end
P2#[0m
[0m[1m[32m^^^^ END mpls_conf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
[0m[1m[34m* P3 ** changed : True *********************************************************[0m
[0m[1m[32mvvvv mpls_conf ** changed : False vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv INFO[0m
[0m[1m[32m---- MPLS layer 3 vpn ** changed : False --------------------------------------- INFO[0m
[0mmpls ip
mpls label protocol ldp
interface e0/0
mpls ip
interface e0/1
mpls ip
interface e0/2
mpls ip
[0m
[0m[1m[33m---- Loading configuration ** changed : True ----------------------------------- INFO[0m
[0mconfig term
Enter configuration commands, one per line. End with CNTL/Z.
P3(config)#mpls ip
P3(config)#mpls label protocol ldp
P3(config)#interface e0/0
P3(config-if)#mpls ip
P3(config-if)#interface e0/1
P3(config-if)#mpls ip
P3(config-if)#interface e0/2
P3(config-if)#mpls ip
P3(config-if)#end
P3#[0m
[0m[1m[32m^^^^ END mpls_conf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
[0m[1m[34m* PE1 ** changed : True ********************************************************[0m
[0m[1m[32mvvvv mpls_conf ** changed : False vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv INFO[0m
[0m[1m[32m---- MPLS layer 3 vpn ** changed : False --------------------------------------- INFO[0m
[0mip vrf C1
rd 100:1
route-target both 100:1
exit
!
router ospf 2 vrf C1
router-id 10.0.1.1
exit
!
int e0/2
ip vrf forward C1
ip address 10.0.1.1 255.255.255.0
ip ospf 2 area 0
no shutdown
exit
!
ip vrf C2
rd 200:2
route-target both 200:2
exit
!
router ospf 3 vrf C2
router-id 10.0.1.1
exit
!
int e0/1
ip vrf forward C2
ip address 10.0.1.1 255.255.255.0
ip ospf 3 area 0
no shutdown
exit
!
router bgp 62001
neigh 5.5.5.5 remote-as 62001
neigh 5.5.5.5 update-source loop0
address-family vpnv4
neigh 5.5.5.5 activate
neigh 5.5.5.5 send-community
exit
!
neigh 6.6.6.6 remote-as 62001
neigh 6.6.6.6 update-source loop0
address-family vpnv4
neigh 6.6.6.6 activate
neigh 6.6.6.6 send-community
exit
!
router bgp 62001
address-family ipv4 vrf C1
redistribute ospf 2
redistribute connected
address-family ipv4 vrf C2
redistribute ospf 3
redistribute connected
exit
!
router ospf 2 vrf C1
redistribute bgp 62001 subnets
redistribute connected
exit
!
router ospf 3 vrf C2
redistribute bgp 62001 subnets
redistribute connected
exit
!
no mpls ip propagate-ttl[0m
[0m[1m[33m---- Loading configuration ** changed : True ----------------------------------- INFO[0m
[0mconfig term
Enter configuration commands, one per line. End with CNTL/Z.
PE1(config)#ip vrf C1
PE1(config-vrf)# rd 100:1
PE1(config-vrf)# route-target both 100:1
PE1(config-vrf)# exit
PE1(config)#!
PE1(config)#router ospf 2 vrf C1
PE1(config-router)# router-id 10.0.1.1
PE1(config-router)# exit
PE1(config)#!
PE1(config)#int e0/2
PE1(config-if)# ip vrf forward C1
PE1(config-if)# ip address 10.0.1.1 255.255.255.0
PE1(config-if)# ip ospf 2 area 0
PE1(config-if)# no shutdown
PE1(config-if)# exit
PE1(config)#!
PE1(config)#ip vrf C2
PE1(config-vrf)# rd 200:2
PE1(config-vrf)# route-target both 200:2
PE1(config-vrf)# exit
PE1(config)#!
PE1(config)#router ospf 3 vrf C2
PE1(config-router)# router-id 10.0.1.1
PE1(config-router)# exit
PE1(config)#!
PE1(config)#int e0/1
PE1(config-if)# ip vrf forward C2
PE1(config-if)# ip address 10.0.1.1 255.255.255.0
PE1(config-if)# ip ospf 3 area 0
PE1(config-if)# no shutdown
PE1(config-if)# exit
PE1(config)#!
PE1(config)#router bgp 62001
PE1(config-router)# neigh 5.5.5.5 remote-as 62001
PE1(config-router)# neigh 5.5.5.5 update-source loop0
PE1(config-router)# address-family vpnv4
PE1(config-router-af)# neigh 5.5.5.5 activate
PE1(config-router-af)# neigh 5.5.5.5 send-community
PE1(config-router-af)# exit
PE1(config-router)# !
PE1(config-router)# neigh 6.6.6.6 remote-as 62001
PE1(config-router)# neigh 6.6.6.6 update-source loop0
PE1(config-router)# address-family vpnv4
PE1(config-router-af)# neigh 6.6.6.6 activate
PE1(config-router-af)# neigh 6.6.6.6 send-community
PE1(config-router-af)# exit
PE1(config-router)# !
PE1(config-router)#router bgp 62001
PE1(config-router)# address-family ipv4 vrf C1
PE1(config-router-af)# redistribute ospf 2
PE1(config-router-af)# redistribute connected
PE1(config-router-af)# address-family ipv4 vrf C2
PE1(config-router-af)# redistribute ospf 3
PE1(config-router-af)# redistribute connected
PE1(config-router-af)# exit
PE1(config-router)# !
PE1(config-router)#router ospf 2 vrf C1
PE1(config-router)# redistribute bgp 62001 subnets
PE1(config-router)# redistribute connected
PE1(config-router)# exit
PE1(config)# !
PE1(config)#router ospf 3 vrf C2
PE1(config-router)# redistribute bgp 62001 subnets
PE1(config-router)# redistribute connected
PE1(config-router)# exit
PE1(config)# !
PE1(config)#no mpls ip propagate-ttl
PE1(config)#end
PE1#[0m
[0m[1m[32m^^^^ END mpls_conf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
[0m[1m[34m* PE2 ** changed : True ********************************************************[0m
[0m[1m[32mvvvv mpls_conf ** changed : False vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv INFO[0m
[0m[1m[32m---- MPLS layer 3 vpn ** changed : False --------------------------------------- INFO[0m
[0mip vrf C1
rd 100:1
route-target both 100:1
exit
!
router ospf 2 vrf C1
router-id 10.0.3.1
exit
!
int e0/2
ip vrf forward C1
ip address 10.0.3.1 255.255.255.0
ip ospf 2 area 0
no shutdown
exit
!
ip vrf C2
rd 200:2
route-target both 200:2
exit
!
router ospf 3 vrf C2
router-id 10.0.2.1
exit
!
int e0/1
ip vrf forward C2
ip address 10.0.2.1 255.255.255.0
ip ospf 3 area 0
no shutdown
exit
!
router bgp 62001
neigh 4.4.4.4 remote-as 62001
neigh 4.4.4.4 update-source loop0
address-family vpnv4
neigh 4.4.4.4 activate
neigh 4.4.4.4 send-community
exit
!
neigh 6.6.6.6 remote-as 62001
neigh 6.6.6.6 update-source loop0
address-family vpnv4
neigh 6.6.6.6 activate
neigh 6.6.6.6 send-community
exit
!
router bgp 62001
address-family ipv4 vrf C1
redistribute ospf 2
redistribute connected
address-family ipv4 vrf C2
redistribute ospf 3
redistribute connected
exit
!
router ospf 2 vrf C1
redistribute bgp 62001 subnets
redistribute connected
exit
!
router ospf 3 vrf C2
redistribute bgp 62001 subnets
redistribute connected
exit
!
no mpls ip propagate-ttl[0m
[0m[1m[33m---- Loading configuration ** changed : True ----------------------------------- INFO[0m
[0mconfig term
Enter configuration commands, one per line. End with CNTL/Z.
PE2(config)#ip vrf C1
PE2(config-vrf)# rd 100:1
PE2(config-vrf)# route-target both 100:1
PE2(config-vrf)# exit
PE2(config)#!
PE2(config)#router ospf 2 vrf C1
PE2(config-router)# router-id 10.0.3.1
PE2(config-router)# exit
PE2(config)#!
PE2(config)#int e0/2
PE2(config-if)# ip vrf forward C1
PE2(config-if)# ip address 10.0.3.1 255.255.255.0
PE2(config-if)# ip ospf 2 area 0
PE2(config-if)# no shutdown
PE2(config-if)# exit
PE2(config)#!
PE2(config)#ip vrf C2
PE2(config-vrf)# rd 200:2
PE2(config-vrf)# route-target both 200:2
PE2(config-vrf)# exit
PE2(config)#!
PE2(config)#router ospf 3 vrf C2
PE2(config-router)# router-id 10.0.2.1
PE2(config-router)# exit
PE2(config)#!
PE2(config)#int e0/1
PE2(config-if)# ip vrf forward C2
PE2(config-if)# ip address 10.0.2.1 255.255.255.0
PE2(config-if)# ip ospf 3 area 0
PE2(config-if)# no shutdown
PE2(config-if)# exit
PE2(config)#!
PE2(config)#router bgp 62001
PE2(config-router)# neigh 4.4.4.4 remote-as 62001
PE2(config-router)# neigh 4.4.4.4 update-source loop0
PE2(config-router)# address-family vpnv4
PE2(config-router-af)# neigh 4.4.4.4 activate
PE2(config-router-af)# neigh 4.4.4.4 send-community
PE2(config-router-af)# exit
PE2(config-router)# !
PE2(config-router)# neigh 6.6.6.6 remote-as 62001
PE2(config-router)# neigh 6.6.6.6 update-source loop0
PE2(config-router)# address-family vpnv4
PE2(config-router-af)# neigh 6.6.6.6 activate
PE2(config-router-af)# neigh 6.6.6.6 send-community
PE2(config-router-af)# exit
PE2(config-router)# !
PE2(config-router)#router bgp 62001
PE2(config-router)# address-family ipv4 vrf C1
PE2(config-router-af)# redistribute ospf 2
PE2(config-router-af)# redistribute connected
PE2(config-router-af)# address-family ipv4 vrf C2
PE2(config-router-af)# redistribute ospf 3
PE2(config-router-af)# redistribute connected
PE2(config-router-af)# exit
PE2(config-router)# !
PE2(config-router)#router ospf 2 vrf C1
PE2(config-router)# redistribute bgp 62001 subnets
PE2(config-router)# redistribute connected
PE2(config-router)# exit
PE2(config)# !
PE2(config)#router ospf 3 vrf C2
PE2(config-router)# redistribute bgp 62001 subnets
PE2(config-router)# redistribute connected
PE2(config-router)# exit
PE2(config)# !
PE2(config)#no mpls ip propagate-ttl
PE2(config)#end
PE2#[0m
[0m[1m[32m^^^^ END mpls_conf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
[0m[1m[34m* PE3 ** changed : True ********************************************************[0m
[0m[1m[32mvvvv mpls_conf ** changed : False vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv INFO[0m
[0m[1m[32m---- MPLS layer 3 vpn ** changed : False --------------------------------------- INFO[0m
[0mip vrf C1
rd 100:1
route-target both 100:1
exit
!
router ospf 2 vrf C1
router-id 10.0.5.1
exit
!
int e0/1
ip vrf forward C1
ip address 10.0.5.1 255.255.255.0
ip ospf 2 area 0
no shutdown
exit
!
router bgp 62001
neigh 4.4.4.4 remote-as 62001
neigh 4.4.4.4 update-source loop0
address-family vpnv4
neigh 4.4.4.4 activate
neigh 4.4.4.4 send-community
exit
!
neigh 5.5.5.5 remote-as 62001
neigh 5.5.5.5 update-source loop0
address-family vpnv4
neigh 5.5.5.5 activate
neigh 5.5.5.5 send-community
exit
!
router bgp 62001
address-family ipv4 vrf C1
redistribute ospf 2
redistribute connected
exit
!
router ospf 2 vrf C1
redistribute bgp 62001 subnets
redistribute connected
exit
!
no mpls ip propagate-ttl[0m
[0m[1m[33m---- Loading configuration ** changed : True ----------------------------------- INFO[0m
[0mconfig term
Enter configuration commands, one per line. End with CNTL/Z.
PE3(config)#ip vrf C1
PE3(config-vrf)# rd 100:1
PE3(config-vrf)# route-target both 100:1
PE3(config-vrf)# exit
PE3(config)#!
PE3(config)#router ospf 2 vrf C1
PE3(config-router)# router-id 10.0.5.1
PE3(config-router)# exit
PE3(config)#!
PE3(config)#int e0/1
PE3(config-if)# ip vrf forward C1
PE3(config-if)# ip address 10.0.5.1 255.255.255.0
PE3(config-if)# ip ospf 2 area 0
PE3(config-if)# no shutdown
PE3(config-if)# exit
PE3(config)#!
PE3(config)#router bgp 62001
PE3(config-router)# neigh 4.4.4.4 remote-as 62001
PE3(config-router)# neigh 4.4.4.4 update-source loop0
PE3(config-router)# address-family vpnv4
PE3(config-router-af)# neigh 4.4.4.4 activate
PE3(config-router-af)# neigh 4.4.4.4 send-community
PE3(config-router-af)# exit
PE3(config-router)# !
PE3(config-router)# neigh 5.5.5.5 remote-as 62001
PE3(config-router)# neigh 5.5.5.5 update-source loop0
PE3(config-router)# address-family vpnv4
PE3(config-router-af)# neigh 5.5.5.5 activate
PE3(config-router-af)# neigh 5.5.5.5 send-community
PE3(config-router-af)# exit
PE3(config-router)# !
PE3(config-router)#router bgp 62001
PE3(config-router)# address-family ipv4 vrf C1
PE3(config-router-af)# redistribute ospf 2
PE3(config-router-af)# redistribute connected
PE3(config-router-af)# exit
PE3(config-router)# !
PE3(config-router)#router ospf 2 vrf C1
PE3(config-router)# redistribute bgp 62001 subnets
PE3(config-router)# redistribute connected
PE3(config-router)# exit
PE3(config)# !
PE3(config)#no mpls ip propagate-ttl
PE3(config)#end
PE3#[0m
[0m[1m[32m^^^^ END mpls_conf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
[0mExecuted in= 7.9 second(s)[0m
[0m