_TruELecter_

Untitled

Dec 17th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. hostname [check hostname instructions]
  2.  
  3. line console 0
  4. password cisco
  5. login
  6. exit
  7. enable secret class
  8. service password-encryption
  9. interface vlan1
  10. ip address [check IP] 255.255.255.0
  11. ip default-gateway [ip address of router port to Switch]
  12. no shutdown
  13. exit
  14. ip domain-name cisco.com
  15. crypto key generate rsa
  16.  
  17. ip ssh version 2
  18. username admin secret ccna
  19. line vty 0 15
  20. login local
  21. transport input ssh
  22. exit
  23. int fa0/1
  24. no shutdown
  25. int range fa0/2-24
  26. shutdown
  27. int g0/2
  28. shutdown
  29. int range fa0/1-24
  30. switchport mode access
  31. switchport port-security
  32. switchport port-security mac-address sticky
  33. switchport port-security maximum 2
  34. switchport port-security violation shutdown
  35. int range g0/1-2
  36. switchport mode access
  37. switchport port-security
  38. switchport port-security mac-address sticky
  39. switchport port-security maximum 2
  40. switchport port-security violation shutdown
Advertisement
Add Comment
Please, Sign In to add comment