Add switch configs

This commit is contained in:
Albert Stefanov 2023-11-11 09:45:43 +02:00
parent db5c5f0e03
commit 52e2ab2800
9 changed files with 2020 additions and 0 deletions

398
switch-configs/core.conf Normal file
View File

@ -0,0 +1,398 @@
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log datetime msec
no service password-encryption
service sequence-numbers
service unsupported-transceiver
!
hostname core-sw
!
boot-start-marker
boot-end-marker
!
enable secret @_PW_@
!
!
!
no aaa new-model
switch 1 provision ws-c3750e-48pd
system mtu routing 1500
ip routing
!
!
ip name-server 10.20.0.2
vtp mode off
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
no spanning-tree vlan 999
spanning-tree vlan 1,10,20-27 priority 0
!
!
!
!
vlan internal allocation policy ascending
!
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-reception
!
vlan 26
name of-phone
!
vlan 27
name of-workshop
!
vlan 999
name ipacct
!
lldp run
!
!
!
interface FastEthernet0
no ip address
no ip route-cache cef
no ip route-cache
no ip mroute-cache
!
interface GigabitEthernet1/0/1
description Debug
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface GigabitEthernet1/0/2
description Debug
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/14
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/15
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/16
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/17
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/18
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/19
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/20
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/21
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/22
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/23
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/24
description switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/25
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/26
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/27
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/28
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/29
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/30
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/31
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/32
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/33
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/34
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/35
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/36
description AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/37
!
interface GigabitEthernet1/0/38
!
interface GigabitEthernet1/0/39
!
interface GigabitEthernet1/0/40
!
interface GigabitEthernet1/0/41
!
interface GigabitEthernet1/0/42
!
interface GigabitEthernet1/0/43
switchport access vlan 10
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface GigabitEthernet1/0/44
switchport access vlan 10
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface GigabitEthernet1/0/45
description server mirror
switchport access vlan 22
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20-27,999
switchport mode access
switchport nonegotiate
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/46
description server
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20-27,999
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/47
description server-IPMI
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/48
description server
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20-27,999
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/49
!
interface GigabitEthernet1/0/50
!
interface GigabitEthernet1/0/51
description floor0-sw
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/52
description uplink-gkc
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,999
switchport mode trunk
no cdp enable
no lldp transmit
spanning-tree portfast trunk
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface TenGigabitEthernet1/0/1
description server
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface TenGigabitEthernet1/0/2
!
interface Vlan1
no ip address
!
interface Vlan20
ip address 10.20.0.11 255.255.255.0
!
ip default-gateway 10.20.0.1
ip classless
!
ip http server
ip http secure-server
!
logging history informational
logging 10.20.0.253
!
snmp-server community @_SNMP_@ RO
!
!
line con 0
line vty 0 4
password @_PW_@
login
line vty 5 15
password @_PW_@
login
!
end

165
switch-configs/fl0.conf Normal file
View File

@ -0,0 +1,165 @@
!TL-SG3210
#
vlan 20-27
#
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-reception"
#
vlan 26
name "of-phone"
#
vlan 27
name "of-workshop"
#
#
#
#
hostname "floor0-sw"
#
mac address-table aging-time 300
#
logging buffer 6
no logging file flash
#
enable secret @_PW_@
#
system-time ntp UTC+02:00 10.20.0.1 10.20.0.1 4
#
spanning-tree mode rstp
#
#
user name @_USER_@ privilege admin secret @_PW_@
#
#
#
#
#
#
snmp-server
snmp-server engineID local 80002e5703c46e1f44c0a8
snmp-server community "@_SNMP_@" read-only "viewDefault"
#
interface gigabitEthernet 1/0/1
switchport mode trunk
switchport trunk allowed vlan 20,22
description "ap-ws-1"
#
interface gigabitEthernet 1/0/2
switchport mode trunk
switchport trunk allowed vlan 20,22
description "ap-ws-2"
#
interface gigabitEthernet 1/0/3
switchport access vlan 24
#
interface gigabitEthernet 1/0/4
#
interface gigabitEthernet 1/0/5
#
interface gigabitEthernet 1/0/6
#
interface gigabitEthernet 1/0/7
#
interface gigabitEthernet 1/0/8
switchport mode trunk
switchport trunk allowed vlan 20-27
description "noc-sw"
#
interface gigabitEthernet 1/0/9
switchport mode trunk
switchport trunk allowed vlan 20-27
speed 1000
duplex full
#
interface gigabitEthernet 1/0/10
switchport mode trunk
switchport trunk allowed vlan 20-27
description "uplink/coresw MM"
speed 1000
duplex full
#
ip management-vlan 20
interface vlan 20
ip address 10.20.0.15 255.255.255.0 10.20.0.1
#
#
line vty 0 0
password @_PW_@
login
#
line vty 1 1
password @_PW_@
login
#
line vty 2 2
password @_PW_@
login
#
line vty 3 3
password @_PW_@
login
#
line vty 4 4
password @_PW_@
login
#
line vty 5 5
password @_PW_@
login
#
line vty 6 6
password @_PW_@
login
#
line vty 7 7
password @_PW_@
login
#
line vty 8 8
password @_PW_@
login
#
line vty 9 9
password @_PW_@
login
#
line vty 10 10
password @_PW_@
login
#
line vty 11 11
password @_PW_@
login
#
line vty 12 12
password @_PW_@
login
#
line vty 13 13
password @_PW_@
login
#
line vty 14 14
password @_PW_@
login
#
line vty 15 15
password @_PW_@
login
#
end

