frame-relay.doc_第1页
frame-relay.doc_第2页
frame-relay.doc_第3页
frame-relay.doc_第4页
frame-relay.doc_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

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

文档简介

Frame-relay 实验【实验目的】1 掌握全网格型帧中继的配置;2 掌握帧中继子端口的配置;3 掌握帧中继的流量整形。【实验步骤】一、 配置全网格型帧中继实验拓扑如下:1 完成Frswitch的配置,命令如下:hostname Frswitchenable password ciscoframe-relay switching !路由器用作帧中继交换机interface Serial0 no ip address encapsulation frame-relay !配置帧中继封装 no fair-queue clockrate 56000 !dce配置时钟 frame-relay lmi-type cisco !帧中继lmi类型 frame-relay intf-type dce !端口类型为dceframe-relay route 16 interface Serial1 17 !配置帧中继交换表frame-relay route 16 interface Serial2 18interface Serial1 no ip address encapsulation frame-relay clockrate 56000 frame-relay lmi-type cisco frame-relay intf-type dce frame-relay route 16 interface Serial0 17 frame-relay route 18 interface Serial2 17interface Serial2 no ip address encapsulation frame-relay clockrate 56000 frame-relay lmi-type cisco frame-relay intf-type dce frame-relay route 16 interface Serial0 18 frame-relay route 17 interface Serial1 182 完成各个用户路由器的配置,以RouterA为例:RouterA(config)#int s0RouterA(config-if)#ip address 192.168.4.1 255.255.255.0RouterA(config-if)#encapsulation frame-relayRouterA(config-if)#frame-relay lmi-type cisco RouterA(config-if)#frame-relay map ip 192.168.4.2 17 broadcastRouterA(config-if)#frame-relay map ip 192.168.4.3 18 broadcast3 检查各个pvc是否处于active状态,命令show frame-relay pvc;4 启动igrp路由协议,自治号为100;5 使用ping命令检查各个用于路由器是否联通;6 用show frame-relay lmi看lmi信息;7 用show frame-relay map看帧中继映射表;8 用show ip route看路由表是否正确?二、 配置子端口拓扑如下:1 Frswitch的配置不需修改;2 用户路由器,以RouterA为例,先将原来物理端口上的ip地址去掉,删除原来配置的frame-relay map,并加上子端口:RouterA(config)#int s0RouterA(config-if)#no ip addressRouterA(config-if)#encapsulation frame-relayRouterA(config-if)#frame-relay lmi-type cisco RouterA(config-if)#no frame-relay map ip 192.168.4.2 17 broadcastRouterA(config-if)#no frame-relay map ip 192.168.4.3 18 broadcastRouterA(config-if)#int s0.17 point-to-point !配置为点到点类型的子端口RouterA(config-subif)#ip address 192.168.101.1 255.255.255.0RouterA(config-subif)#frame-relay interface-dlci 17RouterA(config-if)#int s0.18 point-to-point !配置为点到点类型的子端口RouterA(config-subif)#ip address 192.168.102.1 255.255.255.0RouterA(config-subif)#frame-relay interface-dlci 183 Show framerelay pvc,检查链路是否处于active状态;4 修改原来的igrp的配置,将各个子端口的网络加上;5 Show framerelay map,检查帧中继映射表;6 Show framerelay lmi,看lmi信息;7 Show ip route 看路由表是否正确?三、 配置hubandspoke型帧中继网络拓扑如下:1 在Frswitch上删除RouterBRouterC间的pvc2 修改用户路由器的配置,对于hub路由器(RouterA),由于其子端口需要多个dlci,所以其子端口类型为multipoint。命令如下:RouterA(config)#int s0RouterA(config-if)#no ip addressRouterA(config-if)#encapsulation frame-relayRouterA(config-if)#frame-relay lmi-type cisco RouterA(config-if)#int s0.1 multipoint !配置为点到点类型的子端口RouterA(config-subif)#ip address 192.168.4.1 255.255.255.0RouterA(config-subif)#frame-relay interface-dlci 17RouterA(config-subif)#frame-relay interface-dlci 18对于spoke路由器(RouterB和RouterC),由于其子端口只需一个dlci,其子端口类型可以配置为点对点,其配置如前全网格型的配置,这里就不再多说。3 同样启动igrp路由协议,自治号为100;4 由RouterA上ping RouterB及RouterC,测试联通性;5 再试试RouterB和RouterC之间互ping;6 在用扩展ping命令,在RouterB上以192.168.2.1的ip地址ping RouterC的loopback地址192.168.3.1,看看能否成功?(想想为什么?)7 Show ip route,看看各个路由表的信息;8 去掉RouterA上的水平分割:RouterA(config-if)#int s0.1 multipointRouterA(config-subif)#no ip split-horizon9 然后show ip int s0.1看是否已经将水平分割disable了。10 再看看各个路由器的路由表,看看是否正确?11 在RouterB上用扩展ping,看能否联通?四、 帧中继的流量整形实验拓扑:1 在还没进行下面的实验以前,先用扩展ping命令:RouterA#pingProtocol ip:Target IP address: 192.168.2.1Repeat count 5: 55Datagram size 100: 1111Timeout in seconds 2:Extended commands n: ySource address or interface: 192.168.1.1Type of service 0:Set DF bit in IP header? no:Validate reply data? no:Data pattern 0xABCD:Loose, Strict, Record, Timestamp, Verbosenone:Sweep range of sizes n:Type escape sequence to abort.Sending 55, 1111-byte ICMP Echoes to 192.168.2.1, timeout is 2seconds:!Success rate is 100 percent (55/55), round-trip min/avg/max =176/179/192 ms记录下他们的返回时间;2 在同一条pvc之间(如RouterARouterB)创建一个map-class,定义pvc的CIR(committed information rate)命令如下:RouterA(config)#map-class frame-relay CIRRouterA(config-map-class)#frame-relay traffic-rate 2000RouterB(config)#map-class frame-relay CIRRouterB(config-map-class)#frame-relay traffic-rate 20003 将该map-class应用到端口上:RouterA(config)#interface serial 0RouterA(config-if)#frame-relay traffic-shapingRouterA(config-if)#interface serial 0.1 multipointRouterA(config-subif)#frame-relay class CIRRouterB(config)#inte

温馨提示

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

评论

0/150

提交评论