MSTP-sw3.cfg 1.8 KB

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