Merge pull request #13 from robotpanic/patch-1

CoreSwitch production
This commit is contained in:
Vladimir Vitkov 2018-11-03 11:57:19 +02:00 committed by GitHub
commit 9bc32503ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 91 additions and 67 deletions

View File

@ -1,6 +1,6 @@
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! !
! CORESW for OpenFest 2017 ! CORESW for OpenFest 2018
! !
! HW: WS-C3560E-48TD ! HW: WS-C3560E-48TD
! SW: c3560e-universalk9-mz.122-40.SE.bin ! SW: c3560e-universalk9-mz.122-40.SE.bin
@ -17,7 +17,7 @@ service unsupported-transceiver
! !
hostname coresw hostname coresw
! !
enable password @EN_PW@ enable password @PW@
! !
no aaa new-model no aaa new-model
system mtu routing 1500 system mtu routing 1500
@ -70,99 +70,107 @@ vlan 25
! !
vlan 26 vlan 26
name security name security
! !
vlan 999 vlan 128
name tmptp
!
vlan 999
name ipacct name ipacct
! !
vlan 2464 vlan 1028
!
vlan 2464
name techpark name techpark
! !
! !
interface Port-channel1 interface Port-channel1
description eric-trunk description eric/bond
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,2464 switchport trunk allowed vlan 2,10,20-26,999,1028,2464
switchport mode trunk switchport mode trunk
spanning-tree portfast trunk !
spanning-tree bpdufilter enable interface Port-channel2
spanning-tree bpduguard enable description eric2/bond
! switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,1028,2464
switchport mode trunk
!
interface Port-channel7 interface Port-channel7
description L2-TRUNK description L2-WIFI-TRUNK
switchport access vlan 23
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-25,999,2464 switchport trunk allowed vlan 20-25,999,2464
switchport mode trunk switchport mode trunk
spanning-tree portfast trunk spanning-tree portfast trunk
spanning-tree bpdufilter enable spanning-tree bpdufilter enable
spanning-tree bpduguard enable spanning-tree bpduguard enable
! !
interface FastEthernet0 interface FastEthernet0
no ip address no ip address
shutdown shutdown
! !
interface GigabitEthernet0/1 interface GigabitEthernet0/1
description vocsw-A description vocsw-A
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,23,25 switchport trunk allowed vlan 20-25
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/2 interface GigabitEthernet0/2
description vocsw-B description vocsw-B
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,23,25 switchport trunk allowed vlan 20-25
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/3 interface GigabitEthernet0/3
description vocsw-C description vocsw-C
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-23,25 switchport trunk allowed vlan 20-26
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/4 interface GigabitEthernet0/4
description nocsw description reception
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25,999,2464 switchport trunk allowed vlan 2,10,20-25
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/5 interface GigabitEthernet0/5
description receptionsw description team-sw
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,21,25,26 switchport trunk allowed vlan 20-25
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/6 interface GigabitEthernet0/6
description spare description wssw2
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,21 switchport trunk allowed vlan 20,21
switchport mode access switchport mode access
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
shutdown !
!
interface GigabitEthernet0/7 interface GigabitEthernet0/7
description presenter-A description presenter-mr
switchport access vlan 21
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/8
description presenter-B
switchport access vlan 21 switchport access vlan 21
switchport mode access switchport mode access
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/8
description presenter-sr
switchport access vlan 21
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/9 interface GigabitEthernet0/9
description port-chan-1 description port-chan-1
switchport access vlan 23 switchport access vlan 23
@ -214,7 +222,7 @@ interface GigabitEthernet0/14
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/15 interface GigabitEthernet0/15
description WIFI-AP description WIFI-AP
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
@ -240,8 +248,9 @@ interface GigabitEthernet0/17
! !
interface GigabitEthernet0/18 interface GigabitEthernet0/18
description OVERFLOW description OVERFLOW
switchport access vlan 24 switchport trunk encapsulation dot1q
switchport mode access switchport trunk allowed vlan 20-25
switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
@ -290,7 +299,7 @@ interface GigabitEthernet0/25
! !
interface GigabitEthernet0/26 interface GigabitEthernet0/26
description test-phone description test-phone
switchport access vlan 25 switchport access vlan 20
switchport mode access switchport mode access
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
@ -324,8 +333,10 @@ interface GigabitEthernet0/30
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/31 interface GigabitEthernet0/31
description SHUTDOWN description WIFI-AP
shutdown switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
@ -355,7 +366,7 @@ interface GigabitEthernet0/35
! !
interface GigabitEthernet0/36 interface GigabitEthernet0/36
description SHUTDOWN description SHUTDOWN
shutdown shutdown
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
@ -370,7 +381,7 @@ interface GigabitEthernet0/38
shutdown shutdown
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/39 interface GigabitEthernet0/39
description SHUTDOWN description SHUTDOWN
shutdown shutdown
@ -384,11 +395,15 @@ interface GigabitEthernet0/40
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/41 interface GigabitEthernet0/41
description techpark
switchport access vlan 2464
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25 switchport trunk allowed vlan 2,10,20-25
switchport mode trunk switchport mode access
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
! !
interface GigabitEthernet0/42 interface GigabitEthernet0/42
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
@ -398,38 +413,41 @@ interface GigabitEthernet0/42
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/43 interface GigabitEthernet0/43
description eric2
switchport access vlan 23
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25 switchport trunk allowed vlan 2,10,20-26,999,1028,2464
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/44 interface GigabitEthernet0/44
description eric2/backup description eric2
switchport access vlan 23
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,2464 switchport trunk allowed vlan 2,10,20-26,999,1028,2464
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/45 interface GigabitEthernet0/45
description eric/p1 description eric/p2
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,2464 switchport trunk allowed vlan 2,10,20-26,999,1028,2464
switchport mode trunk switchport mode trunk
channel-group 1 mode active
channel-protocol lacp
no cdp enable no cdp enable
channel-protocol lacp
channel-group 1 mode active
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/46 interface GigabitEthernet0/46
description eric/p2 description eric/p1
switchport trunk encapsulation dot1q switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,2464 switchport trunk allowed vlan 2,10,20-26,999,1028,2464
channel-group 1 mode active
channel-protocol lacp
switchport mode trunk switchport mode trunk
no cdp enable no cdp enable
channel-protocol lacp
channel-group 1 mode active
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/47 interface GigabitEthernet0/47
@ -449,8 +467,12 @@ interface GigabitEthernet0/48
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/49 interface GigabitEthernet0/49
switchport mode dynamic desirable description ipacct
shutdown switchport access vlan 999
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1028
switchport mode access
no cdp enable
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/50 interface GigabitEthernet0/50
@ -464,8 +486,10 @@ interface GigabitEthernet0/51
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface GigabitEthernet0/52 interface GigabitEthernet0/52
switchport mode dynamic desirable description fl2switch
shutdown switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25
switchport mode trunk
spanning-tree portfast trunk spanning-tree portfast trunk
! !
interface TenGigabitEthernet0/1 interface TenGigabitEthernet0/1
@ -528,7 +552,7 @@ line vty 5 15
exec-timeout 0 0 exec-timeout 0 0
password @PW@ password @PW@
login login
! !
ntp clock-period 36026772 ntp clock-period 36026838
ntp server 10.20.0.1 ntp server 10.20.0.1
end end