coresw, workshop leafs

This commit is contained in:
Vladimir Vitkov 2017-10-21 16:09:24 +03:00
parent eea274a5e7
commit 008f8d174c
3 changed files with 473 additions and 0 deletions

249
switch-configs/coresw.cfg Normal file
View File

@ -0,0 +1,249 @@
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! CORESW for OpenFest 2017
!
! HW: WS-C3560E-48TD
! SW: c3560e-universalk9-mz.122-40.SE.bin
!
! 2017.10.07 - initial configuration
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname coresw
!
enable password @EN_PW@
!
no aaa new-model
system mtu routing 1500
vtp mode transparent
ip subnet-zero
ip routing
ip name-server 10.20.0.1
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name openfest
!
!
vlan internal allocation policy ascending
!
vlan 2
name initlab
!
vlan 10
name of-ext
!
vlan 20
name of-mgmt
!
vlan 21
name of-wired
!
vlan 22
name of-wifi
!
vlan 23
name of-video
!
vlan 24
name of-overflow
!
vlan 25
name of-phones
!
!
interface FastEthernet0
no ip address
shutdown
!
interface GigabitEthernet0/1
description mrvocsw
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,23,25
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/2
description srvocsw
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,23,25
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/3
description receptionsw
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,21,25
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/4
description nocsw
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/5
description wssw1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,21
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/6
description wssw2
switchport trunk allowed vlan 20,21
switchport trunk encapsulation dot1q
switchport mode access
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/7
description presenter-mr
switchport access vlan 21
switchport mode access
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/8
description presenter-sr
switchport access vlan 21
switchport mode access
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/9
switchport access vlan 23
switchport mode access
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/10
switchport access vlan 23
switchport mode access
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface range GigabitEthernet0/11-16
description WIFI-AP
switchport trunk allowed vlan 20,22
switchport trunk encapsulation dot1q
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface range GigabitEthernet0/17-40
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface range GigabitEthernet0/41-46
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface GigabitEthernet0/47
description UPLINK
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/48
description UPLINK
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface range GigabitEthernet0/49-52
switchport mode dynamic desirable
shutdown
spanning-tree portfast trunk
!
interface range TenGigabitEthernet0/1-2
switchport mode dynamic desirable
shutdown
spanning-tree portfast trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan20
ip address 10.20.0.11 255.255.255.0
!
ip default-gateway 10.20.0.1
ip classless
no ip http server
no ip http secure-server
!
snmp-server community @SNMP_PW@ RO
snmp-server trap-source Vlan20
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps tty
snmp-server enable traps license
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps hsrp
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
snmp-server enable traps syslog
snmp-server enable traps mac-notification change move threshold
snmp-server enable traps vlan-membership
snmp-server enable traps errdisable
snmp-server host 10.20.0.1 version 2c @SNMP_PW@
!
control-plane
!
!
line con 0
line vty 0 4
password @PW@
login
line vty 5 15
password @PW@
login
!
ntp clock-period 36026825
ntp server 10.20.0.1
end

112
switch-configs/wssw1.cfg Normal file
View File

@ -0,0 +1,112 @@
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! WSSW1 for OpenFest 2017
!
! HW: WS-C3560-24PS
! SW: c3560-ipservicesk9-mz.122-52.SE.bin
!
! 2017.10.07 - initial configuration
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname wssw1
!
enable password @EN_PW@
!
no aaa new-model
system mtu routing 1500
vtp mode transparent
ip subnet-zero
ip routing
ip name-server 10.20.0.1
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name openfest
!
!
vlan internal allocation policy ascending
!
vlan 20
name of-mgmt
!
vlan 21
name of-wired
!
interface range FastEthernet0/1-24
description WORKSHOPS
switchport access vlan 21
switchport mode access
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface range GigabitEthernet0/1-2
description UPLINK
switchport trunk allowed vlan 20,21
switchport trunk encapsulation dot1q
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface Vlan1
no ip address
shutdown
!
interface Vlan20
ip address 10.20.0.24 255.255.255.0
!
ip default-gateway 10.20.0.1
ip classless
no ip http server
no ip http secure-server
!
snmp-server community @SNMP_PW@ RO
snmp-server trap-source Vlan20
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps tty
snmp-server enable traps license
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps hsrp
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
snmp-server enable traps syslog
snmp-server enable traps mac-notification change move threshold
snmp-server enable traps vlan-membership
snmp-server enable traps errdisable
snmp-server host 10.20.0.1 version 2c @SNMP_PW@
!
control-plane
!
!
line con 0
line vty 0 4
password @PW@
login
line vty 5 15
password @PW@
login
!
ntp clock-period 36026825
ntp server 10.20.0.1
end

112
switch-configs/wssw2.cfg Normal file
View File

@ -0,0 +1,112 @@
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! WSSW2 for OpenFest 2017
!
! HW: WS-C3560-24TS
! SW: c3560-ipservicesk9-mz.122-52.SE.bin
!
! 2017.10.07 - initial configuration
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname wssw2
!
enable password @EN_PW@
!
no aaa new-model
system mtu routing 1500
vtp mode transparent
ip subnet-zero
ip routing
ip name-server 10.20.0.1
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name openfest
!
!
vlan internal allocation policy ascending
!
vlan 20
name of-mgmt
!
vlan 21
name of-wired
!
interface range FastEthernet0/1-24
description WORKSHOPS
switchport access vlan 21
switchport mode access
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface range GigabitEthernet0/1-2
description UPLINK
switchport trunk allowed vlan 20,21
switchport trunk encapsulation dot1q
no cdp enable
spanning-tree portfast trunk
no shutdown
!
interface Vlan1
no ip address
shutdown
!
interface Vlan20
ip address 10.20.0.25 255.255.255.0
!
ip default-gateway 10.20.0.1
ip classless
no ip http server
no ip http secure-server
!
snmp-server community @SNMP_PW@ RO
snmp-server trap-source Vlan20
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps tty
snmp-server enable traps license
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps hsrp
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
snmp-server enable traps syslog
snmp-server enable traps mac-notification change move threshold
snmp-server enable traps vlan-membership
snmp-server enable traps errdisable
snmp-server host 10.20.0.1 version 2c @SNMP_PW@
!
control-plane
!
!
line con 0
line vty 0 4
password @PW@
login
line vty 5 15
password @PW@
login
!
ntp clock-period 36026825
ntp server 10.20.0.1
end