2021/switch-configs/nocsw.cfg

164 lines
3.0 KiB
INI
Raw Normal View History

2021-07-26 15:48:11 +03:00
!TL-SG3210
#####################################################################
#
# NOC SWITCH for OpenFest 2021
2021-07-26 15:48:11 +03:00
#
# HW: TL-SG3210 1.0
# SW: 1.9.2 Build 20130527 Rel.59782
#
# 2021.07.26 - Initial
2021-07-26 15:48:11 +03:00
#
#####################################################################
#
vlan 20-23,25
2021-07-26 15:48:11 +03:00
#
vlan 20
2021-07-26 15:48:11 +03:00
name "of-mgmt"
#
vlan 21
2021-07-26 15:48:11 +03:00
name "of-wired"
#
vlan 22
2021-07-26 15:48:11 +03:00
name "of-wifi"
#
vlan 23
2021-07-26 15:48:11 +03:00
name "of-video"
#
vlan 25
2021-07-26 15:48:11 +03:00
name "of-phones"
#
#
#
#
hostname "nocsw"
2021-07-26 15:48:11 +03:00
#
mac address-table aging-time 300
#
logging buffer 6
no logging file flash
#
enable password @EN_PW@
#
system-time ntp UTC+02:00 10.20.0.1 185.117.82.66 4
#
spanning-tree
spanning-tree mode mstp
spanning-tree priority 16384
2021-07-26 15:48:11 +03:00
spanning-tree mst configuration
name openfest
2021-07-26 15:48:11 +03:00
#
#
user name admin privilege admin secret 5 $1$B0B2B>B8G9E6J4J6D2H8D9@=D9H/A>L2$'}./
2021-07-26 15:48:11 +03:00
#
#
#
#
#
#
snmp-server
snmp-server engineID local 80002e5703c46e1f44c0e8
snmp-server community @SNMP_PW@ read-only "viewDefault"
2021-07-26 15:48:11 +03:00
#
snmp-server host 10.20.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap
2021-07-26 15:48:11 +03:00
snmp-server traps flash
snmp-server traps spanning-tree topologychange
snmp-server traps cpu
snmp-server traps vlan create
snmp-server traps vlan delete
#
interface gigabitEthernet 1/0/1
switchport access vlan 25
description "noc/phone"
2021-07-26 15:48:11 +03:00
spanning-tree
spanning-tree common-config portfast enable
#
interface gigabitEthernet 1/0/2
switchport access vlan 20
description "noc/mon-laptop"
2021-07-26 15:48:11 +03:00
spanning-tree
spanning-tree common-config portfast enable
#
interface gigabitEthernet 1/0/3
switchport access vlan 23
description "noc/fsdm-laptop"
2021-07-26 15:48:11 +03:00
spanning-tree
spanning-tree common-config portfast enable
#
interface gigabitEthernet 1/0/4
switchport access vlan 20
description "noc/free"
shutdown
2021-07-26 15:48:11 +03:00
spanning-tree
spanning-tree common-config portfast enable
#
interface gigabitEthernet 1/0/5
switchport access vlan 20
description "noc/free"
shutdown
2021-07-26 15:48:11 +03:00
spanning-tree
spanning-tree common-config portfast enable
#
interface gigabitEthernet 1/0/6
switchport access vlan 20
description "noc/free"
2021-07-26 15:48:11 +03:00
spanning-tree
spanning-tree common-config portfast enable
#
interface gigabitEthernet 1/0/7
switchport mode trunk
switchport trunk allowed vlan 20-23,25
description "noc/stage-uplink"
2021-07-26 15:48:11 +03:00
spanning-tree
spanning-tree common-config port-priority 64
2021-07-26 15:48:11 +03:00
#
interface gigabitEthernet 1/0/8
switchport mode trunk
switchport trunk allowed vlan 20-23,25
description "noc/down-rcpt"
2021-07-26 15:48:11 +03:00
spanning-tree
#
interface gigabitEthernet 1/0/9
speed 1000
duplex full
2021-07-26 15:48:11 +03:00
shutdown
spanning-tree
spanning-tree common-config portfast enable
#
interface gigabitEthernet 1/0/10
speed 1000
duplex full
2021-07-26 15:48:11 +03:00
shutdown
spanning-tree
spanning-tree common-config portfast enable
#
ip management-vlan 20
interface vlan 20
ip address 10.20.0.14 255.255.255.0 10.20.0.1
#
2021-07-26 15:48:11 +03:00
#
line vty 0 0
password @PW@
login
#
line vty 1 1
password @PW@
login
#
line vty 2 2
2021-07-26 15:48:11 +03:00
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