2021/switch-configs/coresw.cfg

387 lines
8.0 KiB
INI

!
! Last configuration change at 15:46:02 UTC Sat Oct 5 2019
! NVRAM config last updated at 15:46:05 UTC Sat Oct 5 2019
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service unsupported-transceiver
!
hostname coresw
!
boot-start-marker
boot-end-marker
!
enable password @_PW_@
!
!
!
no aaa new-model
switch 1 provision ws-c3750e-48pd
system mtu routing 1500
ip routing
!
!
ip name-server 10.20.0.1
vtp mode off
!
!
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name openfest
!
spanning-tree mst 0 priority 0
!
!
!
!
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
!
vlan 26
name security
!
vlan 29
name of-prov
!
vlan 999
name ipacct
!
vlan 2464
name techpark
!
lldp run
!
!
!
interface FastEthernet0
no ip address
no ip route-cache cef
no ip route-cache
no ip mroute-cache
shutdown
!
interface GigabitEthernet1/0/1
description phone-bar
switchport access vlan 25
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/3
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/4
description debug/ipacct
switchport access vlan 999
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/5
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/6
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/7
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/8
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/9
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/10
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/11
description ap-bar
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/12
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22
switchport mode trunk
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/13
description ap-wc
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/14
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/15
description tmp:ap-stage
switchport trunk encapsulation dot1q
switchport trunk native vlan 29
switchport trunk allowed vlan 20,22,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/16
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/17
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/18
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/19
switchport access vlan 22
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-26
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/20
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/21
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/22
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/23
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/24
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/25
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/26
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/27
switchport access vlan 23
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/28
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/29
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/30
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/31
description voc-sw
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/32
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/33
description ws-sw
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/34
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/35
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/36
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/37
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/38
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/39
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/40
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/41
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/42
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/43
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/44
switchport access vlan 300
switchport trunk encapsulation dot1q
switchport mode access
spanning-tree portfast trunk
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface GigabitEthernet1/0/45
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/46
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/47
spanning-tree portfast trunk
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface GigabitEthernet1/0/48
spanning-tree portfast trunk
!
interface GigabitEthernet1/0/49
!
interface GigabitEthernet1/0/50
description ipacct
!
interface GigabitEthernet1/0/51
!
interface GigabitEthernet1/0/52
!
interface TenGigabitEthernet1/0/1
description vin
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface TenGigabitEthernet1/0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan20
ip address 10.20.0.11 255.255.255.0
!
interface Vlan29
no ip address
spanning-tree portfast trunk
!
ip default-gateway 10.20.0.1
ip classless
!
ip http server
ip http secure-server
!
!
snmp-server community @_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 config-copy
snmp-server enable traps config
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps hsrp
snmp-server enable traps cpu threshold
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 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 errdisable
snmp-server enable traps mac-notification change move threshold
snmp-server enable traps vlan-membership
snmp-server host 10.20.0.1 version 2c @_PW_@
!
!
line con 0
line vty 0 4
password @_PW_@
login
line vty 5 15
password @_PW_@
login
!
ntp server 10.20.0.1
end