-
Notifications
You must be signed in to change notification settings - Fork 0
/
D1.txt
521 lines (521 loc) · 11.6 KB
/
D1.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
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
hostname SCP_D1
!
!
logging 10.9.240.8
!
!
vtp mode transparent
ip routing
no ip domain-lookup
!
enable secret class
!
!
aaa new-model
aaa authentication login default group tacacs+ local
aaa authentication enable default group tacacs+ enable
aaa authorization exec default group tacacs+ local
!
!
tacacs-server host 10.9.240.8
tacacs-server key casestudy1
!
username student privilege 15 secret cisco
!
ip tacacs source-interface vlan 240
!
track 1 interface Port-channel48 line-protocol
!
track 2 interface FastEthernet0/23 line-protocol
!
track 3 interface FastEthernet0/24 line-protocol
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
spanning-tree portfast bpduguard default
!
vlan internal allocation policy ascending
!
!
vlan 11
name Facilities1
!
vlan 12
name R&D1
!
vlan 13
name Sales1
!
vlan 14
name Voice1
!
vlan 20
name Server
!
vlan 21
name Facilities2
!
vlan 22
name R&D2
!
vlan 23
name Sales2
!
vlan 24
name Voice2
!
vlan 31
name Facilities3
!
vlan 32
name R&D3
!
vlan 33
name Sales3
!
vlan 34
name Voice3
!
vlan 41
name Facilities4
!
vlan 42
name R&D4
!
vlan 43
name Sales4
!
vlan 44
name Voice4
!
vlan 151
name WirelessFacilites
!
vlan 152
name WirelessRD
!
vlan 153
name WirelessSales
!
vlan 154
name WirelessVoice
!
vlan 155
name WirelessMGMT
!
vlan 156
name WirelessGuest
!
vlan 240
name IT
!
vlan 241
name WLCManagement
!
vlan 999
name BlackHole
!
vlan 1001
name Native
!
!
access-list 2 remark allow corporate into management
access-list 2 permit 10.0.0.0 0.0.255.255 log
access-list 2 permit 10.9.240.0 0.0.0.255 log
access-list 2 deny any log
!
access-list 1 remark For RD
access-list 1 permit 10.9.2.0 0.0.0.255 log
access-list 1 permit 10.9.240.0 0.0.0.255 log
access-list 1 deny any log
!
access-list 100 remark Server to int vlan 240
access-list 100 permit ip any host 10.9.240.8
access-list 100 permit ip 10.0.0.0 0.0.255.255 any log
access-list 100 deny ip any any log
!
!
interface Port-channel1
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 11-14,240,1001
switchport mode trunk
switchport nonegotiate
!
interface Port-channel2
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 21-24,240,1001
switchport mode trunk
switchport nonegotiate
!
interface Port-channel3
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 31-34,240,1001
switchport mode trunk
switchport nonegotiate
!
interface Port-channel4
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 41-44,240,1001
switchport mode trunk
switchport nonegotiate
!
interface Port-channel48
no switchport
ip address 10.9.0.41 255.255.255.252
!
interface FastEthernet0/1
no switchport
no ip address
channel-group 48 mode desirable non-silent
!
interface FastEthernet0/2
no switchport
no ip address
channel-group 48 mode desirable non-silent
!
interface FastEthernet0/3
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 11-14,240,1001
switchport mode trunk
switchport nonegotiate
channel-group 1 mode desirable non-silent
!
interface FastEthernet0/4
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 11-14,240,1001
switchport mode trunk
switchport nonegotiate
channel-group 1 mode desirable non-silent
!
interface FastEthernet0/5
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 21-24,240,1001
switchport mode trunk
switchport nonegotiate
channel-group 2 mode desirable non-silent
!
interface FastEthernet0/6
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 21-24,240,1001
switchport mode trunk
switchport nonegotiate
channel-group 2 mode desirable non-silent
!
interface FastEthernet0/7
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 31-34,240,1001
switchport mode trunk
switchport nonegotiate
channel-group 3 mode desirable non-silent
!
interface FastEthernet0/8
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 31-34,240,1001
switchport mode trunk
switchport nonegotiate
channel-group 3 mode desirable non-silent
!
interface FastEthernet0/9
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 41-44,240,1001
switchport mode trunk
switchport nonegotiate
channel-group 4 mode desirable non-silent
!
interface FastEthernet0/10
no spanning-tree portfast
switchport trunk encapsulation dot1q
switchport trunk native vlan 1001
switchport trunk allowed vlan 41-44,240,1001
switchport mode trunk
switchport nonegotiate
channel-group 4 mode desirable non-silent
!
!
interface FastEthernet0/13
switchport mode access
switchport access vlan 240
no shutdown
ip helper-address 10.9.240.8
!
!
interface FastEthernet0/23
no switchport
ip address 10.9.0.38 255.255.255.252
!
interface FastEthernet0/24
no switchport
ip address 10.9.0.26 255.255.255.252
!
interface GigabitEthernet0/1
no shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
switchport trunk allowed vlan 150-156
!
interface Vlan1
no ip address
shutdown
!
interface Vlan11
ip address 10.9.1.2 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.1.1
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
!
interface Vlan12
ip address 10.9.2.2 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.2.1
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
ip access-group 1 out
!
interface Vlan13
ip address 10.9.3.2 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.3.1
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
!
interface Vlan14
ip address 10.9.4.2 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.4.1
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
!
interface Vlan21
ip address 10.9.1.18 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.1.17
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
!
interface Vlan22
ip address 10.9.2.34 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.2.33
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
ip access-group 1 out
!
interface Vlan23
ip address 10.9.3.18 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.3.17
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
!
interface Vlan24
ip address 10.9.4.66 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.4.65
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
!
interface Vlan31
ip address 10.9.1.34 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.1.33
standby 1 preempt
standby 1 timers 1 3
!
interface Vlan32
ip address 10.9.2.66 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.2.65
standby 1 preempt
standby 1 timers 1 3
ip access-group 1 out
!
interface Vlan33
ip address 10.9.3.34 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.3.33
standby 1 preempt
standby 1 timers 1 3
!
interface Vlan34
ip address 10.9.4.130 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.4.129
standby 1 preempt
standby 1 timers 1 3
!
interface Vlan41
ip address 10.9.1.50 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.1.49
standby 1 preempt
standby 1 timers 1 3
!
interface Vlan42
ip address 10.9.2.130 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.2.129
standby 1 preempt
standby 1 timers 1 3
ip access-group 1 out
!
interface Vlan43
ip address 10.9.3.50 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.3.49
standby 1 preempt
standby 1 timers 1 3
!
interface Vlan44
ip address 10.9.4.194 255.255.255.240
ip helper-address 10.9.240.8
standby 1 ip 10.9.4.193
standby 1 preempt
standby 1 timers 1 3
!
interface Vlan151
ip address 10.9.151.1 255.255.255.0
ip helper-address 10.9.240.8
!
interface Vlan152
ip address 10.9.152.1 255.255.255.0
ip helper-address 10.9.240.8
!
interface Vlan153
ip address 10.9.153.1 255.255.255.0
ip helper-address 10.9.240.8
!
interface Vlan154
ip address 10.9.154.1 255.255.255.0
ip helper-address 10.9.240.8
!
interface Vlan155
ip address 10.9.155.1 255.255.255.0
ip helper-address 10.9.240.8
!
interface Vlan156
ip address 10.9.156.1 255.255.255.0
ip helper-address 10.9.240.8
!
interface Vlan240
ip address 10.9.240.2 255.255.255.0
standby 1 ip 10.9.240.1
standby 1 priority 150
standby 1 preempt
standby 1 timers 1 3
standby 1 track 1 decrement 20
standby 1 track 2 decrement 20
standby 1 track 3 decrement 20
ip access-group 100 out
!
interface Vlan241
ip address 10.9.241.1 255.255.255.0
!
router ospf 1
log-adjacency-changes
passive-interface FastEthernet0/3
passive-interface FastEthernet0/4
passive-interface FastEthernet0/5
passive-interface FastEthernet0/6
passive-interface FastEthernet0/7
passive-interface FastEthernet0/8
passive-interface FastEthernet0/9
passive-interface FastEthernet0/10
network 10.9.0.24 0.0.0.3 area 9
network 10.9.0.36 0.0.0.3 area 9
network 10.9.0.40 0.0.0.3 area 9
network 10.9.0.44 0.0.0.3 area 9
network 10.9.1.0 0.0.0.15 area 9
network 10.9.1.16 0.0.0.15 area 9
network 10.9.1.32 0.0.0.15 area 9
network 10.9.1.48 0.0.0.15 area 9
network 10.9.2.0 0.0.0.31 area 9
network 10.9.2.32 0.0.0.31 area 9
network 10.9.2.64 0.0.0.31 area 9
network 10.9.2.96 0.0.0.31 area 9
network 10.9.3.0 0.0.0.15 area 9
network 10.9.3.16 0.0.0.15 area 9
network 10.9.3.32 0.0.0.15 area 9
network 10.9.3.48 0.0.0.15 area 9
network 10.9.4.0 0.0.0.63 area 9
network 10.9.4.64 0.0.0.63 area 9
network 10.9.4.128 0.0.0.63 area 9
network 10.9.4.192 0.0.0.63 area 9
!
ip classless
ip http server
ip http secure-server
!
!
!
line con 0
exec-timeout 180 0
logging synchronous
line vty 0 4
exec-timeout 180 0
logging synchronous
login authentication default
access-class 2 in
line vty 5 15
login
!
ntp server 10.0.0.2
!
end