--- title: Beispielkonfiguration TL-SG3210 toc: yes ... # TL-SG3210v2 Richtfunk-Switch im L.A. Das Management VLAN 2005 liegt untagged auf den ports zu den Richtfunkantennen, damit diese als transparente Bridge betrieben werden können. Siehe [Ubiquiti ac-Geräte konfigurieren](Ubiquiti-Richtfunkantennen). ## Portbelegung Port 1 : zum Rundstrahler : general, VLANs: 2005 (untagged), 2020 Port 2 : zur P2P-Antenne Richtung L8 : general, VLANs: 2005 (untagged), 2021 Port 5 : lokaler Managementzugang (untagged) : access, VLAN 2005 Port 7 : WAN uplink für Kernrouter (untagged) : access, VLAN 700 Port 8 : zum Kernrouter : trunk, VLANs 2005,2010,2020,2021 Port 9 : Glasfaser zum L.A. Hausnetz : trunk, VLANs für uplink (700) und lokale FF-Router mit Mesh-on-LAN (2010) ## Konfigurationsdatei ~~~ !TL-SG3210 # vlan 700,2005,2010,2020-2021,4001-4010 # vlan 700 name "LA-Hausnetz" # vlan 2005 name "Management" # vlan 2010 name "Mesh local" # vlan 2020 name "RundstrahlerR5AC" # vlan 2021 name "Mesh L8" # vlan 4001 name "/dev/null port 1" # vlan 4002 name "/dev/null port 2" # vlan 4003 name "/dev/null port 3" # vlan 4004 name "/dev/null port 4" # vlan 4005 name "/dev/null port 5" # vlan 4006 name "/dev/null port 6" # vlan 4007 name "/dev/null port 7" # vlan 4008 name "/dev/null port 8" # vlan 4009 name "/dev/null port 9" # vlan 4010 name "/dev/null port10" # # # # hostname "FF-DO-BB-LA-sw1" # mac address-table aging-time 300 # logging buffer 7 no logging file flash # enable secret 5 ***** # system-time ntp UTC+01:00 172.24.1.9 172.24.1.10 1 system-time dst predefined Europe # spanning-tree spanning-tree mode mstp spanning-tree mst instance 1 priority 28672 spanning-tree mst instance 2 priority 28672 spanning-tree mst configuration name FF-DO-BB instance 1 vlan 2005, instance 2 vlan 2020-2021, # # user name admin privilege admin secret 5 ***** # # # # # # # ip ssh server # interface gigabitEthernet 1/0/1 switchport mode general switchport general allowed vlan 2005 untagged switchport general allowed vlan 2020 tagged switchport pvid 2005 description "FF-DO-BB-LA-Rund" spanning-tree spanning-tree mst instance 2 port-priority 128 cost 1000 # interface gigabitEthernet 1/0/2 switchport mode general switchport general allowed vlan 2005 untagged switchport general allowed vlan 2021 tagged switchport pvid 2005 description "FF-DO-BB-LA-L8" spanning-tree spanning-tree mst instance 2 port-priority 128 cost 1000 # interface gigabitEthernet 1/0/3 switchport mode trunk switchport trunk allowed vlan 2005,4003 switchport pvid 4003 description "port 3 unused" shutdown # interface gigabitEthernet 1/0/4 switchport mode trunk switchport trunk allowed vlan 2005,4004 switchport pvid 4004 description "port 4 unused" shutdown # interface gigabitEthernet 1/0/5 switchport access vlan 2005 description "Mgmt untagged" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/6 switchport mode trunk switchport trunk allowed vlan 2005,4006 switchport pvid 4006 description "port 6 unused" shutdown # interface gigabitEthernet 1/0/7 switchport access vlan 700 description "WAN uplink" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/8 switchport mode trunk switchport trunk allowed vlan 2005,2010,2020-2021,4008 switchport pvid 4008 description "FF-DO-BB-LA-kern" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/9 switchport mode trunk switchport trunk allowed vlan 700,2005,2010,4009 switchport pvid 4009 description "WiLa-sw2:9" speed 1000 duplex full spanning-tree # interface gigabitEthernet 1/0/10 switchport mode trunk switchport trunk allowed vlan 2005,4010 switchport pvid 4010 description "port 10 unused" speed 1000 duplex full shutdown # ip management-vlan 2005 interface vlan 2005 ip address 172.24.1.1 255.255.0.0 # # end ~~~