首页 | 互联网 | IT动态 | IT培训 | Cisco | Windows | Linux | Java | .Net | Oracle | 软件测试 | C/C++ | 嵌入式开发 | 存储世界 | 服务器
网络设备 | IDC | 安全 | 求职招聘 | 数字网校 | 网页设计 | 平面设计 | 技术专题 | 电子书下载 | 教学视频 | 源码下载 | 搜索 | 博客 | 论坛
欢迎光临中国IT实验室思科频道
Google
您现在的位置: 中国IT实验室 >> Cisco >> 网络协议 >> OSPF >> 正文

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


  在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之间)
【责编:admin】
文章评论
相关产品和培训
 友情推荐精华
 专题推荐

 ·节省成本才是“王道” VOIP案例应用…
 ·巧用网络流量 打造健康内网…
 ·无线路由器设置从入门到精通
 ·企业网管如何部署你的网络监控系统?
 ·负载均衡技术方案攻略
 ·中国IT实验室2007年技术热点盘点
 ·利用路由实现VPN的配置方法
 ·让你的局域网网速更上一层楼
 ·小命令大作用---Ping
 ·OSPF路由协议专题
 今日更新
 认证培训
 频道精选
 思科频道导航