wavec022

switching lab config

Mar 30th, 2021 (edited)
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.28 KB | None | 0 0
  1. --------------3REG CONFIG-----------------------------
  2.  
  3. service password-encryption
  4. hostname 3REG
  5. enable secret cisco
  6. enable password cisco1
  7. username sshuser password 0 sshpassword
  8. !
  9. ip domain-name cy350.com
  10. crypto key generate rsa
  11. 1024
  12. ip ssh version 2
  13. !
  14. interface FastEthernet0/0
  15. description TO 4REG
  16. ip address 10.64.3.241 255.255.255.252
  17. no shutdown
  18. !
  19. interface FastEthernet0/1
  20. description TO EECSNET
  21. ip address 10.64.0.3 255.255.255.0
  22. no shutdown
  23. !
  24. ip route 0.0.0.0 0.0.0.0 f0/1
  25. !
  26. router eigrp 70
  27. network 10.64.3.240 0.0.0.3
  28. redistribute static
  29. !
  30. banner login # This is the remote login for 3REG #
  31. banner motd # Welcome to 3REG #
  32. !
  33. line con 0
  34. password cisco
  35. line vty 0 15
  36. password cisco
  37. login local
  38. transport input ssh
  39. end
  40.  
  41.  
  42. --------------4REG CONFIG-----------------------------
  43.  
  44. service password-encryption
  45. hostname 4REG
  46. enable secret cisco
  47. enable password cisco1
  48. username sshuser password 0 sshpassword
  49. !
  50. ip domain-name cy350.com
  51. crypto key generate rsa
  52. 1024
  53. ip ssh version 2
  54. !
  55. ip dhcp pool EE
  56. network 10.64.3.0 255.255.255.128
  57. default-router 10.64.3.126
  58. !
  59. ip dhcp pool CS
  60. network 10.64.3.128 255.255.255.192
  61. default-router 10.64.3.190
  62. !
  63. ip dhcp pool IT
  64. network 10.64.3.192 255.255.255.224
  65. default-router 10.64.3.222
  66. !
  67. ip dhcp pool Voice
  68. network 10.64.3.232 255.255.255.248
  69. default-router 10.64.3.238
  70. option 150 ip 10.64.3.238
  71. !
  72. interface FastEthernet0/0
  73. description TO 3REG
  74. ip address 10.64.3.242 255.255.255.252
  75. no shutdown
  76. !
  77. interface FastEthernet0/1
  78. description TO SW
  79. no shutdown
  80. !
  81. interface FastEthernet0/1.10
  82. description VLAN 10
  83. encapsulation dot1q 10
  84. ip address 10.52.3.126 255.255.255.128
  85. !
  86. interface FastEthernet0/1.20
  87. description VLAN 20
  88. encapsulation dot1q 20
  89. ip address 10.64.3.190 255.255.255.192
  90. !
  91. interface FastEthernet0/1.30
  92. description VLAN 30
  93. encapsulation dot1q 30
  94. ip address 10.64.3.222 255.255.255.224
  95. !
  96. interface FastEthernet 0/1.40
  97. description VLAN 40
  98. encapsulation dot1q 40
  99. ip address 10.64.3.230 255.255.255.248
  100. !
  101. interface FastEthernet 0/1.50
  102. description VLAN 50
  103. encapsulation dot1q 50
  104. ip address 10.64.3.238 255.255.255.248
  105. !
  106. ip route 0.0.0.0 0.0.0.0 f0/0
  107. !
  108. router eigrp 70
  109. network 10.64.3.0 0.0.0.127
  110. network 10.64.3.128 0.0.0.63
  111. network 10.64.3.192 0.0.0.31
  112. network 10.64.3.224 0.0.0.7
  113. network 10.64.3.232 0.0.0.7
  114. network 10.64.3.240 0.0.0.3
  115. redistribute static
  116. !
  117. telephony-service
  118. max-ephones 3
  119. max-dn 3
  120. ip source-address 10.64.3.238 port 2000
  121. auto assign 1 to 3
  122. !
  123. ephone-dn 1
  124. number 1001
  125. !
  126. ephone-dn 2
  127. number 1002
  128. !
  129. ephone-dn 3
  130. number 1003
  131. !
  132. ephone 1
  133. type 7960
  134. button 1:1
  135. !
  136. ephone 2
  137. type 7960
  138. button 1:2
  139. !
  140. ephone 3
  141. type 7960
  142. button 1:3
  143. !
  144. banner login # This is the remote login for 4REG #
  145. banner motd # Welcome to 4REG #
  146. !
  147. line con 0
  148. password cisco
  149. line vty 0 15
  150. password cisco
  151. login local
  152. transport input ssh
  153. end
  154.  
  155.  
  156. --------------1BN CONFIG-----------------------------
  157.  
  158. service password-encryption
  159. hostname 1BN
  160. enable secret cisco
  161. enable password cisco1
  162. username sshuser password 0 sshpassword
  163. !
  164. ip domain-name cy350.com
  165. crypto key generate rsa
  166. 1024
  167. ip ssh version 2
  168. !
  169. vlan 10
  170. name EE
  171. vlan 20
  172. name CS
  173. vlan 30
  174. name IT
  175. vlan 40
  176. name MGMT
  177. vlan 50
  178. name Voice
  179. !
  180. vtp domain CY350.com
  181. vtp mode server
  182. vtp password cisco
  183. vtp version 2
  184. !
  185. interface vlan 40
  186. description vlan self
  187. ip address 10.64.3.225 255.255.255.248
  188. no shutdown
  189. !
  190. interface FastEthernet0/1
  191. description to EE1
  192. switchport mode access
  193. switchport access vlan 10
  194. !
  195. interface FastEthernet0/2
  196. description to EE2
  197. switchport mode access
  198. switchport access vlan 10
  199. !
  200. interface FastEthernet0/3
  201. description to EE3
  202. switchport mode access
  203. switchport access vlan 10
  204. !
  205. interface FastEthernet0/4
  206. description to CS1
  207. switchport mode access
  208. switchport access vlan 20
  209. !
  210. interface FastEthernet0/5
  211. description to CS2
  212. switchport mode access
  213. switchport access vlan 20
  214. !
  215. interface FastEthernet0/6
  216. description to CS3
  217. switchport mode access
  218. switchport access vlan 20
  219. !
  220. interface FastEthernet0/7
  221. description to IT1/Phone
  222. switchport mode access
  223. switchport access vlan 30
  224. switchport voice vlan 50
  225. !
  226. interface GigabitEthernet0/1
  227. description to 4REG
  228. switchport mode trunk
  229. switchport trunk allowed vlan 10,20,30,50
  230. !
  231. interface GigabitEthernet0/2
  232. description to 2BN
  233. switchport mode trunk
  234. switchport trunk allowed vlan 10,20,30,40,50
  235. !
  236. ip default-gateway 10.64.3.230
  237. !
  238. banner login # This is the remote login for 1BN #
  239. banner motd # Welcome to 1BN #
  240. !
  241. line con 0
  242. password cisco
  243. line vty 0 15
  244. password cisco
  245. login local
  246. transport input ssh
  247. end
  248.  
  249.  
  250. --------------2BN CONFIG-----------------------------
  251.  
  252. service password-encryption
  253. hostname 2BN
  254. enable secret cisco
  255. enable password cisco1
  256. username sshuser password 0 sshpassword
  257. !
  258. ip domain-name cy350.com
  259. crypto key generate rsa
  260. 1024
  261. ip ssh version 2
  262. vlan 10
  263. name EE
  264. vlan 20
  265. name CS
  266. vlan 30
  267. name IT
  268. vlan 40
  269. name MGMT
  270. vlan 50
  271. name Voice
  272. !
  273. vtp domain CY350.com
  274. vtp mode client
  275. vtp password cisco
  276. vtp version 2
  277. !
  278. interface vlan 40
  279. description vlan self
  280. ip address 10.64.3.226 255.255.255.248
  281. no shutdown
  282. !
  283. interface FastEthernet0/1
  284. description to EE4
  285. switchport mode access
  286. switchport access vlan 10
  287. !
  288. interface FastEthernet0/2
  289. description to EE5
  290. switchport mode access
  291. switchport access vlan 10
  292. !
  293. interface FastEthernet0/3
  294. description to EE6
  295. switchport mode access
  296. switchport access vlan 10
  297. !
  298. interface FastEthernet0/4
  299. description to CS4
  300. switchport mode access
  301. switchport access vlan 20
  302. !
  303. interface FastEthernet0/5
  304. description to CS5
  305. switchport mode access
  306. switchport access vlan 20
  307. !
  308. interface FastEthernet0/6
  309. description to CS6
  310. switchport mode access
  311. switchport access vlan 20
  312. !
  313. interface FastEthernet0/7
  314. description to MGMT/Phone
  315. switchport mode access
  316. switchport access vlan 40
  317. switchport voice vlan 50
  318. !
  319. interface GigabitEthernet0/2
  320. description to 1BN
  321. switchport mode trunk
  322. switchport trunk allowed vlan 10,20,30,40,50
  323. !
  324. ip default-gateway 10.64.3.230
  325. !
  326. banner login # This is the remote login for 2BN #
  327. banner motd # Welcome to 2BN #
  328. !
  329. line con 0
  330. password cisco
  331. line vty 0 15
  332. password cisco
  333. login local
  334. transport input ssh
  335. end
  336.  
Add Comment
Please, Sign In to add comment