Advertisement
wavec022

hw2 router config

Feb 5th, 2021 (edited)
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --------------RTR 1 CONFIG-----------------------------
  2.  
  3. service password-encryption
  4. hostname RTR1
  5. enable secret cisco
  6. enable password cisco1
  7. username sshuser password 0 sshpassword
  8. ----------------------need keys first----------------------
  9. ip domain-name cy350.com
  10. crypto key generate rsa
  11. 1024
  12. ip ssh version 2
  13. -----------interface configs------------------------------
  14. interface GigabitEthernet0/0
  15. description TO RTR2
  16. ip address 12.12.12.1 255.255.255.0
  17. no shutdown
  18. !
  19. interface GigabitEthernet0/1
  20. description TO SW1
  21. ip address 11.11.11.254 255.255.255.0
  22. no shutdown
  23. !
  24. banner login # This is the remote login for RTR1 #
  25. banner motd # Welcome to RTR1 #
  26. !
  27. line con 0
  28. password cisco
  29. line vty 0 15
  30. password cisco
  31. login local
  32. transport input ssh
  33. end
  34.  
  35.  
  36. --------------RTR 2 CONFIG-----------------------------
  37.  
  38. service password-encryption
  39. hostname RTR2
  40. enable secret cisco
  41. enable password cisco1
  42. username sshuser password 0 sshpassword
  43. ----------------------need keys first----------------------
  44. ip domain-name cy350.com
  45. crypto key generate rsa
  46. 1024
  47. ip ssh version 2
  48. -----------interface configs------------------------------
  49. interface GigabitEthernet0/0
  50. description TO RTR1
  51. ip address 12.12.12.2 255.255.255.0
  52. no shutdown
  53. !
  54. interface GigabitEthernet0/1
  55. description TO SW2
  56. ip address 10.10.10.254 255.255.255.0
  57. no shutdown
  58. !
  59. banner login # This is the remote login for RTR2 #
  60. banner motd # Welcome to RTR2 #
  61. !
  62. line con 0
  63. password cisco
  64. line vty 0 15
  65. password cisco
  66. login local
  67. transport input ssh
  68. end
  69.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement