Advertisement
wavec022

router lab config

Mar 8th, 2021 (edited)
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. --------------1REG CONFIG-----------------------------
  2.  
  3. service password-encryption
  4. hostname 1REG
  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 GigabitEthernet0/0
  15. description TO 2REG
  16. ip address 10.52.3.225 255.255.255.252
  17. ip ospf message-digest-key 1 md5 cisco
  18. ip ospf authentication message-digest
  19. no shutdown
  20. !
  21. interface GigabitEthernet0/1
  22. description TO USMA
  23. ip address 10.52.3.222 255.255.255.224
  24. no shutdown
  25. !
  26. interface FastEthernet0/0/0
  27. description TO EECSNET
  28. ip address 10.52.0.3 255.255.255.0
  29. no shutdown
  30. !
  31. interface Loopback0
  32. description this is my ospf router id
  33. ip address 10.52.3.254 255.255.255.255
  34. !
  35. ip dhcp pool USMA
  36. network 10.52.3.192 255.255.255.224
  37. default-router 10.52.3.222
  38. dns-server 10.19.89.201
  39. !
  40. ip route 0.0.0.0 0.0.0.0 f0/0/0
  41. !
  42. router ospf 50
  43. network 10.52.3.192 0.0.0.31 area 0
  44. network 10.52.3.224 0.0.0.3 area 0
  45. network 10.52.3.254 0.0.0.0 area 0
  46. default-information originate
  47. !
  48. banner login # This is the remote login for 1REG #
  49. banner motd # Welcome to 1REG #
  50. !
  51. line con 0
  52. password cisco
  53. line vty 0 15
  54. password cisco
  55. login local
  56. transport input ssh
  57. end
  58.  
  59.  
  60. --------------2REG CONFIG-----------------------------
  61.  
  62. service password-encryption
  63. hostname 2REG
  64. enable secret cisco
  65. enable password cisco1
  66. username sshuser password 0 sshpassword
  67. !
  68. ip domain-name cy350.com
  69. crypto key generate rsa
  70. 1024
  71. ip ssh version 2
  72. !
  73. interface GigabitEthernet0/0
  74. description TO 1REG
  75. ip address 10.52.3.226 255.255.255.252
  76. ip ospf message-digest-key 1 md5 cisco
  77. ip ospf authentication message-digest
  78. no shutdown
  79. !
  80. interface GigabitEthernet0/1
  81. description TO USAFA
  82. ip address 10.52.3.126 255.255.255.128
  83. no shutdown
  84. !
  85. interface FastEthernet0/0/0
  86. description TO USNA
  87. ip address 10.52.3.190 255.255.255.192
  88. no shutdown
  89. !
  90. interface Loopback0
  91. description this is my ospf router id
  92. ip address 10.52.3.253 255.255.255.255
  93. !
  94. ip dhcp pool USAFA
  95. network 10.52.3.0 255.255.255.128
  96. default-router 10.52.3.126
  97. dns-server 10.19.89.201
  98. !
  99. ip route 0.0.0.0 0.0.0.0 g0/0
  100. !
  101. router ospf 50
  102. network 10.52.3.0 0.0.0.127 area 0
  103. network 10.52.3.224 0.0.0.3 area 0
  104. network 10.52.3.253 0.0.0.0 area 0
  105. default-information originate
  106. !
  107. router eigrp 70
  108. network 10.52.3.128 0.0.0.63
  109. redistribute static
  110. redistribute ospf 50 metric 1000000 100 255 1 1500
  111. !
  112. router ospf 50
  113. redistribute eigrp 70 subnets
  114. !
  115. banner login # This is the remote login for 2REG #
  116. banner motd # Welcome to 2REG #
  117. !
  118. line con 0
  119. password cisco
  120. line vty 0 15
  121. password cisco
  122. login local
  123. transport input ssh
  124. end
  125.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement