2023/switch-configs/ws-sw.conf

161 lines
2.0 KiB
Plaintext

!TL-SG3210
#
vlan 20-27
#
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-reception"
#
vlan 26
name "of-phone"
#
vlan 27
name "of-workshop"
#
#
#
#
hostname "ws-sw"
#
mac address-table aging-time 300
#
logging buffer 6
no logging file flash
#
enable secret @_PW_@
#
system-time ntp UTC+02:00 10.20.0.1 10.20.0.1 4
#
spanning-tree mode rstp
#
#
user name @_USER_@ privilege admin secret @_PW_@
#
#
#
#
#
#
snmp-server
snmp-server engineID local 80002e5703c46e1f44c0e8
snmp-server community @_SNMP_@ read-only "viewDefault"
#
interface gigabitEthernet 1/0/1
switchport access vlan 26
#
interface gigabitEthernet 1/0/2
switchport access vlan 27
#
interface gigabitEthernet 1/0/3
switchport access vlan 27
#
interface gigabitEthernet 1/0/4
switchport access vlan 27
#
interface gigabitEthernet 1/0/5
switchport access vlan 27
#
interface gigabitEthernet 1/0/6
switchport access vlan 27
#
interface gigabitEthernet 1/0/7
switchport access vlan 27
#
interface gigabitEthernet 1/0/8
switchport mode trunk
switchport trunk allowed vlan 20-27
description "uplink/coresw"
#
interface gigabitEthernet 1/0/9
speed 1000
duplex full
#
interface gigabitEthernet 1/0/10
speed 1000
duplex full
#
ip management-vlan 20
interface vlan 20
ip address 10.20.0.16 255.255.255.0 10.20.0.1
#
#
line vty 0 0
password @_PW_@
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
#
line vty 6 6
password @_PW_@
login
#
line vty 7 7
password @_PW_@
login
#
line vty 8 8
password @_PW_@
login
#
line vty 9 9
password @_PW_@
login
#
line vty 10 10
password @_PW_@
login
#
line vty 11 11
password @_PW_@
login
#
line vty 12 12
password @_PW_@
login
#
line vty 13 13
password @_PW_@
login
#
line vty 14 14
password @_PW_@
login
#
line vty 15 15
password @_PW_@
login
#
end