wavec022

security lab config (not copy paste)

Apr 11th, 2021 (edited)
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. !
  2. version 15.1
  3. no service timestamps log datetime msec
  4. no service timestamps debug datetime msec
  5. no service password-encryption
  6. !
  7. hostname Internal_RTR
  8. !
  9. !
  10. !
  11. !
  12. !
  13. !
  14. !
  15. !
  16. ip cef
  17. no ipv6 cef
  18. !
  19. !
  20. !
  21. !
  22. license udi pid CISCO2911/K9 sn FTX15248396
  23. !
  24. !
  25. !
  26. !
  27. !
  28. !
  29. !
  30. !
  31. !
  32. !
  33. !
  34. spanning-tree mode pvst
  35. !
  36. !
  37. !
  38. !
  39. !
  40. !
  41. interface GigabitEthernet0/0
  42. ip address 10.64.0.3 255.255.255.248
  43. duplex auto
  44. speed auto
  45. !
  46. interface GigabitEthernet0/1
  47. no ip address
  48. duplex auto
  49. speed auto
  50. shutdown
  51. !
  52. interface GigabitEthernet0/2
  53. no ip address
  54. duplex auto
  55. speed auto
  56. shutdown
  57. !
  58. interface Vlan1
  59. no ip address
  60. shutdown
  61. !
  62. router ospf 10
  63. log-adjacency-changes
  64. network 10.64.0.0 0.0.0.7 area 0
  65. !
  66. ip classless
  67. !
  68. ip flow-export version 9
  69. !
  70. !
  71. !
  72. !
  73. !
  74. !
  75. !
  76. !
  77. line con 0
  78. !
  79. line aux 0
  80. !
  81. line vty 0 4
  82. login
  83. !
  84. !
  85. !
  86. end
  87.  
  88.  
  89. --------------Internal_RTR CONFIG-----------------------------
  90.  
  91. service password-encryption
  92. hostname Internal_RTR
  93. enable secret cisco
  94. enable password cisco1
  95. username sshuser password 0 sshpassword
  96. !
  97. ip domain-name cy350.com
  98. crypto key generate rsa
  99. 1024
  100. ip ssh version 2
  101. !
  102. interface GigabitEthernet0/0
  103. ip address 10.64.0.3 255.255.255.248
  104. no shutdown
  105. !
  106. interface GigabitEthernet0/1
  107. description TO INT_SW
  108. no shutdown
  109. !
  110. interface GigabitEthernet0/1.11
  111. description VLAN 11
  112. encapsulation dot1q 11
  113. ip address 10.64.3.126 255.255.255.128
  114. !
  115. interface GigabitEthernet0/1.12
  116. description VLAN 12
  117. encapsulation dot1q 12
  118. ip address 10.64.3.190 255.255.255.192
  119. !
  120. interface GigabitEthernet0/1.13
  121. description VLAN 13
  122. encapsulation dot1q 13
  123. ip address 10.10.10.62 255.255.255.192
  124. ip nat inside
  125. !
  126. interface GigabitEthernet 0/1.14
  127. description VLAN 40
  128. encapsulation dot1q 40
  129. ip address 10.64.3.230 255.255.255.248
  130. !
  131. router ospf 10
  132. network 10.64.0.0 0.0.0.7 area 0
  133. network 10.64.3.0 0.0.0.127 area 0
  134. network 10.64.3.128 0.0.0.63 area 0
  135. network 10.10.10.0 0.0.0.63 area 0
  136. network 10.64.3.224 0.0.0.15 area 0
  137. !
  138. banner login # This is the remote login for Internal_RTR #
  139. banner motd # Welcome to Internal_RTR #
  140. !
  141. line con 0
  142. password cisco
  143. line vty 0 15
  144. password cisco
  145. login local
  146. transport input ssh
  147. end
  148.  
  149.  
  150. --------------Internal_SW CONFIG-----------------------------
  151.  
  152. service password-encryption
  153. hostname Internal_SW
  154. enable secret cisco
  155. enable password cisco1
  156. username sshuser password 0 sshpassword
  157. !
  158. ip domain-name cy350.com
  159. crypto key generate rsa
  160. 1024
  161. ip ssh version 2
  162. !
  163. vlan 11
  164. name Sales
  165. vlan 12
  166. name Engineering
  167. vlan 13
  168. name HR
  169. vlan 14
  170. name MGMT
  171. !
  172. interface vlan 14
  173. description vlan self
  174. ip address 10.64.3.225 255.255.255.240
  175. no shutdown
  176. !
  177. interface FastEthernet0/1
  178. description to IntRTR
  179. switchport mode trunk
  180. switchport trunk allowed vlan 11,12,13,14
  181. !
  182. interface FastEthernet0/2
  183. description to PC2
  184. switchport mode access
  185. switchport access vlan 11
  186. !
  187. interface FastEthernet0/3
  188. description to PC3
  189. switchport mode access
  190. switchport access vlan 12
  191. !
  192. interface FastEthernet0/4
  193. description to PC4
  194. switchport mode access
  195. switchport access vlan 13
  196. !
  197. interface FastEthernet0/5
  198. description to PC5
  199. switchport mode access
  200. switchport access vlan 14
  201. !
  202. banner login # This is the remote login for Internal_SW #
  203. banner motd # Welcome to Internal_SW #
  204. !
  205. line con 0
  206. password cisco
  207. line vty 0 15
  208. password cisco
  209. login local
  210. transport input ssh
  211. end
  212.  
  213.  
Add Comment
Please, Sign In to add comment