CA-sw2.cfg 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. !TL-SG2008
  2. #
  3. vlan 252,2005,2010,3007,3009,4007-4008
  4. #
  5. vlan 252
  6. name "DHCP NAT"
  7. #
  8. vlan 2005
  9. name "Mgmt"
  10. #
  11. vlan 2010
  12. name "Mesh local"
  13. #
  14. vlan 3007
  15. name "mesh-7-lan"
  16. #
  17. vlan 3009
  18. name "DHCP FREE"
  19. #
  20. vlan 4007
  21. name "/dev/null port 7"
  22. #
  23. vlan 4008
  24. name "/dev/null port 8"
  25. #
  26. #
  27. #
  28. #
  29. hostname "CA-sw2"
  30. #
  31. mac address-table aging-time 300
  32. #
  33. #
  34. #
  35. system-time ntp UTC+01:00 172.24.252.9 172.24.252.10 1
  36. system-time dst predefined Europe
  37. #
  38. spanning-tree
  39. spanning-tree mode rstp
  40. #
  41. #
  42. user name admin privilege admin secret 5 $1$...
  43. #
  44. #
  45. #
  46. #
  47. #
  48. #
  49. ip ssh server
  50. #
  51. interface gigabitEthernet 1/0/1
  52. switchport general allowed vlan 252 untagged
  53. switchport pvid 252
  54. description "DHCP NAT"
  55. spanning-tree
  56. spanning-tree common-config portfast enable
  57. #
  58. interface gigabitEthernet 1/0/2
  59. switchport general allowed vlan 252 untagged
  60. switchport pvid 252
  61. description "DHCP NAT"
  62. spanning-tree
  63. spanning-tree common-config portfast enable
  64. #
  65. interface gigabitEthernet 1/0/3
  66. switchport general allowed vlan 3009 untagged
  67. switchport pvid 3009
  68. description "DHCP FREE"
  69. spanning-tree
  70. spanning-tree common-config portfast enable
  71. #
  72. interface gigabitEthernet 1/0/4
  73. switchport general allowed vlan 2010 untagged
  74. switchport pvid 2010
  75. description "FF-DO MoL"
  76. spanning-tree
  77. spanning-tree common-config portfast enable
  78. #
  79. interface gigabitEthernet 1/0/5
  80. switchport general allowed vlan 2005 untagged
  81. switchport pvid 2005
  82. description "Mgmt"
  83. spanning-tree
  84. spanning-tree common-config portfast enable
  85. #
  86. interface gigabitEthernet 1/0/6
  87. switchport general allowed vlan 252 untagged
  88. switchport pvid 252
  89. description "Gastrechner"
  90. spanning-tree
  91. spanning-tree common-config portfast enable
  92. #
  93. interface gigabitEthernet 1/0/7
  94. switchport general allowed vlan 252,2005,2010,3007,3009,4007 tagged
  95. switchport pvid 4007
  96. description "trunk"
  97. spanning-tree
  98. #
  99. interface gigabitEthernet 1/0/8
  100. switchport general allowed vlan 252,2005,2010,3007,3009,4008 tagged
  101. switchport pvid 4008
  102. description "trunk"
  103. spanning-tree
  104. #
  105. ip management-vlan 2005
  106. interface vlan 2005
  107. ip address 172.24.252.2 255.255.0.0
  108. #
  109. end