Advertisement
Guest User

CISCO Commands

a guest
Dec 9th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. no ip domain-lookup
  2. enable secret cisco
  3. line console 0
  4. password cisco
  5. login
  6.  
  7. line vty 0 15
  8. password cisco
  9. login
  10. exit
  11.  
  12. service password-encryption
  13.  
  14. int s0/0/0
  15. ip address 172.16.10.1 255.255.255.0
  16. no shutdown
  17.  
  18.  
  19. hostname Atom
  20. no ip domain-lookup
  21. enable secret cisco
  22.  
  23. line console 0
  24. password cisco
  25. login
  26. line vty 0 15
  27. password cisco
  28. login
  29. exit
  30.  
  31.  
  32. int g0/0.20 --- vlan20
  33. encapsulation dot1Q 20
  34. ip address 172.16.20.254 255.255.255.0
  35.  
  36. int g0/0.40 vlan40
  37. encapsulation dot1Q 40
  38. ip address 172.16.40.254 255.255.255.0
  39.  
  40.  
  41. int g0/0
  42. no sh
  43. exit
  44.  
  45. access-list 10 permit 172.16.60.0 0.0.0.255
  46. ip access-list standard INT-WEB
  47. permit 172.16.40.0 0.0.0.255
  48.  
  49. exit
  50. line vty 0 15
  51. access-class 10 in
  52. exit
  53.  
  54.  
  55.  
  56. int vlan 88
  57. ip add 172.16.88.253 255.255.255.0
  58. no shutdown
  59. exit
  60. ip default-gateway 172.16.88.254
  61. vtp domain School
  62.  
  63. int g0/1
  64. switchport mode trunk
  65. int range f0/23-24
  66. switchport mode trunk
  67.  
  68.  
  69. vlan 20
  70. name Essa v20
  71.  
  72.  
  73. int range fastEthernet 0/1-5
  74. swtichport mode access
  75. switchport access vlan 20
  76.  
  77. and repeat then
  78. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement