TL-SG3210.page 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. ---
  2. title: Beispielkonfiguration TL-SG3210
  3. toc: yes
  4. ...
  5. # TL-SG3210v2 Richtfunk-Switch im L.A.
  6. 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).
  7. ## Portbelegung
  8. Port 1
  9. : zum Rundstrahler
  10. : general, VLANs: 2005 (untagged), 2020
  11. Port 2
  12. : zur P2P-Antenne Richtung L8
  13. : general, VLANs: 2005 (untagged), 2021
  14. Port 5
  15. : lokaler Managementzugang (untagged)
  16. : access, VLAN 2005
  17. Port 7
  18. : WAN uplink für Kernrouter (untagged)
  19. : access, VLAN 700
  20. Port 8
  21. : zum Kernrouter
  22. : trunk, VLANs 2005,2010,2020,2021
  23. Port 9
  24. : Glasfaser zum L.A. Hausnetz
  25. : trunk, VLANs für uplink (700) und lokale FF-Router mit Mesh-on-LAN (2010)
  26. ## Konfigurationsdatei
  27. ~~~
  28. !TL-SG3210
  29. #
  30. vlan 700,2005,2010,2020-2021,4001-4010
  31. #
  32. vlan 700
  33. name "LA-Hausnetz"
  34. #
  35. vlan 2005
  36. name "Management"
  37. #
  38. vlan 2010
  39. name "Mesh local"
  40. #
  41. vlan 2020
  42. name "RundstrahlerR5AC"
  43. #
  44. vlan 2021
  45. name "Mesh L8"
  46. #
  47. vlan 4001
  48. name "/dev/null port 1"
  49. #
  50. vlan 4002
  51. name "/dev/null port 2"
  52. #
  53. vlan 4003
  54. name "/dev/null port 3"
  55. #
  56. vlan 4004
  57. name "/dev/null port 4"
  58. #
  59. vlan 4005
  60. name "/dev/null port 5"
  61. #
  62. vlan 4006
  63. name "/dev/null port 6"
  64. #
  65. vlan 4007
  66. name "/dev/null port 7"
  67. #
  68. vlan 4008
  69. name "/dev/null port 8"
  70. #
  71. vlan 4009
  72. name "/dev/null port 9"
  73. #
  74. vlan 4010
  75. name "/dev/null port10"
  76. #
  77. #
  78. #
  79. #
  80. hostname "FF-DO-BB-LA-sw1"
  81. #
  82. mac address-table aging-time 300
  83. #
  84. logging buffer 7
  85. no logging file flash
  86. #
  87. enable secret 5 *****
  88. #
  89. system-time ntp UTC+01:00 172.24.1.9 172.24.1.10 1
  90. system-time dst predefined Europe
  91. #
  92. spanning-tree
  93. spanning-tree mode mstp
  94. spanning-tree mst instance 1 priority 28672
  95. spanning-tree mst instance 2 priority 28672
  96. spanning-tree mst configuration
  97. name FF-DO-BB
  98. instance 1 vlan 2005,
  99. instance 2 vlan 2020-2021,
  100. #
  101. #
  102. user name admin privilege admin secret 5 *****
  103. #
  104. #
  105. #
  106. #
  107. #
  108. #
  109. #
  110. ip ssh server
  111. #
  112. interface gigabitEthernet 1/0/1
  113. switchport mode general
  114. switchport general allowed vlan 2005 untagged
  115. switchport general allowed vlan 2020 tagged
  116. switchport pvid 2005
  117. description "FF-DO-BB-LA-Rund"
  118. spanning-tree
  119. spanning-tree mst instance 2 port-priority 128 cost 1000
  120. #
  121. interface gigabitEthernet 1/0/2
  122. switchport mode general
  123. switchport general allowed vlan 2005 untagged
  124. switchport general allowed vlan 2021 tagged
  125. switchport pvid 2005
  126. description "FF-DO-BB-LA-L8"
  127. spanning-tree
  128. spanning-tree mst instance 2 port-priority 128 cost 1000
  129. #
  130. interface gigabitEthernet 1/0/3
  131. switchport mode trunk
  132. switchport trunk allowed vlan 2005,4003
  133. switchport pvid 4003
  134. description "port 3 unused"
  135. shutdown
  136. #
  137. interface gigabitEthernet 1/0/4
  138. switchport mode trunk
  139. switchport trunk allowed vlan 2005,4004
  140. switchport pvid 4004
  141. description "port 4 unused"
  142. shutdown
  143. #
  144. interface gigabitEthernet 1/0/5
  145. switchport access vlan 2005
  146. description "Mgmt untagged"
  147. spanning-tree
  148. spanning-tree common-config portfast enable
  149. #
  150. interface gigabitEthernet 1/0/6
  151. switchport mode trunk
  152. switchport trunk allowed vlan 2005,4006
  153. switchport pvid 4006
  154. description "port 6 unused"
  155. shutdown
  156. #
  157. interface gigabitEthernet 1/0/7
  158. switchport access vlan 700
  159. description "WAN uplink"
  160. spanning-tree
  161. spanning-tree common-config portfast enable
  162. #
  163. interface gigabitEthernet 1/0/8
  164. switchport mode trunk
  165. switchport trunk allowed vlan 2005,2010,2020-2021,4008
  166. switchport pvid 4008
  167. description "FF-DO-BB-LA-kern"
  168. spanning-tree
  169. spanning-tree common-config portfast enable
  170. #
  171. interface gigabitEthernet 1/0/9
  172. switchport mode trunk
  173. switchport trunk allowed vlan 700,2005,2010,4009
  174. switchport pvid 4009
  175. description "WiLa-sw2:9"
  176. speed 1000
  177. duplex full
  178. spanning-tree
  179. #
  180. interface gigabitEthernet 1/0/10
  181. switchport mode trunk
  182. switchport trunk allowed vlan 2005,4010
  183. switchport pvid 4010
  184. description "port 10 unused"
  185. speed 1000
  186. duplex full
  187. shutdown
  188. #
  189. ip management-vlan 2005
  190. interface vlan 2005
  191. ip address 172.24.1.1 255.255.0.0
  192. #
  193. #
  194. end
  195. ~~~