CiscoPacketTracer实验开放式最短路径优先路由协议OSPF配置样本.doc_第1页
CiscoPacketTracer实验开放式最短路径优先路由协议OSPF配置样本.doc_第2页
CiscoPacketTracer实验开放式最短路径优先路由协议OSPF配置样本.doc_第3页
CiscoPacketTracer实验开放式最短路径优先路由协议OSPF配置样本.doc_第4页
CiscoPacketTracer实验开放式最短路径优先路由协议OSPF配置样本.doc_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

CiscoPacketTracer实验开放式最短路径优先路由协议OSPF配置样本 r CiscoPacketTracer实验开放式最短路径优先路由协议F OSPF配置本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 验实验8:开放式最短路径优先议路由协议O OSPF配置 一、实验目的 11、练习OSPF动态路由协议的基本配置; 22、掌握了解OSPF路由协议原理 二、实验环境packet tracer 三、OSPF协议介绍OSPF(Open Shortest Path First开放式最短路径优先)是一个内部网关协议(Interior GatewayProtocol,简称IGP),用于在单一自治系统(autonomous ss ystem,AS)内决策路由。 与RIP相对,OSPF是链路状态路由协议,而RIP是距离向量路由协议OSPF的主要特性如下:适应范围支持各种规模的网络,最多可支持几千台路由器。 快速收敛在网络的拓扑结构发生变化后立即发送更新报文,使这一变化在自治系统中同步。 无自环OSPF根据收集到的链路状态用最短路径树算法计算路由,从算法上本身保证了不会生成自环路由。 OSPF把一个大型网络分割成多个小型网络的能力被称为分层路由,这些被分割出来的小型网络就称为“区域”(Area)。 由于区域内部路由器仅与同区域的路由器交换LSA(链路状态广播)信息,这样LS A报文数量及链路状态信息库表项都会极大减少,SPF(ShortestPathFirst最短路径优先算法)计算速度因此得到提高。 多区域的OSPF必须存在一个主干区域,主干区域负责收集非主干区域发出的汇总路由信息,并将这些信息返还给到各区域。 OSPF区域不能随意划分,应该合理地选择区域边界,使不同区域之间的通信量最小。 但在实际应用中区域的划分往往并不是根据通信模式而是根据地理或政治因素来完成的。 在OSPF多区域网络中,路由器能够按不同的需要同时成为以下四种路由器中的几种:1.内部路由器:所有端口在同一区域的路由器,维护一个链路状态数据库。 2.主干路由器:具有连接主干区域端口的路由器。 3.区域边界路由器(ABR):具有连接多区域端口的路由器,一般作为一个区域的出口。 ABR为每一个所连接的区域建立链路状态数据库,负责将所连接区域的路由摘要信息发送到主干区域,而主干区域上的ABR则负责将这些信息发送到各个区域。 4.自治域系统边界路由器(ASBR):至少拥有一个连接外部自治域网络(如非OSPF的网络)端口的路由器,负责将非OSPF网络信息传入OSPF网络。 本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 四、实验步骤:拓扑结构图如下所示: 1、配置命令Router5:Routerenable/进入特权模式Router#configure terminal/进入配置模式Enter configuration mands,one perline.End withTL/Z.Router(config)#interface FastEther0/0/配置端口Router(config-if)#i paddress Router(config-if)#no shutdown%LINK-55-CHANGED:Interface FastEther0/0,changed state to up%LINEPROTO-55-UPDOWN:Line protocol on本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 Interface FastEther0/0,changed stateto up Router(config-if)#Router(config-if)#exit Router(config)#interfac eSerial1/0/配置端口Router(config-if)#ip addressRouter(config-if)#clock rate64000Router(config-if)#no shutdown Router(config-if)#%LINK-55-CHANGED:Interface Serial1/0,changed stateto up%LINEPROTO-55-UPDOWN:Line protocolon Interface Serial1/0,chang edstateto upRouter(config-if)#route ospf1/启用OSPF协议,ID号为11Router(config-router)#work area0/发布网络Router(config-router)#work area0Router(config-router)#exit Router(config)#copy running-config start本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 Router(config)#copy running-config startup-Router(config)#copy running-config startup-c cRouter(config)#exit%SYS-55-CONFIG_I:Configured fromconsole byconsole Router#copy runRouter#copy running-config sRouter#copy running-config startup-config/写入启动文件Destination filenamestartup-config?Building configuration.OKRouter6:Routerenable Router#configure terminalEnter configurationmands,one perline.End withTL/Z.Router(config)#interface FastEther0/0Router(config-if)#ip addressRouter(config-if)#no shutdown本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 %LINK-55-CH ANGED:Interface FastEther0/0,changed stateto up%LINEPROTO-55-UPDOWN:Line protocolon Interface FastEther0/0,changed stateto upRouter(config-if)#exit Router(config)#interface Serial1/0Router(config-if)#ip addressRouter(config-if)#%LINK-55-C CHANGED:Interface Serial1/0,changed stateto upno shutdown%LINEPROTO-55-UPDOWN:Line protocolon Interface Serial1/0,changed stateto upRouter(config-if)#exit Router(config)#interface Serial1/1Router(config-if)#ip addressRouter(config-if)#clock rate64000Router(config-if)#no shutdownRouter(config-if)#%LINK-55-CHANGED:Interface Serial1/1,changed stateto up%LINEPROTO-55-UPDOWN:Line protocolon本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 Interface Serial1/1,changed stateto upRouter(config-if)#router ospf1Router(config-router)#work area0Router(config-router)#work area0Router(config-router)#work area0Router(config-router)#exit Router(config)#ex%SYS-55-CONFIG_I:Configured fromconsole byconsole Router#copy Router#copy rRouter#copy running-config startup-config Destination filenamestartup-config?Building configuration.OKRouter#00:13:29:%OSPF-55-ADJCHG:Process1,Nbr onSerial1/1from LOADINGto FULL,Loading DoneRouter3:Routerenable本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 Router#configure terminalEnter configurationmands,one perline.End withTL/Z.Router(config)#interface FastEther0/0Router(config-if)#ip addressRouter(config-if)#no shutdown%LINK-55-CHANGED:Interface FastEther0/0,changed stateto up%LINEPROTO-55-UPDOWN:Line protocolon Interface FastEther0/0,changed stateto upRouter(config-if)#exit Router(config)#interface Serial1/0Router(config-if)#ip addressRouter(config-if)#%LINK-55-CHANGED:InterfaceSerial1/0,changed stateto upno shutdownRouter(config-if)#exit Router(config)#interface Serial1/1Router(c onfig-if)#ip addressRouter(config-if)#clock rate64000Router(config-if)#noshutdown本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 Router(config-if)#%LINK-55-CHANGED:InterfaceSerial1/1,changed stateto upRouter(config-if)#exit Router(config)#route ospf1Router(config-router)#work area0Ro uter(config-router)#work.00:13:29:%OSPF-55-ADJCHG:Process1,Nbr onSerial1/0from LOADINGto FULL,Loading Done0area0Router(config-router)#work area0Router(config-router)#work area0Router(config-router)#exit Router(config)#ex%SYS-55-CONFIG_I:Configured fromconsole byconsole Router#copy rRouter#copy running-config sRouter#copy running-config startup-config Destinationfilenamestartup-config?Building configuration.本文档所提供的信息仅供参考之用,不能作为科学依据,请勿模仿。 文档如有不当之处,请联系本人或网站删除。 OKRouter4:Routerenable Router#configure terminalEnt erconfigurationmands,one perline.End withTL/Z.Router(config)#interface FastEther0/0Router(config-if)#ip addressRouter(config-if)#noshutdown%LINK-55-CHANGED:InterfaceFastEther0/0,changed stateto up%LINEPROTO-55-UPDOWN:Line protocolonInterfaceFastEther0/0,changed statetoupRouter(config-if)#exit Router(config)#interface Serial1/0Router(config-if)#ip addressRouter(config-if)#ex Router(config)#router ospf1Router(config-router)#work area0Router(conf

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论