205
switch-configs/gkc.conf Normal file
View File

@ -0,0 +1,205 @@
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service unsupported-transceiver
!
hostname uplink-gkc
!
boot-start-marker
boot-end-marker
!
enable secret @_PW_@
!
username @_USER_@ secret @_PW_@
no aaa new-model
system mtu routing 1500
authentication mac-move permit
!
!
!
!
!
!
no errdisable detect cause gbic-invalid
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
interface FastEthernet0/1
description debug
switchport access vlan 999
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/2
shutdown
spanning-tree portfast
!
interface FastEthernet0/3
shutdown
spanning-tree portfast
!
interface FastEthernet0/4
shutdown
spanning-tree portfast
!
interface FastEthernet0/5
shutdown
spanning-tree portfast
!
interface FastEthernet0/6
shutdown
spanning-tree portfast
!
interface FastEthernet0/7
shutdown
spanning-tree portfast
!
interface FastEthernet0/8
shutdown
spanning-tree portfast
!
interface FastEthernet0/9
shutdown
spanning-tree portfast
!
interface FastEthernet0/10
shutdown
spanning-tree portfast
!
interface FastEthernet0/11
shutdown
spanning-tree portfast
!
interface FastEthernet0/12
shutdown
spanning-tree portfast
!
interface FastEthernet0/13
shutdown
spanning-tree portfast
!
interface FastEthernet0/14
shutdown
spanning-tree portfast
!
interface FastEthernet0/15
shutdown
spanning-tree portfast
!
interface FastEthernet0/16
shutdown
spanning-tree portfast
!
interface FastEthernet0/17
shutdown
spanning-tree portfast
!
interface FastEthernet0/18
shutdown
no cdp enable
spanning-tree portfast
!
interface FastEthernet0/19
shutdown
spanning-tree portfast
!
interface FastEthernet0/20
shutdown
spanning-tree portfast
!
interface FastEthernet0/21
shutdown
spanning-tree portfast
!
interface FastEthernet0/22
shutdown
spanning-tree portfast
!
interface FastEthernet0/23
shutdown
spanning-tree portfast
!
interface FastEthernet0/24
shutdown
spanning-tree portfast
!
interface GigabitEthernet0/1
description john_atanasoff
switchport access vlan 999
switchport trunk allowed vlan 20,999
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/2
description switchboard
switchport access vlan 999
switchport trunk allowed vlan 20,999
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan20
ip address 10.20.0.12 255.255.255.0
no ip route-cache
!
ip default-gateway 10.20.0.1
ip http server
ip http secure-server
snmp-server community @_SNMP_@ RO
snmp-server location techpark-gkc
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 cluster
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 auth-framework sec-violation
snmp-server enable traps dot1x auth-fail-vlan guest-vlan no-auth-fail-vlan no-guest-vlan
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps power-ethernet police
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps config-ctid
snmp-server enable traps energywise
snmp-server enable traps event-manager
snmp-server enable traps vstack
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
!
!
line con 0
exec-timeout 0 0
password @_PW_@
login
line vty 0 4
password @_PW_@
login
line vty 5 15
password @_PW_@
login
!
end

448
switch-configs/noc.conf Normal file
View File

@ -0,0 +1,448 @@
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service unsupported-transceiver
!
hostname noc-sw
!
enable secret @_PW_@
!
no aaa new-model
switch 1 provision ws-c3750g-48ts
switch 3 provision ws-c3750g-48ts
system mtu routing 1500
ip subnet-zero
ip name-server 10.20.0.2
!
!
!
!
!
!
no file verify auto
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface GigabitEthernet1/0/1
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/2
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/3
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/4
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/5
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/6
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/7
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/8
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/9
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/10
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/11
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/12
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/13
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/14
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/15
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/16
switchport access vlan 20
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/17
switchport access vlan 21
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/18
switchport access vlan 21
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/19
switchport access vlan 21
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/20
switchport access vlan 21
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/21
switchport access vlan 22
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/22
switchport access vlan 22
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/23
switchport access vlan 22
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/24
switchport access vlan 22
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/25
switchport access vlan 23
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/26
switchport access vlan 23
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/27
switchport access vlan 23
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/28
switchport access vlan 23
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/29
switchport access vlan 24
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/30
switchport access vlan 24
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/31
switchport access vlan 24
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/32
switchport access vlan 24
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/33
switchport access vlan 25
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/34
switchport access vlan 25
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/35
switchport access vlan 25
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/36
switchport access vlan 25
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/37
switchport access vlan 26
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/38
switchport access vlan 26
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/39
switchport access vlan 26
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/40
switchport access vlan 26
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet1/0/41
spanning-tree portfast
!
interface GigabitEthernet1/0/42
spanning-tree portfast
!
interface GigabitEthernet1/0/43
spanning-tree portfast
!
interface GigabitEthernet1/0/44
spanning-tree portfast
!
interface GigabitEthernet1/0/45
!
interface GigabitEthernet1/0/46
!
interface GigabitEthernet1/0/47
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/48
description uplink floor0-sw
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/49
!
interface GigabitEthernet1/0/50
!
interface GigabitEthernet1/0/51
!
interface GigabitEthernet1/0/52
description ap-noc
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-27
switchport mode trunk
switchport nonegotiate
spanning-tree portfast trunk
!
interface GigabitEthernet3/0/1
!
interface GigabitEthernet3/0/2
!
interface GigabitEthernet3/0/3
!
interface GigabitEthernet3/0/4
!
interface GigabitEthernet3/0/5
!
interface GigabitEthernet3/0/6
!
interface GigabitEthernet3/0/7
!
interface GigabitEthernet3/0/8
!
interface GigabitEthernet3/0/9
!
interface GigabitEthernet3/0/10
!
interface GigabitEthernet3/0/11
!
interface GigabitEthernet3/0/12
!
interface GigabitEthernet3/0/13
!
interface GigabitEthernet3/0/14
!
interface GigabitEthernet3/0/15
!
interface GigabitEthernet3/0/16
!
interface GigabitEthernet3/0/17
!
interface GigabitEthernet3/0/18
!
interface GigabitEthernet3/0/19
!
interface GigabitEthernet3/0/20
!
interface GigabitEthernet3/0/21
!
interface GigabitEthernet3/0/22
!
interface GigabitEthernet3/0/23
!
interface GigabitEthernet3/0/24
!
interface GigabitEthernet3/0/25
!
interface GigabitEthernet3/0/26
!
interface GigabitEthernet3/0/27
!
interface GigabitEthernet3/0/28
!
interface GigabitEthernet3/0/29
!
interface GigabitEthernet3/0/30
!
interface GigabitEthernet3/0/31
!
interface GigabitEthernet3/0/32
!
interface GigabitEthernet3/0/33
!
interface GigabitEthernet3/0/34
!
interface GigabitEthernet3/0/35
!
interface GigabitEthernet3/0/36
!
interface GigabitEthernet3/0/37
!
interface GigabitEthernet3/0/38
!
interface GigabitEthernet3/0/39
!
interface GigabitEthernet3/0/40
!
interface GigabitEthernet3/0/41
!
interface GigabitEthernet3/0/42
!
interface GigabitEthernet3/0/43
!
interface GigabitEthernet3/0/44
!
interface GigabitEthernet3/0/45
!
interface GigabitEthernet3/0/46
!
interface GigabitEthernet3/0/47
!
interface GigabitEthernet3/0/48
!
interface GigabitEthernet3/0/49
!
interface GigabitEthernet3/0/50
!
interface GigabitEthernet3/0/51
!
interface GigabitEthernet3/0/52
!
interface Vlan1
no ip address
shutdown
!
interface Vlan20
ip address 10.20.0.28 255.255.255.0
!
ip default-gateway 10.20.0.1
ip classless
ip http server
ip http secure-server
!
snmp-server community @_SNMP_@ RO
snmp-server enable traps license
!
control-plane
!
!
line con 0
password @_PW_@
login
line vty 0 4
password @_PW_@
login
line vty 5 15
password @_PW_@
login
!
end

View File

@ -0,0 +1,158 @@
!TL-SG3210
#
vlan 20-27
#
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-reception"
#
vlan 26
name "of-phone"
#
vlan 27
name "of-workshop"
#
#
#
#
hostname "reception-sw"
#
mac address-table aging-time 300
#
logging buffer 6
no logging file flash
#
enable secret @_PW_@
#
system-time ntp UTC+02:00 10.20.0.1 10.20.0.1 4
#
spanning-tree mode rstp
#
#
user name @_USER_@ privilege admin secret @_PW_@
#
#
#
#
#
snmp-server
snmp-server community @_SNMP_@ read-only "viewDefault"
#
interface gigabitEthernet 1/0/1
switchport access vlan 26
#
interface gigabitEthernet 1/0/2
switchport access vlan 25
#
interface gigabitEthernet 1/0/3
switchport access vlan 25
#
interface gigabitEthernet 1/0/4
switchport access vlan 25
#
interface gigabitEthernet 1/0/5
switchport access vlan 25
#
interface gigabitEthernet 1/0/6
switchport access vlan 25
#
interface gigabitEthernet 1/0/7
switchport access vlan 25
#
interface gigabitEthernet 1/0/8
switchport mode trunk
switchport trunk allowed vlan 20-27
description "uplink/coresw"
#
interface gigabitEthernet 1/0/9
speed 1000
duplex full
#
interface gigabitEthernet 1/0/10
speed 1000
duplex full
#
ip management-vlan 20
interface vlan 20
ip address 10.20.0.25 255.255.255.0 10.20.0.1
#
#
line vty 0 0
password @_PW_@
login
#
line vty 1 1
password @_PW_@
login
#
line vty 2 2
password @_PW_@
login
#
line vty 3 3
password @_PW_@
login
#
line vty 4 4
password @_PW_@
login
#
line vty 5 5
password @_PW_@
login
#
line vty 6 6
password @_PW_@
login
#
line vty 7 7
password @_PW_@
login
#
line vty 8 8
password @_PW_@
login
#
line vty 9 9
password @_PW_@
login
#
line vty 10 10
password @_PW_@
login
#
line vty 11 11
password @_PW_@
login
#
line vty 12 12
password @_PW_@
login
#
line vty 13 13
password @_PW_@
login
#
line vty 14 14
password @_PW_@
login
#
line vty 15 15
password @_PW_@
login
#
end

172
switch-configs/team.conf Normal file
View File

