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

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

当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 选举.

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航