-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig_file_core_switch
737 lines (737 loc) · 17.3 KB
/
config_file_core_switch
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
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
version 17.9
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service call-home
service unsupported-transceiver
no platform punt-keepalive disable-kernel-core
!
hostname SWITCH_CORE
!
vrf definition Mgmt-vrf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
no aaa new-model
clock timezone PST -8 0
clock summer-time PDT recurring
boot system switch all flash:cat9k_iosxe.17.09.04a.SPA.bin
switch 1 provision c9300-24ux
switch 2 provision c9300-24ux
!
ip routing
!
ip name-server 8.8.8.8 8.8.4.4
ip domain name event.tech
ip dhcp excluded-address 10.10.240.1 10.10.240.20
ip dhcp excluded-address 10.20.240.1 10.20.240.20
ip dhcp excluded-address 192.168.255.1 192.168.255.20
!
ip dhcp pool Net_Mgmt
network 192.168.255.0 255.255.255.0
bootfile config_file_desktop_switch
next-server 172.17.0.2
default-router 192.168.255.1
dns-server 8.8.8.8 8.8.4.4
domain-name event.tech
lease 8
!
ip dhcp pool Users
network 10.10.240.0 255.255.240.0
default-router 10.10.240.1
dns-server 8.8.8.8 8.8.4.4
domain-name event.tech
lease 0 4
!
ip dhcp pool Video
network 10.20.240.0 255.255.240.0
default-router 10.20.240.1
dns-server 8.8.8.8 8.8.4.4
domain-name event.tech
lease 0 4
!
ip dhcp pool SWITCH_ACCESS_1
host 192.168.255.11 255.255.255.0
client-identifier 01d0.ec35.52f2.c7
!
ip dhcp pool SWITCH_ACCESS_2
host 192.168.255.12 255.255.255.0
client-identifier 012c.73a0.84c3.c7
!
ip dhcp pool SWITCH_ACCESS_3
host 192.168.255.13 255.255.255.0
client-identifier 012c.01b5.6920.47
!
ip dhcp pool SWITCH_ACCESS_4
host 192.168.255.14 255.255.255.0
client-identifier 01d0.ec35.5361.c7
!
ip dhcp pool SWITCH_ACCESS_5
host 192.168.255.15 255.255.255.0
client-identifier 01d0.ec35.4f6c.47
!
ip dhcp pool SWITCH_ACCESS_6
host 192.168.255.16 255.255.255.0
client-identifier 012c.73a0.9c6c.c7
!
login block-for 60 attempts 3 within 10
login delay 3
login on-success log
!
no device-tracking logging theft
!
crypto pki trustpoint SLA-TrustPoint
enrollment terminal
revocation-check crl
!
crypto pki certificate chain SLA-TrustPoint
!
crypto pki certificate pool
cabundle nvram:ios_core.p7b
!
license boot level network-advantage addon dna-advantage
license smart url https://smartreceiver.cisco.com/licservice/license
license smart url smart https://smartreceiver.cisco.com/licservice/license
license smart transport smart
license smart privacy hostname
license smart privacy version
!
archive
path flash:config
write-memory
memory free low-watermark processor 134344
hw-module switch 1 upoe-plus
hw-module switch 2 upoe-plus
!
diagnostic bootup level minimal
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
no errdisable detect cause all
!
username siteadmin privilege 15 secret 9 $9$8BxcXuyWur86w.$cNQlzKnWV8hxAc0yAITmD.5Zf4ruzOSMpDbKok/2ZbM
!
redundancy
mode sso
crypto engine compliance shield disable
!
transceiver type all
monitoring
!
class-map match-any system-cpp-police-ewlc-control
description EWLC Control
class-map match-any system-cpp-police-topology-control
description Topology control
class-map match-any system-cpp-police-sw-forward
description Sw forwarding, L2 LVX data packets, LOGGING, Transit Traffic
class-map match-any system-cpp-default
description EWLC Data, Inter FED Traffic
class-map match-any system-cpp-police-sys-data
description Openflow, Exception, EGR Exception, NFL Sampled Data, RPF Failed
class-map match-any system-cpp-police-punt-webauth
description Punt Webauth
class-map match-any system-cpp-police-l2lvx-control
description L2 LVX control packets
class-map match-any system-cpp-police-forus
description Forus Address resolution and Forus traffic
class-map match-any system-cpp-police-multicast-end-station
description MCAST END STATION
class-map match-any system-cpp-police-high-rate-app
description High Rate Applications
class-map match-any system-cpp-police-multicast
description MCAST Data
class-map match-any system-cpp-police-l2-control
description L2 control
class-map match-any system-cpp-police-dot1x-auth
description DOT1X Auth
class-map match-any system-cpp-police-data
description ICMP redirect, ICMP_GEN and BROADCAST
class-map match-any system-cpp-police-stackwise-virt-control
description Stackwise Virtual OOB
class-map match-any non-client-nrt-class
class-map match-any system-cpp-police-routing-control
description Routing control and Low Latency
class-map match-any system-cpp-police-protocol-snooping
description Protocol snooping
class-map match-any system-cpp-police-dhcp-snooping
description DHCP snooping
class-map match-any system-cpp-police-ios-routing
description L2 control, Topology control, Routing control, Low Latency
class-map match-any system-cpp-police-system-critical
description System Critical and Gold Pkt
class-map match-any system-cpp-police-ios-feature
description ICMPGEN,BROADCAST,ICMP,L2LVXCntrl,ProtoSnoop,PuntWebauth,MCASTData,Transit,DOT1XAuth,Swfwd,LOGGING,L2LVXData,ForusTraffic,ForusARP,McastEndStn,Openflow,Exception,EGRExcption,NflSampled,RpfFailed
!
policy-map system-cpp-policy
!
interface Loopback1
description 1.1
ip address 169.254.1.10 255.255.255.255
!
interface Port-channel11
description SWITCH_ACCESS_1
switchport mode trunk
!
interface Port-channel12
description SWITCH_ACCESS_2
switchport mode trunk
!
interface Port-channel13
description SWITCH_ACCESS_3
switchport mode trunk
!
interface Port-channel14
description SWITCH_ACCESS_4
switchport mode trunk
!
interface Port-channel15
description SWITCH_ACCESS_5
switchport mode trunk
!
interface Port-channel16
description SWITCH_ACCESS_6
switchport mode trunk
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
no ip address
shutdown
negotiation auto
!
interface TenGigabitEthernet1/0/1
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/2
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/3
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/4
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/5
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/6
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/7
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/8
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/9
description User
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet1/0/10
description User
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet1/0/11
description User
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet1/0/12
description User
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet1/0/13
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/14
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/15
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/16
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/17
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/18
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/19
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/20
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet1/0/21
description Net_Mgmt
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet1/0/22
description Net_Mgmt
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet1/0/23
description Net_Mgmt
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet1/0/24
description Net_Mgmt
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface TenGigabitEthernet1/1/1
description SWITCH_ACCESS_1
switchport mode trunk
channel-group 11 mode on
!
interface TenGigabitEthernet1/1/2
description SWITCH_ACCESS_2
switchport mode trunk
channel-group 12 mode on
!
interface TenGigabitEthernet1/1/3
description SWITCH_ACCESS_3
switchport mode trunk
channel-group 13 mode on
!
interface TenGigabitEthernet1/1/4
description SWITCH_ACCESS_4
switchport mode trunk
channel-group 14 mode on
!
interface TenGigabitEthernet1/1/5
description SWITCH_ACCESS_5
switchport mode trunk
channel-group 15 mode on
!
interface TenGigabitEthernet1/1/6
description SWITCH_ACCESS_6
switchport mode trunk
channel-group 16 mode on
!
interface TenGigabitEthernet1/1/7
shutdown
!
interface TenGigabitEthernet1/1/8
description ROUTER_1
no switchport
ip address 192.168.254.2 255.255.255.252
ip ospf network point-to-point
!
interface FortyGigabitEthernet1/1/1
shutdown
!
interface FortyGigabitEthernet1/1/2
shutdown
!
interface TwentyFiveGigE1/1/1
shutdown
!
interface TwentyFiveGigE1/1/2
shutdown
!
interface AppGigabitEthernet1/0/1
switchport mode trunk
!
interface TenGigabitEthernet2/0/1
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/2
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/3
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/4
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/5
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/6
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/7
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/8
description User
switchport access vlan 10
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/9
description User
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet2/0/10
description User
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet2/0/11
description User
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet2/0/12
description User
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet2/0/13
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/14
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/15
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/16
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/17
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/18
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/19
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/20
description Video
switchport access vlan 20
switchport mode access
shutdown
spanning-tree portfast
!
interface TenGigabitEthernet2/0/21
description Net_Mgmt
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet2/0/22
description Net_Mgmt
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet2/0/23
description Net_Mgmt
switchport mode access
spanning-tree portfast
!
interface TenGigabitEthernet2/0/24
description Net_Mgmt
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet2/1/1
!
interface GigabitEthernet2/1/2
!
interface GigabitEthernet2/1/3
!
interface GigabitEthernet2/1/4
!
interface TenGigabitEthernet2/1/1
description SWITCH_ACCESS_1
switchport mode trunk
channel-group 11 mode on
!
interface TenGigabitEthernet2/1/2
description SWITCH_ACCESS_2
switchport mode trunk
channel-group 12 mode on
!
interface TenGigabitEthernet2/1/3
description SWITCH_ACCESS_3
switchport mode trunk
channel-group 13 mode on
!
interface TenGigabitEthernet2/1/4
description SWITCH_ACCESS_4
switchport mode trunk
channel-group 14 mode on
!
interface TenGigabitEthernet2/1/5
description SWITCH_ACCESS_5
switchport mode trunk
channel-group 15 mode on
!
interface TenGigabitEthernet2/1/6
description SWITCH_ACCESS_6
switchport mode trunk
channel-group 16 mode on
!
interface TenGigabitEthernet2/1/7
shutdown
!
interface TenGigabitEthernet2/1/8
description ROUTER_2
no switchport
ip address 192.168.254.6 255.255.255.252
ip ospf network point-to-point
!
interface FortyGigabitEthernet2/1/1
shutdown
!
interface FortyGigabitEthernet2/1/2
shutdown
!
interface TwentyFiveGigE2/1/1
shutdown
!
interface TwentyFiveGigE2/1/2
shutdown
!
interface AppGigabitEthernet2/0/1
!
interface Vlan1
description Net_Mgmt
ip address 192.168.255.1 255.255.255.0
!
interface Vlan10
description Users
ip address 10.10.240.1 255.255.240.0
!
interface Vlan20
description Video
ip address 10.20.240.1 255.255.240.0
ip policy route-map Video
!
router ospf 1
router-id 169.254.1.10
redistribute static
passive-interface default
no passive-interface TenGigabitEthernet1/1/8
no passive-interface TenGigabitEthernet2/1/8
network 10.10.240.0 0.0.15.255 area 0
network 10.20.240.0 0.0.15.255 area 0
network 192.168.254.2 0.0.0.0 area 0
network 192.168.254.6 0.0.0.0 area 0
network 192.168.255.0 0.0.0.255 area 0
!
iox
ip forward-protocol nd
no ip http server
no ip http secure-server
ip http client source-interface Vlan1
ip tftp source-interface Vlan1
ip route 172.18.0.0 255.255.0.0 192.168.255.5 name Docker
ip ssh time-out 30
ip ssh authentication-retries 2
ip ssh source-interface Vlan1
ip ssh version 2
!
ip access-list standard SSH
10 permit 192.168.255.0 0.0.0.255
!
ip access-list extended Video
10 permit ip 10.20.240.0 0.0.15.255 any
!
route-map Video permit 10
match ip address Video
set ip next-hop 192.168.254.5
!
control-plane
service-policy input system-cpp-policy
!
line con 0
session-timeout 10
logging synchronous
login local
transport preferred none
transport output ssh
stopbits 1
line vty 0 4
session-timeout 10
access-class SSH in
logging synchronous
login local
transport preferred ssh
transport input ssh
transport output ssh
line vty 5 15
session-timeout 10
access-class SSH in
logging synchronous
login local
transport preferred ssh
transport input ssh
transport output ssh
line vty 16 31
no login
transport input none
!
call-home
! If contact email address in call-home is configured as [email protected]
! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications.
contact-email-addr [email protected]
source-interface Vlan1
profile "CiscoTAC-1"
active
anonymous-reporting-only
destination transport-method http
!
ntp server ip time.cloudflare.com source Vlan1
!
app-hosting appid netbeez
app-vnic AppGigabitEthernet trunk
vlan 10 guest-interface 0
app-resource docker
app-resource profile custom
cpu 7400
memory 1000
persist-disk 4000
end