@ -0,0 +1,172 @@
!TL-SG3210
#
vlan 20-27
#
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-reception"
#
vlan 26
name "of-phone"
#
vlan 27
name "of-workshop"
#
#
#
#
hostname "team-sw"
#
mac address-table aging-time 300
#
logging buffer 6
no logging file flash
#
enable password @_PW_@
#
system-time ntp UTC+02:00 10.20.0.1 10.20.0.1 4
#
spanning-tree mode rstp
#
#
#
#
#
#
#
#
snmp-server
snmp-server engineID local 80002e5703c4e984a95ef2
snmp-server community @_SNMP_@ read-only viewDefault
#
#
interface gigabitEthernet 1/0/1
switchport access vlan 26
#
interface gigabitEthernet 1/0/2
switchport access vlan 24
#
interface gigabitEthernet 1/0/3
switchport mode trunk
switchport trunk allowed vlan 20-27
#
interface gigabitEthernet 1/0/4
#
interface gigabitEthernet 1/0/5
#
interface gigabitEthernet 1/0/6
#
interface gigabitEthernet 1/0/7
#
interface gigabitEthernet 1/0/8
switchport mode trunk
switchport trunk allowed vlan 20-27
description "uplink/coresw"
#
interface gigabitEthernet 1/0/9
speed 1000
#
interface gigabitEthernet 1/0/10
speed 1000
#
ip management-vlan 20
interface vlan 20
ip address 10.20.0.26 255.255.255.0 10.20.0.1
#
line vty 0 0
password @_PW_@
login
#
line vty 1 1
password @_PW_@
login
#
line vty 2 2
password @_PW_@
login
#
line vty 3 3
password @_PW_@
login
#
line vty 4 4
password @_PW_@
login
#
line vty 5 5
password @_PW_@
login
#
line vty 6 6
password @_PW_@
login
#
line vty 7 7
password @_PW_@
login
#
line vty 8 8
password @_PW_@
login
#
line vty 9 9
password @_PW_@
login
#
line vty 10 10
password @_PW_@
login
#
line vty 11 11
password @_PW_@
login
#
line vty 12 12
password @_PW_@
login
#
line vty 13 13
password @_PW_@
login
#
line vty 14 14
password @_PW_@
login
#
line vty 15 15
password @_PW_@
login
#
end

155
switch-configs/voc-A.conf Normal file
View File

@ -0,0 +1,155 @@
!TL-SG3210
#
vlan 20-27
#
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-reception"
#
vlan 26
name "of-phone"
#
vlan 27
name "of-workshop"
#
#
#
#
hostname "vocsw-A"
#
mac address-table aging-time 300
#
logging buffer 6
no logging file flash
#
enable secret @_PW_@
#
system-time ntp UTC+02:00 10.20.0.1 10.20.0.1 4
#
spanning-tree mode rstp
#
#
user name @_USER_@ privilege admin secret @_PW_@
#
#
#
#
#
#
snmp-server
snmp-server community @_SNMP_@ read-only "viewDefault"
#
interface gigabitEthernet 1/0/1
switchport access vlan 26
#
interface gigabitEthernet 1/0/2
switchport access vlan 23
#
interface gigabitEthernet 1/0/3
switchport access vlan 23
#
interface gigabitEthernet 1/0/4
#
interface gigabitEthernet 1/0/5
#
interface gigabitEthernet 1/0/6
#
interface gigabitEthernet 1/0/7
#
interface gigabitEthernet 1/0/8
switchport mode trunk
switchport trunk allowed vlan 20-27
description "uplink/coresw"
#
interface gigabitEthernet 1/0/9
speed 1000
duplex full
#
interface gigabitEthernet 1/0/10
speed 1000
duplex full
#
ip management-vlan 20
interface vlan 20
ip address 10.20.0.21 255.255.255.0 10.20.0.1
#
#
line vty 0 0
password @_PW_@
login
#
line vty 1 1
password @_PW_@
login
#
line vty 2 2
password @_PW_@
login
#
line vty 3 3
password @_PW_@
login
#
line vty 4 4
password @_PW_@
login
#
line vty 5 5
password @_PW_@
login
#
line vty 6 6
password @_PW_@
login
#
line vty 7 7
password @_PW_@
login
#
line vty 8 8
password @_PW_@
login
#
line vty 9 9
password @_PW_@
login
#
line vty 10 10
password @_PW_@
login
#
line vty 11 11
password @_PW_@
login
#
line vty 12 12
password @_PW_@
login
#
line vty 13 13
password @_PW_@
login
#
line vty 14 14
password @_PW_@
login
#
line vty 15 15
password @_PW_@
login
#
end

159
switch-configs/voc-B.conf Normal file
View File

