苏志辉技术博客

  IT博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  11 随笔 :: 5 文章 :: 1 评论 :: 0 Trackbacks

网络类型
1.Broadcast
2.NonBroadcast
3.Point-to-Multimpoint
4.Point-to-Multimpoint NonBroadcast
5.Point-to-Point
****************************************************
**OSPF网络类型   DR/BDR        手工邻居        HELLO        单播/组播 **
**   P2P                 ---            ---             10S             组   **
**   P2MP               ---            ---             30S            单/组 **
**   NBMA                √             √              30S             单  **
**   Broadcast          √             ---            10S             组  **
**   P2MP-NBMA      ---             √              30S             单  **
****************************************************
--------------------------------
                        R1
                         |(S1/0)
                         |
R2(S1/0)------FR-SW-------(S1/0)R3
--------------------------------
1.Broadcast
R1#show run
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
 ip ospf network point-to-point
!
interface Serial1/0
 ip address 123.1.1.1 255.255.255.0
 encapsulation frame-relay
 ip ospf network broadcast
 frame-relay map ip 123.1.1.3 103 broadcast
 frame-relay map ip 123.1.1.2 102 broadcast
 no frame-relay inverse-arp
!
router ospf 100
 router-id 1.1.1.1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 123.1.1.1 0.0.0.0 area 0
!
R2#show run
interface Loopback0
 ip address 2.2.2.2 255.255.255.0
 ip ospf network point-to-point
!

interface Serial1/0
 ip address 123.1.1.2 255.255.255.0
 encapsulation frame-relay
 ip ospf network broadcast
 frame-relay map ip 123.1.1.3 203 broadcast
 frame-relay map ip 123.1.1.1 201 broadcast
 no frame-relay inverse-arp
!
router ospf 100
 router-id 2.2.2.2
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 123.1.1.2 0.0.0.0 area 0
!
R3#show run
interface Loopback0
 ip address 3.3.3.3 255.255.255.0
 ip ospf network point-to-point
!
interface Serial1/0
 ip address 123.1.1.3 255.255.255.0
 encapsulation frame-relay
 ip ospf network broadcast
 frame-relay map ip 123.1.1.1 301 broadcast
 frame-relay map ip 123.1.1.2 302 broadcast
 no frame-relay inverse-arp
!
router ospf 100
 router-id 3.3.3.3
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 123.1.1.3 0.0.0.0 area 0
!
R1#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           1   FULL/DR         00:00:35    123.1.1.3       Serial0
2.2.2.2           1   FULL/BDR        00:00:31    123.1.1.2       Serial0
R1#

posted on 2009-05-13 14:02 苏志辉 阅读(365) 评论(0)  编辑 收藏 引用 所属分类: CCNP
只有注册用户登录后才能发表评论。