MSTP-sw5.cfg 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. !TL-SG2008
  2. #
  3. vlan 15,25,35,45,56,2005
  4. #
  5. vlan 15
  6. name "P2P sw1"
  7. #
  8. vlan 25
  9. name "P2P sw2"
  10. #
  11. vlan 35
  12. name "P2P sw3"
  13. #
  14. vlan 45
  15. name "P2P sw5"
  16. #
  17. vlan 56
  18. name "P2P sw6"
  19. #
  20. vlan 2005
  21. name "Management"
  22. #
  23. # [...]
  24. #
  25. hostname "MSTP-sw5"
  26. #
  27. # [...]
  28. #
  29. spanning-tree
  30. spanning-tree mode mstp
  31. spanning-tree mst instance 4 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 general allowed vlan 15,2005 tagged
  43. spanning-tree
  44. spanning-tree mst instance 2 port-priority 128 cost 1000
  45. #
  46. interface gigabitEthernet 1/0/2
  47. switchport general allowed vlan 25,2005 tagged
  48. spanning-tree
  49. spanning-tree mst instance 4 port-priority 128 cost 1000
  50. #
  51. interface gigabitEthernet 1/0/3
  52. switchport general allowed vlan 35,2005 tagged
  53. spanning-tree
  54. spanning-tree mst instance 3 port-priority 128 cost 1000
  55. #
  56. interface gigabitEthernet 1/0/4
  57. switchport general allowed vlan 45,2005 tagged
  58. spanning-tree
  59. spanning-tree mst instance 4 port-priority 128 cost 1000
  60. #
  61. interface gigabitEthernet 1/0/5
  62. switchport general allowed vlan 2005 untagged
  63. switchport pvid 2005
  64. spanning-tree
  65. #
  66. interface gigabitEthernet 1/0/6
  67. switchport general allowed vlan 56,2005 tagged
  68. spanning-tree
  69. spanning-tree mst instance 4 port-priority 128 cost 1000
  70. #
  71. # [...]
  72. #
  73. interface gigabitEthernet 1/0/8
  74. switchport general allowed vlan 15,25,35,45,56,2005 tagged
  75. spanning-tree
  76. #
  77. ip management-vlan 2005
  78. interface vlan 2005
  79. ip address 172.24.5.1 255.255.0.0
  80. #
  81. end