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

下载本文档

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

文档简介

实验七:Frame-relay一:实验目标二:拓扑图三:预期结果1RT5与RT7以及RT3路由器能相互通信2 各业务网段连通四:调试一 基本信息配置1 RT1基本配置:Routerenable Router#conf tRouter(config)#hostname RT1RT1config)#no ip domain-lookupRT1(config)#line console 0RT1(config-line)#logging synchronous RT1(config-line)#no loginRT1(config-line)#privilege level 15RT1(config-line)#line vty 0 4RT1(config-line)#no loginRT1(config-line)#privilege level 15RT1(config-line)#exit RT1(config)#end2 RT3基本配置:(RT5 RT7同)Routerenable Router#conf tRouter(config)#hostname RT3RT3(config)#no ip domain-lookupRT3(config)#line console 0RT3(config-line)#logging synchronous RT3(config-line)#no loginRT3(config-line)#privilege level 15RT3(config-line)#line vty 0 4RT3(config-line)#no loginRT3(config-line)#privilege level 15RT3(config-line)#exit RT3(config)#end3 帧中继交换机配置:RT1(config)#frame-relay switchingRT1(config)#interface Serial0/0RT1(config-if)# no ip addressRT1(config-if)# encapsulation frame-relayRT1(config-if)# frame-relay lmi-type q933aRT1(config-if)# frame-relay intf-type dceRT1(config-if)# frame-relay route 101 interface Serial0/2 201RT1(config-if)# frame-relay route 102 interface Serial0/3 202Cant use same dlci on overlapping circuitsRT1(config-if)#interface Serial0/1RT1(config-if)# no ip addressRT1(config-if)# shutdownRT1(config-if)# serial restart-delay 0RT1(config-if)# no dce-terminal-timing-enableRT1(config-if)#interface Serial0/2RT1(config-if)# no ip addressRT1(config-if)# encapsulation frame-relayRT1(config-if)# serial restart-delay 0RT1(config-if)# no dce-terminal-timing-enableRT1(config-if)# frame-relay lmi-type q933aRT1(config-if)# frame-relay intf-type dceRT1(config-if)# frame-relay route 201 interface Serial0/0 101Cant use same dlci on overlapping circuitsRT1(config-if)#interface Serial0/3RT1(config-if)# encapsulation frame-relayRT1(config-if)# serial restart-delay 0RT1(config-if)# no dce-terminal-timing-enableRT1(config-if)# frame-relay lmi-type q933aRT1(config-if)# frame-relay intf-type dceRT1(config-if)# frame-relay route 202 interface Serial0/0 102RT1#sh fr rouInput Intf Input Dlci Output Intf Output Dlci StatusSerial0/0 101 Serial0/2 201 activeSerial0/0 102 Serial0/3 202 activeSerial0/2 201 Serial0/0 101 activeSerial0/3 202 Serial0/0 102 active二 接口配置及链路测试1 RT3接口及链路配置:RT3(config)#interface Serial0/0RT3(config-if)# ip address 3 24RT3(config-if)#no shRT3#sh ip in bInterface IP-Address OK? Method Status ProtocolSerial0/0 3 YES NVRAM up up2 RT5接口及链路配置:RT5(config)#interface Serial0/0RT5(config-if)# ip address 4 24RT5(config-if)#no shRT5#sh ip in bInterface IP-Address OK? Method Status ProtocolSerial0/0 4 YES NVRAM up up 3 RT7接口及链路配置:RT7(config)#interface Serial0/0RT7(config-if)# ip address 5 24RT7(config-if)#no shRT7#sh ip in bInterface IP-Address OK? Method Status ProtocolSerial0/0 5 YES NVRAM up up 4 RT3的Frame-Relay NBMA置接口配置RT3(config)#interface Serial0/0RT3(config-if)# ip address 3 24RT3(config-if)# encapsulation frame-relayRT3(config-if)# serial restart-delay 0RT3(config-if)# no dce-terminal-timing-enableRT3(config-if)# no fair-queueRT3(config-if)# frame-relay map ip 4 101 broadcastRT3(config-if)# frame-relay map ip 5 102 broadcastRT3(config-if)# frame-relay lmi-type q933aRT3(config-if)#!RT3(config-if)#interface Serial0/1RT3(config-if)# no ip addressRT3(config-if)# shutdownRT3(config-if)# serial restart-delay 0RT3(config-if)# no dce-terminal-timing-enableRT3(config-if)#!RT3(config-if)#interface Serial0/2RT3(config-if)# no ip addressRT3(config-if)# shutdownRT3(config-if)# serial restart-delay 0RT3(config-if)# no dce-terminal-timing-enableRT3(config-if)#!RT3(config-if)#interface Serial0/3RT3(config-if)# no ip addressRT3(config-if)# shutdownRT3(config-if)# serial restart-delay 0RT3(config-if)# no dce-terminal-timing-enableRT3(config-if)#!RT3(config-if)#interface Ethernet3/0RT3(config-if)# ip address RT3(config-if)# half-duplexRT3(config-if)#!RT3(config-if)#interface Ethernet3/1RT3(config-if)# no ip addressRT3(config-if)# shutdownRT3(config-if)# half-duplexRT3(config-if)#!RT3(config-if)#interface Ethernet3/2RT3(config-if)# no ip addressRT3(config-if)# shutdownRT3(config-if)# half-duplexRT3(config-if)#!RT3(config-if)#interface Ethernet3/3RT3(config-if)# no ip addressRT3(config-if)# shutdown4 RT5的Frame-Relay NBMA置接口配置RT5(config)#interface Serial0/0RT5(config-if)# ip address 4 24RT5(config-if)# encapsulation frame-relayRT5(config-if)# serial restart-delay 0RT5(config-if)# no dce-terminal-timing-enableRT5(config-if)# no fair-queueRT5(config-if)# frame-relay map ip 3 201 broadcastRT5(config-if)# frame-relay map ip 5 201 broadcastRT5(config-if)# frame-relay lmi-type q933aRT5(config-if)#!RT5(config-if)#interface Serial0/1RT5(config-if)# no ip addressRT5(config-if)# shutdownRT5(config-if)# serial restart-delay 0RT5(config-if)# no dce-terminal-timing-enableRT5(config-if)#!RT5(config-if)#interface Serial0/2RT5(config-if)# no ip addressRT5(config-if)# shutdownRT5(config-if)# serial restart-delay 0RT5(config-if)# no dce-terminal-timing-enableRT5(config-if)#!RT5(config-if)#interface Serial0/3RT5(config-if)# no ip addressRT5(config-if)# shutdownRT5(config-if)# serial restart-delay 0RT5(config-if)# no dce-terminal-timing-enableRT5(config-if)#!RT5(config-if)#interface Ethernet3/0RT5(config-if)# ip address RT5(config-if)# half-duplexRT5(config-if)#!RT5(config-if)#interface Ethernet3/1RT5(config-if)# no ip addressRT5(config-if)# shutdown6 RT7的Frame-Relay NBMA置接口配置RT7(config-if)# encapsulation frame-relayRT7(config-if)# serial restart-delay 0RT7(config-if)# no dce-terminal-timing-enableRT7(config-if)# no fair-queueRT7(config-if)# frame-relay map ip 3 202 broadcastRT7(config-if)# frame-relay map ip 4 202 broadcastRT7(config-if)# frame-relay lmi-type q933aRT7(config-if)#!RT7(config-if)#interface Serial0/1RT7(config-if)# no ip addressRT7(config-if)# shutdownRT7(config-if)# serial restart-delay 0RT7(config-if)# no dce-terminal-timing-enableRT7(config-if)#!RT7(config-if)#interface Serial0/2RT7(config-if)# no ip addressRT7(config-if)# shutdownRT7(config-if)# serial restart-delay 0RT7(config-if)# no dce-terminal-timing-enableRT7(config-if)#!RT7(config-if)#interface Serial0/3RT7(config-if)# no ip addressRT7(config-if)# shutdownRT7(config-if)# serial restart-delay 0RT7(config-if)# no dce-terminal-timing-enableRT7(config-if)#!RT7(config-if)#interface Ethernet3/0RT7(config-if)# ip address RT7(config-if)# half-duplexRT7(config-if)#!RT7(config-if)#interface Ethernet3/1RT7(config-if)# no ip addressRT7(confinRT3#sh fr mapSerial0/0 (up): ip 4 dlci 101(0x65,0x1850), static, broadcast, CISCO, status defined, activeSerial0/0 (up): ip 5 dlci 102(0x66,0x1860), static, broadcast, CISCO, status defined, activeRT5#sh fr maSerial0/0 (up): ip 3 dlci 201(0xC9,0x3090), static, broadcast, CISCO, status defined, activeSerial0/0 (up): ip 5 dlci 201(0xC9,0x3090), static, broadcast, CISCO, status defined, activeRT7#sh fr maSerial0/0 (up): ip 3 dlci 202(0xCA,0x30A0), static, broadcast, CISCO, status defined, activeSerial0/0 (up): ip 4 dlci 202(0xCA,0x30A0), static, broadcast, CISCO, status defined, active三 路由配置及测试RT3(config)#ip route 4RT3(config)#ip route 5RT5(config)#ip route 3RT5(config)#ip route 3RT7(config)#ip route 3RT7(config)#ip route 3RT3#sh ip rouCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not setC /24 is directly connected, Ethernet3/0S /24 1/0 via 5 /27 is subnetted, 1 subnetsC 2 is directly connected, Serial0/0S /24 1/0 via 4RT5#sh ip rouCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not setS /24 1/0 via 3S /24 1/0 via 3 /27 is subnetted, 1 subnetsC 2 is directly connected, Serial0/0C /24 is directly connected, Ethernet3/0RT7#sh ip rouCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not setS /24 1/0 via 3C /24 is directly connected, Ethernet3/0 /27 is subnetted, 1 subnetsC 2 is directly connected, Serial0/0S /24 1/0 via 3五:业务连通测试RT3#ping sour Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:Packet sent with a source address of !Success rate is 100 percent (5/5), round-trip min/avg/max = 56/68/100 msRT3#ping sour Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:Packet sent with a source address of !Success rate is 100 percent (5/5), round-trip min/avg/max = 60/68/92 msRT5#ping sou Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:Packet sent with a source address of !Success rate is 100 percent (5/5), round-trip min/avg/max = 60/61/64 msRT5#ping sou Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:Packet sent with a source address of !Success rate is 100 percent (5/5), round-trip min/avg/max = 124/134/160 ms1 RT7#ping sou Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:Packet sent with a source address of !Success rate is 100 percent (5/5), round-trip min/avg/max = 32/57/68 msRT7#ping sou Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:Packet sent with a source address of !Success rate is 100 percent (5/5), round-trip min/avg/max = 124/150/204 ms六:总结与原理分析原理:Frame-relay(帧中继)是在X.25的基础上发展而来的,基于面向连接的可靠线路。它工作在第2层数据链路层,支持PVC(永久虚电路)和SVC(交换虚电路)连接,目前大多数运营商仅支持PVC。Frame-relay(帧中继)使用LMI(本地管理接口)管理虚电路的建立、维护和中止,以及使用DLCI(数据链路连接标识)来标识每一条虚电路。七: show runRT5#sh ruBuilding configuration.Current configuration : 1533 bytes!version 12.3service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname RT5!boot-start-markerboot-end-marker!no aaa new-model!resource policy!memory-size iomem 5ip subnet-zero!ip cef RT5# sh ruBuilding configuration.Current configuration : 1533 bytes!version 12.3service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname RT5!boot-start-markerboot-end-marker!no aaa new-model!resource policy!memory-size iomem 5ip subnet-zero!ip cefno ip dhcp use vrf connected!no ip domain lookupno ftp-server write-enable!interface Serial0/0 ip address 4 24 encapsulation frame-relay serial restart-delay 0 no dce-terminal-timing-enable no fair-queue frame-relay map ip 3 201 broadcast frame-relay map ip 5 201 broadcast frame-relay lmi-type q933a!interface Serial0/1 no ip address shutdown serial restart-delay 0 no dce-terminal-timing-enable!interface Serial0/2 no ip address shutdown serial restart-delay 0 no dce-terminal-timing-enable!interface Serial0/3 no ip address shutdown serial restart-delay 0 no dce-terminal-timing-enable!interface Ethernet3/0 ip address half-duplex!interface Ethernet3/1 no ip address shutdown half-duplex!interface Ethernet3/2 no ip address shutdown half-duplex!interface Ethernet3/3 no ip address shutdown half-duplex!ip http serverip classlessip route 3ip route 3!no cdp run!control-plane!line con 0 exec-timeout 0 0 logging synchronousline aux 0 exec-timeout 0 0 privilege level 15 logging synchronousline vty 0 4 privilege level 15 no login!endRT3#sh ruBuilding configuration.Current configuration : 1533 bytes!version 12.3service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname RT3!boot-start-markerboot-end-marker!no aaa new-model!resource policy!memory-size iomem 5ip subnet-zero!ip cefno ip dhcp use vrf connected!no ip domain lookupno ftp-server write-enable!interface Serial0/0 ip address 3 24 encapsulation frame-relay serial restart-delay 0 no dce-terminal-timing-enable no fair-queue frame-relay map ip 4 101 broadcast frame-relay map ip 5 102 broadcast frame-relay lmi-type q933a!interface Serial0/1 no ip address shutdown serial restart-delay 0 no dce-terminal-timing-enable!interface Serial0/2 no ip address shutdown serial restart-delay 0 no dce-terminal-timing-enable!interface Serial0/3 no ip address shutdown serial restart-delay 0 no dce-terminal-timing-enable!interface Ethernet3/0 ip address half-duplex!interface Ethernet3/1 no ip address shutdown half-duplex!interface Ethernet3/2 no ip address shutdown half-duplex!interface Ethernet3/3 no ip address shutdown half-duplex!ip http serverip classlessip route 4ip route 5!no cdp run!control-plane!line con 0 e

温馨提示

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

评论

0/150

提交评论