@ -0,0 +1,159 @@
!TL-SG3210
#
vlan 20-27
#
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-reception"
#
vlan 26
name "of-phone"
#
vlan 27
name "of-workshop"
#
#
#
#
hostname "vocsw-B"
#
mac address-table aging-time 300
#
logging buffer 6
no logging file flash
#
enable secret @_PW_@
#
system-time ntp UTC+02:00 10.20.0.1 10.20.0.1 4
#
spanning-tree mode rstp
#
#
user name @_USER_@ privilege admin secret @_PW_@
#
#
#
#
#
#
snmp-server
snmp-server community @_SNMP_@ read-only "viewDefault"
#
interface gigabitEthernet 1/0/1
switchport access vlan 26
#
interface gigabitEthernet 1/0/2
switchport access vlan 23
#
interface gigabitEthernet 1/0/3
switchport access vlan 23
#
interface gigabitEthernet 1/0/4
switchport access vlan 23
#
interface gigabitEthernet 1/0/5
switchport access vlan 23
#
interface gigabitEthernet 1/0/6
switchport access vlan 23
#
interface gigabitEthernet 1/0/7
switchport access vlan 23
#
interface gigabitEthernet 1/0/8
switchport mode trunk
switchport trunk allowed vlan 20-27
description "uplink/coresw"
#
interface gigabitEthernet 1/0/9
speed 1000
duplex full
#
interface gigabitEthernet 1/0/10
speed 1000
duplex full
#
ip management-vlan 20
interface vlan 20
ip address 10.20.0.22 255.255.255.0 10.20.0.1
#
#
line vty 0 0
password @_PW_@
login
#
line vty 1 1
password @_PW_@
login
#
line vty 2 2
password @_PW_@
login
#
line vty 3 3
password @_PW_@
login
#
line vty 4 4
password @_PW_@
login
#
line vty 5 5
password @_PW_@
login
#
line vty 6 6
password @_PW_@
login
#
line vty 7 7
password @_PW_@
login
#
line vty 8 8
password @_PW_@
login
#
line vty 9 9
password @_PW_@
login
#
line vty 10 10
password @_PW_@
login
#
line vty 11 11
password @_PW_@
login
#
line vty 12 12
password @_PW_@
login
#
line vty 13 13
password @_PW_@
login
#
line vty 14 14
password @_PW_@
login
#
line vty 15 15
password @_PW_@
login
#
end

160
switch-configs/ws-sw.conf Normal file
View File

@ -0,0 +1,160 @@
!TL-SG3210
#
vlan 20-27
#
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-reception"
#
vlan 26
name "of-phone"
#
vlan 27
name "of-workshop"
#
#
#
#
hostname "ws-sw"
#
mac address-table aging-time 300
#
logging buffer 6
no logging file flash
#
enable secret @_PW_@
#
system-time ntp UTC+02:00 10.20.0.1 10.20.0.1 4
#
spanning-tree mode rstp
#
#
user name @_USER_@ privilege admin secret @_PW_@
#
#
#
#
#
#
snmp-server
snmp-server engineID local 80002e5703c46e1f44c0e8
snmp-server community @_SNMP_@ read-only "viewDefault"
#
interface gigabitEthernet 1/0/1
switchport access vlan 26
#
interface gigabitEthernet 1/0/2
switchport access vlan 27
#
interface gigabitEthernet 1/0/3
switchport access vlan 27
#
interface gigabitEthernet 1/0/4
switchport access vlan 27
#
interface gigabitEthernet 1/0/5
switchport access vlan 27
#
interface gigabitEthernet 1/0/6
switchport access vlan 27
#
interface gigabitEthernet 1/0/7
switchport access vlan 27
#
interface gigabitEthernet 1/0/8
switchport mode trunk
switchport trunk allowed vlan 20-27
description "uplink/coresw"
#
interface gigabitEthernet 1/0/9
speed 1000
duplex full
#
interface gigabitEthernet 1/0/10
speed 1000
duplex full
#
ip management-vlan 20
interface vlan 20
ip address 10.20.0.16 255.255.255.0 10.20.0.1
#
#
line vty 0 0
password @_PW_@
login
#
line vty 1 1
password @_PW_@
login
#
line vty 2 2
password @_PW_@
login
#
line vty 3 3
password @_PW_@
login
#
line vty 4 4
password @_PW_@
login
#
line vty 5 5
password @_PW_@
login
#
line vty 6 6
password @_PW_@
login
#
line vty 7 7
password @_PW_@
login
#
line vty 8 8
password @_PW_@
login
#
line vty 9 9
password @_PW_@
login
#
line vty 10 10
password @_PW_@
login
#
line vty 11 11
password @_PW_@
login
#
line vty 12 12
password @_PW_@
login
#
line vty 13 13
password @_PW_@
login
#
line vty 14 14
password @_PW_@
login
#
line vty 15 15
password @_PW_@
login
#
end