Advertisement
Guest User

OSPF

a guest
Jul 16th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 KB | None | 0 0
  1. Router: Administration / HQ / Town-HalL
  2. ===============================================
  3. en
  4. conf terminal
  5. ip route 0.0.0.0 0.0.0.0 s0/1/0
  6. ipv6 unicast-routing
  7. ipv6 route ::/0 s0/1/0
  8.  
  9. router ospf 10
  10. network 10.10.10.0 0.0.0.3 area 0
  11. network 10.10.20.0 0.0.0.3 area 0
  12. router-id 10.20.0.0
  13. do clear ip ospf process
  14. yes
  15. exit
  16.  
  17. int s0/0/0
  18. bandwidth 128
  19. int s0/0/1
  20. bandwidth 128
  21. exit
  22.  
  23. int s0/0/0
  24. ipv6 ospf 10 area 0
  25.  
  26. int s0/0/1
  27. ipv6 ospf 10 area 0
  28. exit
  29.  
  30. Ipv6 router ospf 10
  31. router-id 10.20.0.0
  32. do clear ipv6 ospf process
  33. yes
  34. exit
  35.  
  36. router ospf 10
  37. auto-cost reference-bandwidth 1000
  38. exit
  39.  
  40. router ospf 10
  41. default-information originate
  42. exit
  43.  
  44. ipv6 router ospf 10
  45. default-information originate
  46. exit
  47.  
  48. ipv6 router ospf 10
  49. auto-cost reference-bandwidth 1000
  50. ===================================================
  51.  
  52. Router: Science / London / Schools
  53. =====================================
  54.  
  55. EN
  56. conf ter
  57. router ospf 10
  58. network 10.10.10.0 0.0.0.3 area 0
  59. network 172.16.10.0 0.0.0.3 area 10
  60. network 172.16.10.4 0.0.0.3 area 10
  61. router-id 10.0.0.0
  62. do clear ip ospf process
  63. yes
  64. exit
  65. ipv6 unicast-routing
  66.  
  67. Int s0/0/0
  68. Ipv6 ospf 10 area 0
  69. exit
  70.  
  71. Int s0/0/1
  72. Ipv6 ospf 10 area 10
  73. exit
  74.  
  75. Int s0/1/0
  76. Ipv6 ospf 10 area 10
  77. exit
  78.  
  79. int s0/0/0
  80. bandwidth 128
  81. exit
  82.  
  83. ipv6 router ospf 10
  84. router-id 10.0.0.0
  85. do clear ipv6 ospf process
  86. yes
  87. exit
  88. ipv6 router ospf 10
  89. auto-cost reference-bandwidth 1000
  90. exit
  91. router ospf 10
  92. auto-cost reference-bandwidth 1000
  93. ================================================
  94.  
  95. Router: Technology / Dubai / Safety
  96. =========================================
  97.  
  98. en
  99. conf ter
  100. Router ospf 10
  101. network 10.10.20.0 0.0.0.3 area 0
  102. network 172.16.20.0 0.0.0.3 area 20
  103. network 172.16.20.4 0.0.0.3 area 20
  104. router-id 20.0.0.0
  105. do clear ip ospf process
  106. yes
  107.  
  108. exit
  109. ipv6 unicast-routing
  110.  
  111. Int s0/0/0
  112. Ipv6 ospf 10 area 0
  113. exit
  114.  
  115. Int s0/0/1
  116. Ipv6 ospf 10 area 20
  117. exit
  118.  
  119. Int s0/1/0
  120. Ipv6 ospf 10 area 20
  121. exit
  122.  
  123. int s0/0/0
  124. bandwidth 128
  125. exit
  126.  
  127. Ipv6 router ospf 10
  128. router-id 20.0.0.0
  129. do clear ipv6 ospf process
  130. yes
  131. exit
  132.  
  133. router ospf 10
  134. auto-cost reference-bandwidth 1000
  135. exit
  136. ipv6 router ospf 10
  137. auto-cost reference-bandwidth 1000
  138. ==========================================
  139.  
  140. Router: Bio / West / Primary
  141. =====================================
  142.  
  143. en
  144. conf ter
  145. router ospf 10
  146. network 172.16.10.0 0.0.0.3 area 10
  147. network 192.168.11.0 0.0.0.255 area 10
  148. network 172.16.10.8 0.0.0.3 area 10
  149. router-id 10.1.1.1
  150. do clear ip ospf process
  151. yes
  152. exit
  153.  
  154. ipv6 unicast-routing
  155. int s0/0/0
  156. ipv6 ospf 10 area 10
  157. exit
  158.  
  159. int g0/0
  160. ipv6 ospf 10 area 10
  161. exit
  162.  
  163. int g0/1
  164. ipv6 ospf 10 area 10
  165. exit
  166.  
  167. ipv6 router ospf 10
  168. router-id 10.1.1.1
  169. do clear ipv6 ospf process
  170. yes
  171. exit
  172.  
  173. int g0/1
  174. ip ospf priority 255
  175. exit
  176.  
  177. router ospf 10
  178. passive-interface g0/0
  179. exit
  180. router ospf 10
  181. auto-cost reference-bandwidth 1000
  182. exit
  183.  
  184. int g0/1
  185. ip ospf hello-interval 5
  186. ip ospf dead-interval 20
  187. exit
  188.  
  189. int g0/1
  190. ipv6 ospf priority 255
  191. exit
  192.  
  193. ipv6 router ospf 10
  194. passive-interface g0/0
  195. exit
  196.  
  197. int g0/1
  198. ipv6 ospf hello-interval 5
  199. ipv6 ospf dead-interval 20
  200. exit
  201.  
  202. ipv6 router ospf 10
  203. auto-cost reference-bandwidth 1000
  204. =========================================
  205.  
  206. Router: Physics / East / Secondary
  207. ================================================
  208.  
  209. en
  210. conf ter
  211. Router ospf 10
  212. network 172.16.10.4 0.0.0.3 area 10
  213. network 172.16.10.8 0.0.0.3 area 10
  214. network 192.168.12.0 0.0.0.255 area 10
  215. router-id 10.2.2.2
  216. do clear ip ospf process
  217. yes
  218. exit
  219. ipv6 unicast-routing
  220. int s0/0/0
  221. ipv6 ospf 10 area 10
  222. exit
  223.  
  224. int g0/0
  225. ipv6 ospf 10 area 10
  226. exit
  227.  
  228. int g0/1
  229. ipv6 ospf 10 area 10
  230. exit
  231.  
  232.  
  233. ipv6 router ospf 10
  234. router-id 10.2.2.2
  235. do clear ip ospf process
  236. yes
  237. exit
  238.  
  239. int g0/1
  240. ip ospf priority 200
  241. exit
  242.  
  243. router ospf 10
  244. passive-interface g0/0
  245. exit
  246.  
  247. router ospf 10
  248. auto-cost reference-bandwidth 1000
  249. exit
  250.  
  251. int g0/1
  252. ip ospf hello-interval 5
  253. ip ospf dead-interval 20
  254. exit
  255.  
  256. int g0/1
  257. ipv6 ospf priority 200
  258. exit
  259.  
  260. ipv6 router ospf 10
  261. passive-interface g0/0
  262. exit
  263.  
  264. int g0/1
  265. ipv6 ospf hello-interval 5
  266. ipv6 ospf dead-interval 20
  267. exit
  268.  
  269. ipv6 router ospf 10
  270. auto-cost reference-bandwidth 1000
  271.  
  272. ================================================
  273. Router: CompSci / Central / Police
  274. ================================================
  275.  
  276. en
  277. conf ter
  278. Router ospf 10
  279. network 172.16.20.0 0.0.0.3 area 20
  280. network 192.168.21.0 0.0.0.255 area 20
  281. router-id 20.1.1.1
  282. do clear ip ospf process
  283. yes
  284.  
  285. exit
  286. ipv6 unicast-routing
  287. int s0/0/0
  288. ipv6 ospf 10 area 20
  289. exit
  290.  
  291. int g0/0
  292. ipv6 ospf 10 area 20
  293. exit
  294.  
  295. ipv6 router ospf 10
  296. router-id 20.1.1.1
  297. do clear ipv6 ospf process
  298. yes
  299.  
  300. exit
  301. router ospf 10
  302.  
  303. passive-interface g0/0
  304. exit
  305. ipv6 router ospf 10
  306. passive-interface g0/0
  307. exit
  308.  
  309. router ospf 10
  310. auto-cost reference-bandwidth 1000
  311.  
  312. exit
  313. ipv6 router ospf 10
  314. auto-cost reference-bandwidth 1000
  315. ===================================================
  316. Router: Electronics / Remote / Fire
  317. ===================================================
  318.  
  319. en
  320. conf ter
  321. Router ospf 10
  322. network 172.16.20.4 0.0.0.3 area 20
  323. network 192.168.22.0 0.0.0.255 area 20
  324. router-id 20.2.2.2
  325. do clear ip ospf process
  326. yes
  327. exit
  328. ipv6 unicast-routing
  329. int s0/0/0
  330. ipv6 ospf 10 area 20
  331. exit
  332.  
  333. int g0/0
  334. ipv6 ospf 10 area 20
  335. exit
  336.  
  337. ipv6 router ospf 10
  338. router-id 20.2.2.2
  339. do clear ipv6 ospf process
  340. yes
  341. exit
  342.  
  343. router ospf 10
  344. passive-interface g0/0
  345. exit
  346.  
  347. ipv6 router ospf 10
  348. passive-interface g0/0
  349. exit
  350.  
  351. router ospf 10
  352. auto-cost reference-bandwidth 1000
  353. exit
  354.  
  355. ipv6 router ospf 10
  356. auto-cost reference-bandwidth 1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement