Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. Merida Configs
  2. --------------------
  3.  
  4. en
  5.  
  6. conf t
  7.  
  8. hostname merida
  9.  
  10. enable secret class
  11.  
  12. line con 0
  13.  
  14. password cisco
  15.  
  16. login
  17.  
  18. line vty 0 4
  19.  
  20. password cisco
  21.  
  22. login
  23.  
  24. int fa0/0
  25.  
  26. ip add 192.168.1.1 255.255.255.0
  27.  
  28. no shut
  29.  
  30. int s0/0
  31.  
  32. ip add 172.16.100.2 255.255.255.252
  33.  
  34. clock rate 64000
  35.  
  36. no shut
  37.  
  38. router ospf 1
  39.  
  40. router-id 10.10.10.1
  41.  
  42. network 172.16.1.0 0.0.0.255 area 0
  43.  
  44. network 172.16.10.0 0.0.0.255 area 0
  45.  
  46. network 172.16.20.0 0.0.0.255 area 0
  47.  
  48. network 172.16.100.0 0.0.0.3 area 0
  49.  
  50. default-information originate
  51.  
  52. exit
  53.  
  54. int s0/0
  55.  
  56. ip ospf cost 1562
  57.  
  58.  
  59.  
  60. Vargas Configs
  61. ----------------------
  62.  
  63. en
  64.  
  65. conf t
  66.  
  67. hostname vargas
  68.  
  69. enable secret class
  70.  
  71. line con 0
  72.  
  73. password cisco
  74.  
  75. login
  76.  
  77. line vty 0 4
  78.  
  79. password cisco
  80.  
  81. login
  82.  
  83. int s0/0
  84.  
  85. ip add 172.16.100.1 255.255.255.252
  86.  
  87. router ospf 1
  88.  
  89. router-id 10.10.10.2
  90.  
  91. network 172.16.1.0 0.0.0.255 area 0
  92.  
  93. network 172.16.10.0 0.0.0.255 area 0
  94.  
  95. network 172.16.20.0 0.0.0.255 area 0
  96.  
  97. network 172.16.100.0 0.0.0.255 area 0
  98.  
  99. exit
  100.  
  101. int s0/0
  102.  
  103. ip ospf cost 1562
  104.  
  105. int fa0/0.1
  106.  
  107. encapsulation dot1Q 1 native
  108.  
  109. ip add 172.16.1.1 255.255.255.0
  110.  
  111. int fa0/0.10
  112.  
  113. encapsulation dot1Q 10
  114.  
  115. ip add 17.16.10.1 255.255.255.0
  116.  
  117. int fa0/0.20
  118.  
  119. encapsulation dot1Q 20
  120.  
  121. ip add 172.16.20.1 255.255.255.0
  122.  
  123.  
  124.  
  125. Switch 1 Configs
  126. ------------------------
  127.  
  128. en
  129.  
  130. conf t
  131.  
  132. hostname Switch1
  133.  
  134. enable secret class
  135.  
  136. line con 0
  137.  
  138. password cisco
  139.  
  140. login
  141.  
  142. line vty 0 4
  143.  
  144. password cisco
  145.  
  146. login
  147.  
  148. int vlan 1
  149.  
  150. ip add 172.16.1.2 255.255.255.0
  151.  
  152. exit
  153.  
  154. ip default-gateway 172.16.1.1
  155.  
  156. vlan 10
  157.  
  158. name faculty
  159.  
  160. vlan 20
  161.  
  162. name student
  163.  
  164. int fa0/5
  165.  
  166. switchport mode access
  167.  
  168. switchport access vlan 10
  169.  
  170. int fa0/6
  171.  
  172. switchport mode access
  173.  
  174. switchport access vlan 10
  175.  
  176. int fa0/7
  177.  
  178. switchport mode access
  179.  
  180. switchport access vlan 20
  181.  
  182. int fa0/8
  183.  
  184. switchport mode access
  185.  
  186. switchport access vlan 20
  187.  
  188. int fa0/1
  189.  
  190. switchport mode trunk
  191.  
  192. switchport trunk encapsulation dot1
  193.  
  194. switchport trunk native vlan 1
  195.  
  196. int fa0/2
  197.  
  198. switchport mode trunk
  199.  
  200. switchport trunk encapsulation dot1q
  201.  
  202. switchport trunk native vlan 1
  203.  
  204. exit
  205.  
  206. vtp domain Group1
  207.  
  208. vtp mode server
  209.  
  210. exit
  211.  
  212. int range fa0/5-8
  213.  
  214. switchport port-security
  215.  
  216.  
  217.  
  218. switch2 configs
  219. ---------------------
  220.  
  221. en
  222.  
  223. conf t
  224.  
  225. hostname Switch2
  226.  
  227. enable secret cisco
  228.  
  229. line con 0
  230.  
  231. password cisco
  232.  
  233. login
  234.  
  235. line vty 0 4
  236.  
  237. password cisco
  238.  
  239. login
  240.  
  241. int vlan 1
  242.  
  243. ip add 172.16.1.3 255.255.255.0
  244.  
  245. exit
  246.  
  247. ip default-gateway 172.16.1.1
  248.  
  249. vlan 10
  250.  
  251. name faculty
  252.  
  253. vlan 20
  254.  
  255. name student
  256.  
  257. int fa0/5
  258.  
  259. switchport mode access
  260.  
  261. switchport access vlan 10
  262.  
  263. int fa0/6
  264.  
  265. switchport mode access
  266.  
  267. switchport access vlan 10
  268.  
  269. int fa0/7
  270.  
  271. switchport mode access
  272.  
  273. switchport access vlan 20
  274.  
  275. int fa0/8
  276.  
  277. switchport mode access
  278.  
  279. switchport access vlan 20
  280.  
  281. int fa0/1
  282.  
  283. switchport mode trunk
  284.  
  285. switchport trunk encapsulation dot1q
  286.  
  287. switchport trunk native vlan 1
  288.  
  289. exit
  290.  
  291. vtp domain Group1
  292.  
  293. vtp mode client
  294.  
  295. exit
  296.  
  297. int range fa0/5-8
  298.  
  299. switchport port-security
  300.  
  301. switchport trunk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement