科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网网络频道OSPF的初始配置在点到点链路

OSPF的初始配置在点到点链路

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

在点到点链路例如高级 数据链路控制(HDLC)和PPP,开放式最短路径优先(OSPF)运行作 为一个点到点的网络类型。默认情况下此网络类型被启用。 本文显示OSPF 的示例配置在一条点到点链路。检查 运行OSPF的接口的网络类型,使用 show ip ospf interface命令。

作者:IT168.com 来源:IT168.com 2008年5月23日

关键字: OSPF 路由协议 路由器

  • 评论
  • 分享微博
  • 分享邮件

在本页阅读全文(共2页)

验证
此部分提供您能使用确认您的配置适当地工作的信息。

输 出解释器工具 支持 某些show命令 (注册的 用户) ,允许您查看show命令输出分析 。

验证用IP地址
下列是在Router1发出的 show ip ospf neighbor 命令的输出。
Router1#show ip ospf neighbor
Neighbor IDPriStateDead TimeAddress Interface
2.2.2.21FULL/ -00:00:321.1.1.1  Serial 0


此输出表示, Router1有一相邻,路由器ID是2.2.2.2和形成了完全邻接与此相邻 。地址1.1.1.1是Router2 Serial0接口的IP 地址

得知更多 show ip ospf neighbor命 令,参见 什么执行 show ip ospf neighbor命 令显示?

下列是 show ip ospf interface命令的输出 在Router1。 以下 表示OSPF网络类型为接口Serial0点到点。
Router1#show ip ospf interface serial 0
Serial0 is up, line protocol is up
Internet Address 1.1.1.2/24, Area 0
Process ID 1, Router ID 3.3.3.3, 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:05
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 2.2.2.2
Suppress hello for 0 neighbor(s)

同样地,输出为 show命令在Router2如下所示。
Router2#show ip ospf neighbor
Neighbor ID  Pri State  Dead Time  AddressInterface
3.3.3.3  1  FULL/ - 00:00:321.1.1.2Serial0
Router2#show ip ospf interface serial 0
Serial0 is up, line protocol is up
Internet Address 1.1.1.1/24, Area 0
Process ID 1, Router ID 2.2.2.2, 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:05
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 3.3.3.3
Suppress hello for 0 neighbor(s)

验证与未编号的接口
show ip ospf nei ghbor 命令在Router1和Router2确认完全邻接。以下表示 OSPF网络类型为接口Serial0点到点。

得知更多 show ip ospf neighbor命 令,参见 什么执行 show ip ospf neighbor命 令显示?
Router1#show ip ospf neighbor
Neighbor ID  PriState Dead Time AddressInterface
2.2.2.21FULL/ - 00:00:37 2.2.2.2Serial0
Router1#show ip ospf interface serial 0
Serial0 is up, line protocol is up
Internet Address 0.0.0.0/0, Area 0
Process ID 1, Router ID 3.3.3.3, 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:08
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 2.2.2.2
Suppress hello for 0 neighbor(s)

同样地,输出为 show命令在Router2如下 所示。
Router2#show ip ospf neighbor
Neighbor IDPriStateDead TimeAddressInterface
3.3.3.3 1FULL/ -  00:00:30 3.3.3.3 Serial0
Router2#show ip ospf interface serial 0
Serial0 is up, line protocol is up
Internet Address 0.0.0.0/0, Area 0
Process ID 1, Router ID 2.2.2.2, 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:08
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 3.3.3.3
Suppress hello for 0 neighbor(s)

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章