2016-10-21 22:23:47 +03:00
|
|
|
!TL-SG3210
|
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
vlan 2,10,20-24
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
vlan 2
|
|
|
|
name "initlab"
|
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
vlan 10
|
|
|
|
name "of-ext"
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
vlan 20
|
|
|
|
name "of-mgmt"
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
vlan 21
|
|
|
|
name "of-wired"
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
vlan 22
|
|
|
|
name "of-wifi"
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
vlan 23
|
|
|
|
name "of-video"
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
vlan 24
|
|
|
|
name "of-overflow"
|
2016-10-21 23:54:28 +03:00
|
|
|
#
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
hostname "vocsw"
|
|
|
|
#
|
|
|
|
mac address-table aging-time 300
|
|
|
|
#
|
|
|
|
logging buffer 6
|
|
|
|
no logging file flash
|
|
|
|
#
|
|
|
|
enable password @PW@
|
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
system-time ntp UTC+02:00 10.20.0.1 79.98.105.18 4
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree mode mstp
|
2016-10-23 00:00:11 +03:00
|
|
|
spanning-tree mst configuration
|
|
|
|
name openfest
|
2016-10-21 23:54:28 +03:00
|
|
|
#
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
user name admin privilege admin password 0 @PW@
|
|
|
|
#
|
|
|
|
#
|
2016-10-21 23:54:28 +03:00
|
|
|
no ip http server
|
|
|
|
#
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2016-10-21 23:54:28 +03:00
|
|
|
snmp-server
|
2016-10-23 00:00:11 +03:00
|
|
|
snmp-server engineID local 80002e5703c46e1f44c0e8
|
|
|
|
snmp-server community "@SNMP_PWPW@" read-only "viewDefault"
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
snmp-server host 10.20.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap
|
2016-10-21 23:54:28 +03:00
|
|
|
snmp-server traps flash
|
|
|
|
snmp-server traps cpu
|
|
|
|
snmp-server traps memory
|
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/1
|
2016-10-21 22:23:47 +03:00
|
|
|
switchport mode trunk
|
2016-10-23 00:00:11 +03:00
|
|
|
switchport trunk allowed vlan 2,20-24
|
2016-10-21 22:23:47 +03:00
|
|
|
description "coresw/trunk"
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/2
|
|
|
|
switchport mode trunk
|
2016-10-23 00:00:11 +03:00
|
|
|
switchport trunk allowed vlan 20-24
|
2016-10-21 22:23:47 +03:00
|
|
|
description "f2sw/trunk"
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/3
|
|
|
|
switchport mode trunk
|
2016-10-23 00:00:11 +03:00
|
|
|
switchport trunk allowed vlan 2,10,20-24
|
2016-10-21 22:23:47 +03:00
|
|
|
description "nocsw/trunk"
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/4
|
|
|
|
shutdown
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/5
|
|
|
|
switchport mode trunk
|
2016-10-23 00:00:11 +03:00
|
|
|
switchport trunk allowed vlan 20,22-23
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/6
|
|
|
|
shutdown
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
|
|
|
#
|
2016-10-21 22:23:47 +03:00
|
|
|
interface gigabitEthernet 1/0/7
|
2016-10-23 00:00:11 +03:00
|
|
|
switchport access vlan 23
|
2016-10-21 22:23:47 +03:00
|
|
|
description "video/bulgaria"
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/8
|
|
|
|
shutdown
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/9
|
|
|
|
speed 1000
|
|
|
|
duplex full
|
|
|
|
shutdown
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
interface gigabitEthernet 1/0/10
|
|
|
|
speed 1000
|
|
|
|
duplex full
|
|
|
|
shutdown
|
2016-10-21 23:54:28 +03:00
|
|
|
spanning-tree
|
|
|
|
spanning-tree common-config portfast enable
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
2016-10-23 00:00:11 +03:00
|
|
|
ip management-vlan 20
|
|
|
|
interface vlan 20
|
|
|
|
ip address 10.20.0.12 255.255.255.0 10.20.0.1
|
2016-10-21 22:23:47 +03:00
|
|
|
#
|
|
|
|
#
|
|
|
|
line vty 0 0
|
2016-10-21 23:54:28 +03:00
|
|
|
password @PW@
|
2016-10-21 22:23:47 +03:00
|
|
|
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
|
|
|
|
#
|
|
|
|
end
|