ITPub博客

首页 > 应用开发 > IT综合 > OSPF重点整理--由官方教材节录(转)

OSPF重点整理--由官方教材节录(转)

原创 IT综合 作者:tigeerfish 时间:2007-08-09 09:59:22 0 删除 编辑
OSPF重点整理--由官方教材节录(转)[@more@]

  当OSPF 读到这个章节时,往往令人头痛,所以小弟特把自己的读书心得贴了上来:

  在 F/R 的环境中 OSPF 在设定有了多种方法

  小弟把它分成三大类

  

  第一类,先分成是否为 broadcast

  broadcast 的网络,adjacency 是自动建立的nobroadcast 则须手动建立.

  Non broadcast ---> manual config adjacency

  1.NBMA --> Fully meshed

  2.Point-to-multipoint nonbroadcast

  Broadcast ---> Automatic config adjacency

  1.Broadcast --> Fully meshed

  2.Point-to-multipoint

  3.Point-to-point

  

  第二类

  是否要 fully meshed 的网络

  fully meshed 的网络一定有选 DR/BDR

  partial meshed 则没有 DR/BDR

  Fully meshed ---> DR/BDR elected

  1.NBMA

  2.Broadcast

  Partial meshed ---> NO DR/BDR

  1.Point-to-multipoint

  2.Point-to-multipoint nonbroadcast

  3.Point-to-point --> Subnet address is different for each interface.

  

  第三类

  这也是考试常考重点就是分RFC 与 Cisco 的标准

  RFC

  1.NBMA

  2.Point-to-multipoint

  Cisco

  1.Broadcast

  2.Point-to-multipoint nonbroadcast

  3.Point-to-point --> using subinterface

  

  在指令方面,先了解是否要手动建立 adjacency

  

  例1: NBMA --> 手动建立 adjacency (属 non-broadcast )

  R1(config-if)#ip ospf network non-broadcast

  .

  R1(config)#router ospf 1

  R1(config-router)#network 10.1.1.0 0.0.0.255 area 0

  R1(config-router)#neighbor 10.1.1.2 --->NBMA 的 subnet 是相同的

  R1(config-router)#neighbor 10.1.1.3

  .

  在NBMA必须手动设定 adjacency, DR/BDR 会自动选出来.

  

  例2: Point-to-multipoint --> 自动建立 adjacency (属 broadcast )

  R1(config-if)#ip ospf network point-to-multipoint

  .

  R1(config)#router ospf 1

  R1(config-router)#network 10.1.1.0 0.0.0.255 area 0

  

  在 Point-to-multipoint ,不须设 neighbor ,也没有 DR/BDR 选举.

  以上是小弟先?砖引玉的作法

  


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8227599/viewspace-937326/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    387
  • 访问量
    870223