MSTP-sw6.cfg 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. !TL-SG3424
  2. #
  3. vlan 16,26,36,46,56,2005
  4. #
  5. vlan 16
  6. name "P2P_sw1"
  7. #
  8. vlan 26
  9. name "P2P_sw2"
  10. #
  11. vlan 36
  12. name "P2P_sw3"
  13. #
  14. vlan 46
  15. name "P2P_sw4"
  16. #
  17. vlan 56
  18. name "P2P_sw5"
  19. #
  20. vlan 2005
  21. name "Management"
  22. #
  23. # [...]
  24. #
  25. spanning-tree
  26. spanning-tree mode mstp
  27. spanning-tree mst configuration
  28. name MSTP
  29. instance 1 vlan 2005,
  30. instance 2 vlan 12-13,15,24,26,
  31. instance 3 vlan 14,23,34-35,46,
  32. instance 4 vlan 16,25,36,45,56,
  33. #
  34. # [...]
  35. #
  36. interface gigabitEthernet 1/0/1
  37. switchport mode trunk
  38. switchport trunk allowed vlan 16,2005
  39. spanning-tree
  40. spanning-tree mst instance 4 port-priority 128 cost 1000
  41. #
  42. interface gigabitEthernet 1/0/2
  43. switchport mode trunk
  44. switchport trunk allowed vlan 26,2005
  45. spanning-tree
  46. spanning-tree mst instance 2 port-priority 128 cost 1000
  47. #
  48. interface gigabitEthernet 1/0/3
  49. switchport mode trunk
  50. switchport trunk allowed vlan 36,2005
  51. spanning-tree
  52. spanning-tree mst instance 4 port-priority 128 cost 1000
  53. #
  54. interface gigabitEthernet 1/0/4
  55. switchport mode trunk
  56. switchport trunk allowed vlan 46,2005
  57. spanning-tree
  58. spanning-tree mst instance 3 port-priority 128 cost 1000
  59. #
  60. interface gigabitEthernet 1/0/5
  61. switchport mode trunk
  62. switchport trunk allowed vlan 56,2005
  63. spanning-tree
  64. spanning-tree mst instance 4 port-priority 128 cost 1000
  65. #
  66. interface gigabitEthernet 1/0/6
  67. switchport mode trunk
  68. switchport trunk allowed vlan 2005
  69. description "uplink"
  70. spanning-tree
  71. #
  72. # [...]
  73. #
  74. interface gigabitEthernet 1/0/8
  75. switchport mode trunk
  76. switchport trunk allowed vlan 16,26,36,46,56,2005
  77. spanning-tree
  78. #
  79. # [...]
  80. #
  81. ip management-vlan 2005
  82. interface vlan 2005
  83. ip address 172.24.6.1 255.255.0.0
  84. #
  85. end