频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

NBMA环境下OSPF配置需要注意的地方

来源: 作者: 出处:巧巧读书 2006-07-25 进入讨论组

  在NBMA环境下特别需要注意的是ospf网络类型的语句即:
  
  R2511AS#sh run in s 1.10
  Building configuration...
  
  Current configuration : 279 bytes
  !
  interface Serial1.10 multipoint
   ip address 11.1.1.4 255.255.255.0
   no ip route-cache
   ip ospf network point-to-multipoint
   no ip mroute-cache
   frame-relay map ip 11.1.1.3 403 broadcast
   frame-relay map ip 11.1.1.4 406 broadcast
   frame-relay map ip 11.1.1.6 406 broadcast
  end
  
  R2511AS#
  ----------------------------------------------------------------------
  R2511AS#sh run int s 1.11
  Building configuration...
  
  Current configuration : 164 bytes
  !
  interface Serial1.11 point-to-point
   ip address 12.1.1.1 255.255.255.0
   no ip route-cache
   ip ospf network point-to-point
   frame-relay interface-dlci 402
  end
  
  R2511AS#
  --------------------------------------------------------------------------
  分别是P2MP,P2P。两种网络类型。
  配置完成后可用sh ip os nei ,sh ip os da,等show 命令来查看,sh ip os da 命令是查看OSPF链路数据库。查看数据库中没有应该出现得LSA.遇到问题用debug命令来查看在哪里出问题了。
  deb ip os pa
  deb ip pa
  deb ip os adj
  等命令。
  ----------------------------------
  R2511AS#sh ip os in
  Serial1.10 is up, line protocol is up
   Internet Address 11.1.1.4/24, Area 0
   Process ID 1, Router ID 10.0.0.1, Network Type POINT_TO_MULTIPOINT, Cost: 64
   Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT,
   Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    Hello due in 00:00:10
   Index 1/2, flood queue length 0
   Next 0x0(0)/0x0(0)
   Last flood scan length is 1, maximum is 2
   Last flood scan time is 12 msec, maximum is 16 msec
   Neighbor Count is 2, Adjacent neighbor count is 2
    Adjacent with neighbor 11.1.1.3
    Adjacent with neighbor 192.168.0.166
   Suppress hello for 0 neighbor(s)
  Serial1.11 is up, line protocol is up
   Internet Address 12.1.1.1/24, Area 1
   Process ID 1, Router ID 10.0.0.1, Network Type POINT_TO_POINT, Cost: 64
   Transmit Delay is 1 sec, State POINT_TO_POINT,
   Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:01
   Index 1/1, flood queue length 0
   Next 0x0(0)/0x0(0)
   Last flood scan length is 1, maximum is 4
   Last flood scan time is 4 msec, maximum is 8 msec
   Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 192.168.0.43
   Suppress hello for 0 neighbor(s)
  R2511AS#
  ---------------------
  sh ip os interface,查看OSPF运行得接口。有助于排错。
  --------------------------
  
  注意broadcast参数,如果没有加此参数,表明NBMA网络底层不具备广播能力,这样将会造成OSPF邻居建立不成功,无法得到路由。如果没有此参数,则需要手动建立OSPF的nei.
  进入OSPF进程:
  nei&n
  
  bsp;  [nei ip address]
  这样OSPF将以UNICAST方式发送数据包。(OSPF默认是组播数据包,224.0.0.5,所有路由器之间,224.0.0.6DR BDR之间)保留:: http://www.qqread.com/net-manage/a076176081.html 更多文章 更多内容请看OSPF路由协议专题电脑配置手册服务器配置专栏专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
较早的文章:企业网中的VLAN设计

较新的文章:开放最短路径优先(OSPF)
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章