2018/switch-configs/coresw.cfg

559 lines
12 KiB
INI
Raw Normal View History

2018-10-22 21:56:11 +03:00
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! CORESW for OpenFest 2018
2018-10-22 21:56:11 +03:00
!
! HW: WS-C3560E-48TD
! SW: c3560e-universalk9-mz.122-40.SE.bin
!
! 2018.10.20 - initial configuration
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service unsupported-transceiver
!
hostname coresw
!
enable password @PW@
2018-10-22 21:56:11 +03:00
!
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
!
vlan 26
name security
!
vlan 128
name tmptp
!
vlan 999
2018-10-22 21:56:11 +03:00
name ipacct
!
vlan 1028
!
vlan 2464
2018-10-22 21:56:11 +03:00
name techpark
!
!
2018-10-27 22:33:00 +03:00
interface Port-channel1
description eric/bond
2018-10-27 22:33:00 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,1028,2464
2018-10-27 22:33:00 +03:00
switchport mode trunk
!
interface Port-channel2
description eric2/bond
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,1028,2464
switchport mode trunk
!
2018-10-22 21:56:11 +03:00
interface Port-channel7
description L2-WIFI-TRUNK
switchport access vlan 23
2018-10-22 21:56:11 +03:00
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
!
2018-10-22 21:56:11 +03:00
interface FastEthernet0
no ip address
shutdown
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/1
description vocsw-A
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-25
2018-10-22 21:56:11 +03:00
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/2
description vocsw-B
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-25
2018-10-22 21:56:11 +03:00
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/3
description vocsw-C
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-26
2018-10-22 21:56:11 +03:00
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/4
description reception
2018-10-22 21:56:11 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25
2018-10-22 21:56:11 +03:00
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/5
description team-sw
2018-10-22 21:56:11 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-25
2018-10-22 21:56:11 +03:00
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/6
description wssw2
2018-10-22 21:56:11 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,21
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/7
description presenter-mr
2018-10-22 21:56:11 +03:00
switchport access vlan 21
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/8
description presenter-sr
2018-10-22 21:56:11 +03:00
switchport access vlan 21
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/9
description port-chan-1
switchport access vlan 23
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-25,999,2464
switchport mode trunk
no cdp enable
channel-group 7 mode active
spanning-tree portfast trunk
!
interface GigabitEthernet0/10
description port-chan-2
switchport access vlan 23
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-25,999,2464
switchport mode trunk
no cdp enable
channel-group 7 mode active
spanning-tree portfast trunk
!
interface GigabitEthernet0/11
description WIFI-AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/12
description WIFI-AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/13
description WIFI-AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/14
description WIFI-AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/15
description WIFI-AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/16
description WIFI-AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/17
description OVERFLOW
switchport access vlan 24
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/18
description OVERFLOW
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-25
switchport mode trunk
2018-10-22 21:56:11 +03:00
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/19
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/20
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/21
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/22
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/23
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/24
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/25
description test-phone
switchport access vlan 25
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/26
description test-phone
switchport access vlan 20
2018-10-22 21:56:11 +03:00
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/27
description test-phone
switchport access vlan 25
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/28
description test-phone
switchport access vlan 25
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/29
description test-phone
switchport access vlan 25
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/30
description test-phone
switchport access vlan 25
switchport mode access
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/31
description WIFI-AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
2018-10-22 21:56:11 +03:00
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/32
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/33
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/34
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/35
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/36
description SHUTDOWN
shutdown
2018-10-22 21:56:11 +03:00
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/37
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/38
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
2018-10-22 21:56:11 +03:00
interface GigabitEthernet0/39
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/40
description SHUTDOWN
shutdown
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/41
description techpark
switchport access vlan 2464
2018-10-22 21:56:11 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25
switchport mode access
2018-10-22 21:56:11 +03:00
no cdp enable
spanning-tree portfast trunk
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
2018-10-22 21:56:11 +03:00
!
interface GigabitEthernet0/42
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/43
description eric2
switchport access vlan 23
2018-10-22 21:56:11 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,1028,2464
2018-10-22 21:56:11 +03:00
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/44
description eric2
switchport access vlan 23
2018-10-27 22:39:19 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,1028,2464
2018-10-27 22:39:19 +03:00
switchport mode trunk
2018-10-22 21:56:11 +03:00
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/45
description eric/p2
2018-10-22 21:56:11 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,1028,2464
2018-10-22 21:56:11 +03:00
switchport mode trunk
no cdp enable
channel-protocol lacp
channel-group 1 mode active
2018-10-22 21:56:11 +03:00
spanning-tree portfast trunk
!
interface GigabitEthernet0/46
description eric/p1
2018-10-22 21:56:11 +03:00
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-26,999,1028,2464
2018-10-22 21:56:11 +03:00
switchport mode trunk
no cdp enable
channel-protocol lacp
channel-group 1 mode active
2018-10-22 21:56:11 +03:00
spanning-tree portfast trunk
!
interface GigabitEthernet0/47
description UPLINK
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,2464
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,2464
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/49
description ipacct
switchport access vlan 999
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1028
switchport mode access
no cdp enable
2018-10-22 21:56:11 +03:00
spanning-tree portfast trunk
!
interface GigabitEthernet0/50
switchport mode dynamic desirable
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/51
switchport mode dynamic desirable
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/52
description fl2switch
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10,20-25
switchport mode trunk
2018-10-22 21:56:11 +03:00
spanning-tree portfast trunk
!
interface TenGigabitEthernet0/1
switchport mode dynamic desirable
shutdown
spanning-tree portfast trunk
!
interface TenGigabitEthernet0/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
exec-timeout 0 0
password @PW@
login
line vty 5 15
exec-timeout 0 0
password @PW@
login
!
ntp clock-period 36026838
2018-10-22 21:56:11 +03:00
ntp server 10.20.0.1
end