Advertisement
Guest User

CCNA3 OSPF

a guest
Jul 6th, 2015
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.35 KB | None | 0 0
  1. Site-1 / East
  2.  
  3. hostname East
  4. no ip domain-lookup
  5. enable secret cisco
  6. line console 0
  7. logging synchronous
  8. password cisco
  9. login
  10. line aux 0
  11. password cisco
  12. login
  13. line vty 0 15
  14. password cisco
  15. login
  16. service password-encryption
  17. banner motd @Authorized access only!@
  18.  
  19. interface serial 0/0/0
  20. bandwidth 128
  21. clock rate 12800
  22. ip address 192.168.100.22 255.255.255.252
  23. description 2-Central
  24. ip ospf cost 7500
  25. ip ospf message-digest-key 1 md5 xyz_OSPF
  26. ip ospf authentication message-digest
  27. no shutdown
  28. exit
  29.  
  30. interface gi 0/0
  31. ip address 192.168.8.1 255.255.255.0
  32. description Manage-1A
  33. no shutdown
  34. interface gi 0/1
  35. ip address 192.168.9.1 255.255.255.0
  36. description Clerk-1C
  37. no shutdown
  38. exit
  39.  
  40. router ospf 1
  41. router-id 1.1.1.1
  42. area 0 authentication message-digest
  43. network 192.168.100.20 0.0.0.3 area 0
  44. network 192.168.8.0 0.0.0.255 area 1
  45. network 192.168.9.0 0.0.0.255 area 1
  46. passive-interface GigabitEthernet0/0
  47. passive-interface GigabitEthernet0/1
  48. no auto-summary
  49. exit
  50.  
  51.  
  52.  
  53.  
  54.  
  55. Central / HQ
  56.  
  57.  
  58. hostname Central
  59. no ip domain-lookup
  60. enable secret cisco
  61. line console 0
  62. logging synchronous
  63. password cisco
  64. login
  65. line aux 0
  66. password cisco
  67. login
  68. line vty 0 15
  69. password cisco
  70. login
  71. service password-encryption
  72. banner motd @Authorized access only@
  73.  
  74. ip route 0.0.0.0 0.0.0.0 s0/1/0
  75. interface serial 0/0/0
  76. bandwidth 128
  77. ip address 192.168.100.21 255.255.255.252
  78. description 2-East
  79. ip ospf cost 7500
  80. ip ospf message-digest-key 1 md5 xyz_OSPF
  81. ip ospf authentication message-digest
  82. no shutdown
  83. exit
  84.  
  85. interface serial 0/0/1
  86. bandwidth 128
  87. ip address 192.168.100.37 255.255.255.252
  88. description 2-West
  89. clock rate 128000
  90. ip ospf message-digest-key 1 md5 xyz_OSPF
  91. ip ospf authentication message-digest
  92. no shutdown
  93. exit
  94.  
  95. interface serial 0/1/0
  96. bandwidth 128
  97. ip address 203.0.113.18 255.255.255.248
  98. description 2-INTERNET
  99. no shutdown
  100. exit
  101.  
  102. router ospf 1
  103. router-id 2.2.2.2
  104. area 0 authentication message-digest
  105. default-information originate
  106. network 192.168.100.20 0.0.0.3 area 0
  107. network 192.168.100.36 0.0.0.3 area 0
  108. passive-interface Serial0/1/0
  109. no auto-summary
  110. exit
  111.  
  112. ip access-list standard TELNET-BLOCK
  113. permit host 198.51.100.5
  114. line vty 0 15
  115. access-class TELNET-BLOCK in
  116.  
  117. interface serial 0/1/0
  118. ip access-group 101 in
  119. exit
  120.  
  121.  
  122.  
  123.  
  124.  
  125. West / Site-2
  126.  
  127.  
  128.  
  129. hostname Site-2
  130. no ip domain-lookup
  131. enable secret cisco
  132. line console 0
  133. logging synchronous
  134. password cisco
  135. login
  136. line vty 0 15
  137. password cisco
  138. login
  139. service password-encryption
  140. banner motd @Authorized access only.@
  141.  
  142. interface serial 0/0/1
  143. bandwidth 128
  144. ip address 192.168.100.38 255.255.255.252
  145. description 2-Central
  146. ip ospf message-digest-key 1 md5 xyz_OSPF
  147. ip ospf authentication message-digest
  148. no shutdown
  149.  
  150. interface gi 0/1
  151. no shutdown
  152.  
  153. interface gi 0/1.2
  154. encapsulation dot1q 2
  155. ip address 10.10.2.1 255.255.255.0
  156. interface gi 0/1.4
  157. encapsulation dot1q 4
  158. ip address 10.10.4.1 255.255.255.0
  159. interface gi 0/1.8
  160. encapsulation dot1q 8
  161. ip address 10.10.8.1 255.255.255.0
  162. interface gi 0/1.15
  163. encapsulation dot1q 15
  164. ip address 10.10.15.1 255.255.255.0
  165. interface gi 0/1.25
  166. encapsulation dot1q 25
  167. ip address 10.10.25.1 255.255.255.0
  168. exit
  169.  
  170. router ospf 1
  171. router-id 3.3.3.3
  172. passive-interface GigabitEthernet0/1
  173. network 192.168.100.36 0.0.0.3 area 0
  174. network 10.10.2.0 0.0.0.255 area 2
  175. network 10.10.4.0 0.0.0.255 area 2
  176. network 10.10.8.0 0.0.0.255 area 2
  177. network 10.10.15.0 0.0.0.255 area 2
  178. no auto-summary
  179. passive-interface g0/1.2
  180. passive-interface g0/1.4
  181. passive-interface g0/1.8
  182. passive-interface g0/1.15
  183. exit
  184.  
  185. interface serial 0/0/1
  186. ip summary-address eigrp 100 10.10.0.0 255.255.240.0
  187.  
  188. ip dhcp excluded-address 10.10.2.1 10.10.2.5
  189. ip dhcp excluded-address 10.10.4.1 10.10.4.5
  190. ip dhcp excluded-address 10.10.8.1 10.10.8.5
  191. ip dhcp pool vlan2pool
  192. network 10.10.2.0 255.255.255.0
  193. default-router 10.10.2.1
  194. dns-server 192.168.200.225
  195. ip dhcp pool vlan4pool
  196. network 10.10.4.0 255.255.255.0
  197. default-router 10.10.4.1
  198. dns-server 192.168.200.225
  199. ip dhcp pool vlan8pool
  200. network 10.10.8.0 255.255.255.0
  201. default-router 10.10.8.1
  202. dns-server 192.168.200.225
  203. exit
  204.  
  205. access-list 1 permit 10.10.15.0 0.0.0.255
  206. interface gi0/1.25
  207. ip access-group 1 out
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214. SW-A / Bldg1
  215.  
  216.  
  217. hostname SW-A
  218. no ip domain-lookup
  219. enable secret cisco
  220. line console 0
  221. logging synchronous
  222. password cisco
  223. login
  224. line vty 0 15
  225. password cisco
  226. login
  227. service password-encryption
  228. banner motd @Authorized acces only!@
  229.  
  230. ip default-gateway 10.10.25.1
  231. vlan 2
  232. name sales
  233. vlan 4
  234. name prod
  235. vlan 8
  236. name acct
  237. vlan 15
  238. name admin
  239. vlan 25
  240. name SVI-NET
  241. vlan 99
  242. name null
  243. interface vlan 25
  244. ip address 10.10.25.254 255.255.255.0
  245. no shutdown
  246.  
  247. interface fa0/5
  248. switchport mode acces
  249. switchport acces vlan 2
  250.  
  251. interface fa0/10
  252. switchport mode acces
  253. switchport acces vlan 4
  254.  
  255. interface fa0/15
  256. switchport mode acces
  257. switchport acces vlan 8
  258.  
  259. interface fa0/24
  260. switchport mode acces
  261. switchport acces vlan 15
  262.  
  263. interface range fa0/6-9,fa0/11-14,fa0/16-23
  264. switchport mode acces
  265. switchport acces vlan 99
  266. shutdown
  267.  
  268. interface range gi1/1-2
  269. switchport mode acces
  270. switchport acces vlan 99
  271. shutdown
  272.  
  273. interface range fa0/1-2
  274. channel-group 1 mode active
  275. interface port-channel 1
  276. switchport mode trunk
  277. interface range fa0/3-4
  278. channel-group 2 mode active
  279. interface port-channel 2
  280. switchport mode trunk
  281. exit
  282.  
  283. spanning-tree mode rapid-pvst
  284. spanning-tree vlan 2 root primary
  285. spanning-tree vlan 4 root primary
  286. spanning-tree vlan 8 root secondary
  287. spanning-tree vlan 15 root secondary
  288.  
  289. interface fa0/5
  290. switchport port-security
  291. switchport port-security violation restrict
  292. switchport port-security maximum 2
  293. switchport port-security mac-address sticky
  294.  
  295. interface fa0/10
  296. switchport port-security
  297. switchport port-security violation restrict
  298. switchport port-security maximum 2
  299. switchport port-security mac-address sticky
  300.  
  301. interface fa0/15
  302. switchport port-security
  303. switchport port-security violation restrict
  304. switchport port-security maximum 2
  305. switchport port-security mac-address sticky
  306.  
  307. interface fa0/24
  308. switchport port-security
  309. switchport port-security violation restrict
  310. switchport port-security maximum 2
  311. switchport port-security mac-address sticky
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320. SW-B / Bldg2
  321.  
  322. hostname SW-B
  323. no ip domain-lookup
  324. enable secret cisco
  325. line console 0
  326. logging synchronous
  327. password cisco
  328. login
  329. line vty 0 15
  330. password cisco
  331. login
  332. service password-encryption
  333. banner motd @Authorized acces only!@
  334.  
  335. ip ssh version 2
  336. ip domain-name ccnaPTSA.com
  337. crypto key generate rsa
  338. username netadmin password SSH_secret9
  339. line vty 0 4
  340. login local
  341. transport input ssh
  342. line vty 5 15
  343. login local
  344. transport input ssh
  345.  
  346. ip default-gateway 10.10.25.1
  347. vlan 2
  348. name sales
  349. vlan 4
  350. name prod
  351. vlan 8
  352. name acct
  353. vlan 15
  354. name admin
  355. vlan 25
  356. name SVI-NET
  357. vlan 99
  358. name null
  359. interface vlan 25
  360. ip address 10.10.25.253 255.255.255.0
  361. no shutdown
  362. interface gi 1/1
  363. switchport mode trunk
  364.  
  365. interface range fa0/3-4
  366. channel-group 2 mode active
  367. interface port-channel 2
  368. switchport mode trunk
  369. interface range fa0/5-6
  370. channel-group 3 mode active
  371. interface port-channel 3
  372. switchport mode trunk
  373.  
  374. spanning-tree mode rapid-pvst
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. SW-C / Bldg3:
  401.  
  402.  
  403.  
  404. hostname SW-C
  405. no ip domain-lookup
  406. enable secret cisco
  407. line console 0
  408. logging synchronous
  409. password cisco
  410. login
  411. line vty 0 15
  412. password cisco
  413. login
  414. service password-encryption
  415. banner motd @Authorized acces only !@
  416.  
  417. ip default-gateway 10.10.25.1
  418. vlan 2
  419. name sales
  420. vlan 4
  421. name prod
  422. vlan 8
  423. name acct
  424. vlan 15
  425. name admin
  426. vlan 25
  427. name SVI-NET
  428. vlan 99
  429. name null
  430. interface vlan 25
  431. ip address 10.10.25.252 255.255.255.0
  432. no shutdown
  433.  
  434. interface fa0/7
  435. switchport mode acces
  436. switchport acces vlan 2
  437.  
  438. interface fa0/10
  439. switchport mode acces
  440. switchport acces vlan 4
  441.  
  442. interface fa0/15
  443. switchport mode acces
  444. switchport acces vlan 8
  445.  
  446. interface fa0/24
  447. switchport mode acces
  448. switchport acces vlan 15
  449.  
  450. interface range fa0/1-2
  451. channel-group 1 mode active
  452. no shutdown
  453. interface port-channel 1
  454. switchport mode trunk
  455.  
  456. interface range fa0/5-6
  457. channel-group 3 mode passive
  458. no shutdown
  459. interface port-channel 3
  460. switchport mode trunk
  461.  
  462. spanning-tree mode rapid-pvst
  463. spanning-tree vlan 2 root secondary
  464. spanning-tree vlan 4 root secondary
  465. spanning-tree vlan 8 root primary
  466. spanning-tree vlan 15 root primary
  467.  
  468. interface range fa0/7, fa0/10, fa0/15, fa0/24
  469. spanning-tree portfast
  470. spanning-tree bpduguard enable
  471. no shutdown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement