2016-10-22 01:05:41 +03:00
|
|
|
!TL-SG3210
|
2016-10-24 00:21:10 +03:00
|
|
|
#####################################################################
|
|
|
|
#
|
|
|
|
# VOCSW for OpenFest 2016
|
|
|
|
#
|
|
|
|
# HW: TL-SG3210 1.0
|
|
|
|
# SW: 1.9.2 Build 20130527 Rel.59782
|
|
|
|
#
|
2016-10-29 21:29:11 +03:00
|
|
|
# 2016.10.29 - snmp
|
2016-10-24 00:21:10 +03:00
|
|
|
# 2016.10.23 - renumber
|
|
|
|
# 2016.10.20 - initial dump
|
|
|
|
#
|
|
|
|
#####################################################################
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
vlan 2,10,20-24
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
vlan 2
|
|
|
|
name "initlab"
|
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
vlan 10
|
|
|
|
name "of-ext"
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
vlan 20
|
|
|
|
name "of-mgmt"
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
vlan 21
|
|
|
|
name "of-wired"
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
vlan 22
|
|
|
|
name "of-wifi"
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
vlan 23
|
|
|
|
name "of-video"
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
vlan 24
|
|
|
|
name "of-overflow"
|
2016-10-29 21:29:11 +03:00
|
|
|
#
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
hostname "receptionsw"
|
|
|
|
#
|
|
|
|
mac address-table aging-time 300
|
|
|
|
#
|
|
|
|
logging buffer 6
|
|
|
|
no logging file flash
|
|
|
|
#
|
|
|
|
enable password @PW@
|
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
system-time ntp UTC+02:00 10.20.0.1 79.98.105.18 4
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
spanning-tree
|
|
|
|
spanning-tree mode mstp
|
2016-10-22 17:52:56 +03:00
|
|
|
spanning-tree mst configuration
|
|
|
|
name openfest
|
|
|
|
exit
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2016-10-29 21:29:11 +03:00
|
|
|
#
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
snmp-server
|
2016-10-29 21:29:11 +03:00
|
|
|
snmp-server engineID local 80002e5703c46e1f44c0e8
|
2016-10-22 01:05:41 +03:00
|
|
|
snmp-server community @SNMP_PW@ read-only viewDefault
|
|
|
|
#
|
|
|
|
snmp-server host 10.100.0.1 161 monitoring smode v2c slev noAuthNoPriv type trap
|
2016-10-22 16:00:00 +03:00
|
|
|
snmp-server host 10.20.0.1 161 monitoring smode v2c slev noAuthNoPriv type trap
|
2016-10-22 01:05:41 +03:00
|
|
|
snmp-server traps flash
|
2016-10-29 21:29:11 +03:00
|
|
|
snmp-server traps spanning-tree topologychange
|
2016-10-22 01:05:41 +03:00
|
|
|
snmp-server traps cpu
|
2016-10-29 21:29:11 +03:00
|
|
|
snmp-server traps vlan create
|
|
|
|
snmp-server traps vlan delete
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/1
|
|
|
|
switchport mode trunk
|
2016-10-22 16:00:00 +03:00
|
|
|
switchport trunk allowed vlan 20-24
|
2016-10-22 01:05:41 +03:00
|
|
|
description "teamsw/trunk"
|
|
|
|
|
|
|
|
spanning-tree
|
|
|
|
|
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/2
|
|
|
|
switchport mode trunk
|
2016-10-22 16:00:00 +03:00
|
|
|
switchport trunk allowed vlan 20-24
|
2016-10-29 21:29:11 +03:00
|
|
|
description "camsw/trunk"
|
2016-10-22 01:05:41 +03:00
|
|
|
|
2016-10-22 17:52:56 +03:00
|
|
|
spanning-tree
|
2016-10-22 01:05:41 +03:00
|
|
|
spanning-tree common-config portfast enable
|
|
|
|
|
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/3
|
|
|
|
|
|
|
|
shutdown
|
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
2016-10-29 21:29:11 +03:00
|
|
|
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/4
|
|
|
|
|
|
|
|
shutdown
|
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
|
|
|
|
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/5
|
|
|
|
switchport mode trunk
|
2016-10-22 16:00:00 +03:00
|
|
|
switchport trunk allowed vlan 20,22
|
|
|
|
description "ap-lobby0-2-lega"
|
2016-10-29 21:29:11 +03:00
|
|
|
|
2016-10-22 01:05:41 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
|
|
|
|
2016-10-22 16:00:00 +03:00
|
|
|
#
|
2016-10-22 01:05:41 +03:00
|
|
|
interface gigabitEthernet 1/0/6
|
|
|
|
switchport mode trunk
|
2016-10-22 16:00:00 +03:00
|
|
|
switchport trunk allowed vlan 20,22
|
2016-10-22 01:05:41 +03:00
|
|
|
description "ap-lobby0-3-ac"
|
|
|
|
|
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
|
|
|
|
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/7
|
|
|
|
|
|
|
|
shutdown
|
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
|
|
|
|
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/8
|
|
|
|
|
|
|
|
shutdown
|
2016-10-29 21:29:11 +03:00
|
|
|
spanning-tree
|
2016-10-22 01:05:41 +03:00
|
|
|
spanning-tree common-config portfast enable
|
2016-10-22 17:52:56 +03:00
|
|
|
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
interface gigabitEthernet 1/0/9
|
2016-10-22 01:05:41 +03:00
|
|
|
speed 1000
|
2016-10-29 21:29:11 +03:00
|
|
|
shutdown
|
2016-10-22 01:05:41 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
|
|
|
|
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/10
|
|
|
|
speed 1000
|
|
|
|
shutdown
|
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
|
|
|
|
|
|
|
#
|
2016-10-22 16:00:00 +03:00
|
|
|
ip management-vlan 20
|
|
|
|
interface vlan 20
|
2016-10-29 21:29:11 +03:00
|
|
|
ip address 10.20.0.15 255.255.255.0 10.20.0.1
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
line vty 0 0
|
|
|
|
password @PW@
|
2016-10-29 21:29:11 +03:00
|
|
|
login
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
2016-10-22 17:52:56 +03:00
|
|
|
line vty 1 1
|
2016-10-22 01:05:41 +03:00
|
|
|
password @PW@
|
2016-10-22 16:00:00 +03:00
|
|
|
login
|
2016-10-22 01:05:41 +03:00
|
|
|
#
|
|
|
|
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
|
|
|
|
#
|
|
|
|
end
|