Advertisement
dum00

Type-A

Jan 21st, 2018
562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. Routing & Switching Essentials Practice Skills Assessment Part I – Type A
  2.  
  3.  
  4. Main - Router
  5. enable
  6. configure terminal
  7. no ip domain-lookup
  8. hostname Main
  9. service password-encryption
  10. enable secret class
  11. banner motd $users that unauthorized access is prohibited$
  12. line console 0
  13. logging synchronous
  14. password cisco
  15. login
  16. exit
  17. ip domain-name cisco.com
  18. username admin password class
  19. crypto key generate rsa
  20. yes
  21. 1024
  22. ip ssh version 2
  23. line vty 0 15
  24. transport input ssh
  25. login local
  26. exit
  27.  
  28. interface gigabitEthernet 0/1
  29. ip address 192.168.2.1 255.255.255.0
  30. no shutdown
  31. description Local-1
  32.  
  33. int s0/0/0
  34. ip address 10.1.1.1 255.255.255.252
  35. no shutdown
  36. description Connection-to-Branch
  37. exit
  38.  
  39. interface g0/0.5
  40. encapsulation dot1Q 5
  41. ip address 192.168.1.1 255.255.255.240
  42.  
  43. interface g0/0.10
  44. encapsulation dot1Q 10
  45. ip address 192.168.1.17 255.255.255.240
  46.  
  47. interface g0/0.15
  48. encapsulation dot1Q 15
  49. ip address 192.168.1.33 255.255.255.240
  50.  
  51. interface g0/0.50
  52. encapsulation dot1Q 50
  53. ip address 192.168.1.49 255.255.255.240
  54. exit
  55.  
  56. int g0/0
  57. no sh
  58. no shutdown
  59. exit
  60.  
  61. ip access-list standard block15
  62. deny 192.168.1.32 0.0.0.15
  63. permit any
  64.  
  65. ip access-list standard ACL
  66. line vty 0
  67. access-class ACL in
  68.  
  69. int g0/0.10
  70. ip access-group block15 out
  71. exit
  72.  
  73. Router rip
  74. version 2
  75. network 10.1.1.0
  76. network 192.168.1.0
  77. network 192.168.1.16
  78. network 192.168.1.32
  79. network 192.168.1.48
  80. network 192.168.2.0
  81. no auto-summary
  82. passive-interface g0/0.5
  83. passive-interface g0/0.10
  84. passive-interface g0/0.15
  85. passive-interface g0/0.50
  86. passive-interface g0/0
  87. passive-interface g0/1
  88. exit
  89.  
  90. service timestamps log datetime msec
  91. service timestamps debug datetime msec
  92. ntp server 192.168.2.10
  93.  
  94. logging 192.168.2.10
  95.  
  96. logging trap debugging
  97. ntp update-calendar
  98.  
  99.  
  100.  
  101.  
  102. Remote - Router
  103. en
  104. conf ter
  105. router rip
  106. version 2
  107. network 10.1.1.0
  108. network 192.168.3.0
  109. default-information originate
  110. no auto-summary
  111. passive-interface s0/0/1
  112. passive-interface g0/0
  113.  
  114.  
  115.  
  116.  
  117. Main-1-SW (Switch)
  118. enable
  119. configure terminal
  120. vlan 5
  121. name ACAD
  122. vlan 10
  123. name TEACH
  124. vlan 15
  125. name STUDENT
  126. vlan 50
  127. name NETADMIN
  128. exit
  129.  
  130. interface range f0/23, f0/24, g0/1
  131. switchport mode trunk
  132. exit
  133.  
  134. int vlan 50
  135. ip address 192.168.1.50 255.255.255.240
  136. no shutdown
  137. exit
  138. ip default-gateway 192.168.1.49
  139.  
  140.  
  141.  
  142.  
  143. Main-2-SW
  144. enable
  145. configure terminal
  146. vlan 5
  147. name ACAD
  148. vlan 10
  149. name TEACH
  150. vlan 15
  151. name STUDENT
  152. vlan 50
  153. name NETADMIN
  154. exit
  155. int f0/23
  156. switchport mode trunk
  157. int f0/5
  158. switchport mode access
  159. switchport access vlan 5
  160. int f0/10
  161. switchport mode access
  162. switchport access vlan 10
  163.  
  164. int f0/15
  165. switchport mode access
  166. switchport access vlan 15
  167.  
  168. int f0/20
  169. switchport mode access
  170. switchport access vlan 50
  171. exit
  172.  
  173. int vlan 50
  174. ip address 192.168.1.51 255.255.255.240
  175. no shutdown
  176. exit
  177.  
  178. ip default-gateway 192.168.1.49
  179. int range f0/1-4, f0/6-9, f0/11-14, f0/16-19, f0/21-22, f0/24, g0/1-2
  180. shutdown
  181.  
  182. int range f0/5, f0/10, f0/15, f0/20
  183. switchport mode access
  184. switchport port-security
  185. switchport port-security maximum 2
  186. switchport port-security mac-add sticky
  187. switchport port-security violation protect
  188.  
  189.  
  190.  
  191.  
  192. Main-3-SW
  193. enable
  194. configure terminal
  195.  
  196. vlan 5
  197. name ACAD
  198. vlan 10
  199. name TEACH
  200. vlan 15
  201. name STUDENT
  202. vlan 50
  203. name NETADMIN
  204.  
  205. exit
  206. int f0/24
  207. switchport mode trunk
  208. exit
  209. interface f0/5
  210. switchport mode access
  211. switchport access vlan 5
  212. interface f0/10
  213. switchport mode access
  214. switchport access vlan 10
  215. interface f0/15
  216. switchport mode access
  217. switchport access vlan 15
  218.  
  219. interface f0/20
  220. switchport mode access
  221. switchport access vlan 50
  222.  
  223. int vlan 50
  224. ip add 192.168.1.52 255.255.255.240
  225. no sh
  226. exit
  227. ip default-gateway 192.168.1.49
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement