首页 专题 - 实验 - 软件 - 管理 - 布线 - 方案 - 配置 - 问题 - 协议 - 下载 - 交换 - 路由 - 无线 - 安全 - 认证 - Cisco - 华为 - 网吧 - ADSL
您是本帖第677位浏览者 打印

[分享] OSPF 重点整理--由官方教材节录

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

  当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 选举.
  以上是小弟先拋砖引玉的作法
  

TOP