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