TL-SG3210.page 3.6 KB

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