Advertisement
wavec022

hw5 router config old

Feb 28th, 2021 (edited)
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. --------------HOU CONFIG-----------------------------
  2.  
  3. service password-encryption
  4. hostname HOUR
  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 Ethernet1/0
  15. description TO PORR
  16. ip address 10.64.3.197 255.255.255.252
  17. no shutdown
  18. !
  19. interface Ethernet1/1
  20. description TO NYCR
  21. ip address 10.64.3.185 255.255.255.252
  22. no shutdown
  23. !
  24. interface Ethernet1/2
  25. description TO ORLR
  26. ip address 10.64.3.193 255.255.255.252
  27. no shutdown
  28. !
  29. interface Ethernet1/3
  30. description TO SANR
  31. ip address 10.64.3.189 255.255.255.252
  32. no shutdown
  33. !
  34. interface Loopback0
  35. description this is my ospf router id
  36. ip address 10.0.0.252 255.255.255.255
  37. !
  38. router ospf 2
  39. network 10.64.3.192 0.0.0.3 area 0
  40. network 10.64.3.188 0.0.0.3 area 0
  41. network 10.64.3.252 0.0.0.0 area 0
  42. !
  43. router eigrp 20
  44. network 10.64.3.184 0.0.0.3
  45. network 10.64.3.196 0.0.0.3
  46. redistribute ospf 2 metric 1000000 100 255 1 1500
  47. !
  48. router ospf 2
  49. redistribute eigrp 20 subnets
  50. !
  51. banner login # This is the remote login for R1 #
  52. banner motd # Welcome to R1 #
  53. !
  54. line con 0
  55. password cisco
  56. line vty 0 15
  57. password cisco
  58. login local
  59. transport input ssh
  60. end
  61.  
  62.  
  63. --------------POR CONFIG-----------------------------
  64.  
  65. service password-encryption
  66. hostname PORR
  67. enable secret cisco
  68. enable password cisco1
  69. username sshuser password 0 sshpassword
  70. !
  71. ip domain-name cy350.com
  72. crypto key generate rsa
  73. 1024
  74. ip ssh version 2
  75. !
  76. interface GigabitEthernet0/0
  77. description TO HOU
  78. ip address 10.64.3.198 255.255.255.252
  79. no shutdown
  80. !
  81. interface GigabitEthernet0/1
  82. description TO POR
  83. ip address 10.64.3.182 255.255.255.248
  84. no shutdown
  85. !
  86. router eigrp 20
  87. network 10.64.3.176 0.0.0.7
  88. network 10.64.3.196 0.0.0.3
  89. !
  90. banner login # This is the remote login for R2 #
  91. banner motd # Welcome to R2 #
  92. !
  93. line con 0
  94. password cisco
  95. line vty 0 15
  96. password cisco
  97. login local
  98. transport input ssh
  99. end
  100.  
  101.  
  102. --------------SAN CONFIG-----------------------------
  103.  
  104. service password-encryption
  105. hostname SANR
  106. enable secret cisco
  107. enable password cisco1
  108. username sshuser password 0 sshpassword
  109. !
  110. ip domain-name cy350.com
  111. crypto key generate rsa
  112. 1024
  113. ip ssh version 2
  114. !
  115. interface GigabitEthernet0/0
  116. description TO HOU
  117. ip address 10.64.3.190 255.255.255.252
  118. no shutdown
  119. !
  120. interface GigabitEthernet0/1
  121. description TO SAN
  122. ip address 10.64.3.158 255.255.255.224
  123. no shutdown
  124. !
  125. interface Loopback0
  126. description OSPF ROUTER ID
  127. ip address 10.64.3.254 255.255.255.255
  128. !
  129. router ospf 2
  130. network 10.64.3.128 0.0.0.127 area 0
  131. network 10.64.3.188 0.0.0.3 area 0
  132. network 10.64.3.254 0.0.0.0 area 0
  133. !
  134. banner login # This is the remote login for R1 #
  135. banner motd # Welcome to R1 #
  136. !
  137. line con 0
  138. password cisco
  139. line vty 0 15
  140. password cisco
  141. login local
  142. transport input ssh
  143. end
  144.  
  145.  
  146. --------------ORL CONFIG-----------------------------
  147.  
  148. service password-encryption
  149. hostname ORLR
  150. enable secret cisco
  151. enable password cisco1
  152. username sshuser password 0 sshpassword
  153. !
  154. ip domain-name cy350.com
  155. crypto key generate rsa
  156. 1024
  157. ip ssh version 2
  158. !
  159. interface GigabitEthernet0/0
  160. description TO HOU
  161. ip address 10.64.3.194 255.255.255.252
  162. no shutdown
  163. !
  164. interface GigabitEthernet0/1
  165. description TO ORL
  166. ip address 10.64.3.174 255.255.255.240
  167. no shutdown
  168. !
  169. interface Loopback0
  170. description OSPF ROUTER ID
  171. ip address 10.64.3.253 255.255.255.255
  172. !
  173. router ospf 2
  174. network 10.64.3.160 0.0.0.15 area 0
  175. network 10.64.3.192 0.0.0.3 area 0
  176. network 10.64.3.253 0.0.0.0 area 0
  177. !
  178. banner login # This is the remote login for R2 #
  179. banner motd # Welcome to R2 #
  180. !
  181. line con 0
  182. password cisco
  183. line vty 0 15
  184. password cisco
  185. login local
  186. transport input ssh
  187. end
  188.  
  189.  
  190. --------------NYC CONFIG-----------------------------
  191.  
  192. service password-encryption
  193. hostname NYCR
  194. enable secret cisco
  195. enable password cisco1
  196. username sshuser password 0 sshpassword
  197. !
  198. ip domain-name cy350.com
  199. crypto key generate rsa
  200. 1024
  201. ip ssh version 2
  202. !
  203. interface GigabitEthernet0/0
  204. description TO HOU
  205. ip address 10.64.3.186 255.255.255.252
  206. no shutdown
  207. !
  208. interface GigabitEthernet0/1
  209. description TO NYC
  210. ip address 10.64.3.126 255.255.255.128
  211. no shutdown
  212. !
  213. router eigrp 20
  214. network 10.64.3.0 0.0.0.127
  215. network 10.64.3.184 0.0.0.3
  216. !
  217. banner login # This is the remote login for R1 #
  218. banner motd # Welcome to R1 #
  219. !
  220. line con 0
  221. password cisco
  222. line vty 0 15
  223. password cisco
  224. login local
  225. transport input ssh
  226. end
  227.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement