实验OSPF点到点网络类型配置_第1页
实验OSPF点到点网络类型配置_第2页
实验OSPF点到点网络类型配置_第3页
免费预览已结束,剩余1页可下载查看

下载本文档

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

文档简介

1、实验 OSPF点到点的网络类型配置【实验名称】OSPF点到点的网络类型配置【实验目的】掌握在点到点的帧中继网络中如何配置OSPF【背景描述】OSPF路由协议,请你给予支持。一个公司与其分公司在帧中继网络上运行 【实现功能】在帧中继点到点网络结构中运行ospf路由协议。【实验拓扑】SO192.16S. 12.2/24Aiea 0SO【实验设备】R2620 或 R2624 路由器(3 台)、V35DCE ( 2 根)、V35DTE ( 2 根)实验步骤】 第一步: 基本配置Red-Giant>enableRed-Giant(config)#hostname FRFR(config)#fram

2、e-relay switching !路由器模拟成帧中继交换机FR(config)#interface serial 0! 进入广域网接口 serial 0FR(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为 ietf FR(config-if)#frame-relay intf-type dce!封装帧中继接口类型为 dceFR(config-if)#frame-relay lmi-ty ansi !定义帧中继本地接口管理类型FR(config-if)#cloclk rate 64000!定义时钟速率FR(config-if)

3、#fram route 20 interface serial 1 21!设定帧中继交换, 指定两个同步口之间的dlci 互换FR(config-if)#no sh ! 启用该接口FR(config-if)#endFR(config)#int serial 1FR(config-if)#encapsulation frame-relay ietfFR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-ty ansiFR(config-if)#cl ock rate 64000FR(config-if)#frame

4、-relay route 21 interface serial 0 20FR(config-if)#no shFR(config-if)#endR1#conf tR1(config)#int s0R1(config-if)#encapsulation frame-relay ietfR1(config-if)#frame-relay lmi-ty ansiR1(config-if)#ip add R1(config-if)#frame-relay interface-dlci 20R1(config-if)#no shRed-Giant#conf tRed-Giant(config)# ho

5、s R2R2(config)#int s0R2(config-if)#encapsulation frame-relay ietfR2(config-if)#frame-relay lmi-type ansiR2(config-if)#frame-relay interface-dlci 21R2(config-if)#ip add R2(config-if)#no sh验证测试: FR#sh frame-relay routeInput IntfInput DlciOutput IntfOutput DlciStatusSerial020Serial121activeSerial121Ser

6、ial020active第二步: 配置 OSPF 路由协议R1(config)# router os 1R1(config-router)#net 192.168.12.0 0.0.0.255 area 0R1(config-router)#endR2(config)#router os 1R2(config-router)#net 192.168.12.0 0.0.0.255 area 0R2(config-router)#end验证测试: R1#sh i p os nei ! 没有发现邻居第三步: 在接口下声明网络类型R1(config)# int s0R1(config-if)#ip o

7、s net point-to-point ! 在帧中继网络中配置 OSPF 协议要在接口指明网络 类型R2(config)# int s0R2(config-if)#ip os net point-to-point验证测试:R2#sh ip os nei ! 声明网络类型后建立邻居关系Neighbor ID Pri State Dead Time Address Interface192.168.12.1 1 FULL/ - 00:00:36 192.168.12.1 Serial0【注意事项】 要记住声明网络类型。【参考配置】R2#sh runCurrent configuration:!v

8、ersion 6.14(2)!hostname "R2"!ip subnet-zero!interface FastEthernet0no ip addressshutdown!interface FastEthernet1no ip addressshutdowninterface FastEthernet2no ip addressshutdown!interface FastEthernet3no ip addressshutdown!interface Serial0ip address 192.168.12.2 255.255.255.0 encapsulatio

9、n frame-relay IETF ip ospf network point-to-point frame-relay interface-dlci 21 frame-relay lmi-type ansi frame-relay inverse-arp!interface Serial1no ip addressshutdown!router ospf 1network 192.168.12.0 0.0.0.255 area 0ip classless!line con 0line aux 0line vty 0 4loginR1#sh runCurrent configuration:

10、!version 6.14(2)!hostname "R1"!ip subnet-zero!interface FastEthernet0no ip addressshutdown!interface Serial0ip address 192.168.12.1 255.255.255.0 encapsulation frame-relay IETFip ospf network point-to-pointframe-relay interface-dlci 20frame-relay lmi-type ansiframe-relay inverse-arp!interface Serial1no ip addre

温馨提示

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

评论

0/150

提交评论