Advertisement
adityass

Untitled

May 3rd, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. R1# conf t
  2. R1(config)# int s1/0
  3. R1(config-if)# ip add 100.1.1.2 255.255.255.0
  4. R1(config-if)# no shut
  5. R1(config-if)# int s1/1
  6. R1(config-if)# ip address 20.1.1.1 255.255.255.0
  7. R1(config-if)# no shut
  8. R1(config-if)# ex
  9.  
  10. RIP Configuration Commands for R1:
  11.  
  12. R1(config)# router rip
  13. R1(config-router)# version 2
  14. R1(config-router)# network 20.1.1.0
  15. R1(config-router)# network 100.1.1.0
  16.  
  17.  
  18. R0(config)# int lo0 //loopback interface
  19. R0(config-if)# ip add 10.1.1.1 255.255.255.0
  20. R0(config-if)# no shut
  21.  
  22.  
  23. DHCP
  24.  
  25. en
  26. conf t
  27. int f0/0
  28. ip add (ip) /24
  29. no sh
  30. ex
  31.  
  32. int f0/0
  33. ip dhcp pool poolname
  34. network netid subnet
  35. default-router (ip)
  36. dns-server 8.8.8.8
  37. do wr
  38. exit
  39.  
  40. PASSWORD
  41.  
  42. Router(config)#line con 0
  43. Router(config-line)#login
  44. Router(config-line)#password cisco
  45.  
  46.  
  47.  
  48. Router(config)#line vty 0 4
  49. Router(config-line)#login
  50. Router(config-line)#password cisco
  51. Stop console timing out in cases of inactivity Router(config)#line con 0
  52. Router(config-line)#exec-timeout 0 0
  53. Set the enable password to cisco Router(config)#enable password cisco
  54. Set the enable secret password to peter.
  55. This password overrides the enable password and is encypted within the config file
  56. Router(config)#enable secret peter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement