已阅读5页,还剩30页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
目录目录1配置Frame-relay交换机2Frame-relay multipoint子接口8Frame-relay poin-to-point子接口15帧中继Frame-Relay动态映射22帧中继Frame-Relay静态映射29配置Frame-relay交换机【实验名称】 Frame-relay交换机【实验目的】 掌握路由器作为帧中继交换机配置技术。【背景描述】 你是某网络技术培训公司的网管,为了提高学员的实际动手能力,公司决定为学员提供帧中继的环境,为了节省成本,要求你用一台至少有三个广域网同步接口的路由器模拟一个帧中继的环境。【实现功能】 用路由器模拟帧中继交换机,为实验模拟广域网帧中继接入。【实验拓扑】 【实验设备】 R2620或R2624路由器(4台)、m2603AS同异步接口模块一个、V35DCE(3根)、V35DTE(3根)【实验步骤】 第一步:基本配置Red-Giantenable Red-Giant(config)#hostname FRFR(config)#frame-relay switching ! 路由器模拟成帧中继交换机FR(config)#interface serial 0 ! 进入广域网接口serial 0FR(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为ietfFR(config-if)#frame-relay intf-type dce !封装帧中继接口类型为dceFR(config-if)#frame-relay lmi-ty ansi ! 定义帧中继本地接口管理类型FR(config-if)#cloclk rate 64000 !定义时钟速率FR(config-if)#fram route 20 interface serial 1 21!设定帧中继交换,指定两个同步口之间的dlci互换FR(config-if)#fram route 30 interface serial 3 31!设定帧中继交换,指定两个同步口之间的dlci互换FR(config-if)#no sh ! 启用该接口FR(config-if)#endFR(config)#int serial 1FR(config-if)#encapsulation frame-relay ietf FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-ty ansiFR(config-if)#cl ock rate 64000FR(config-if)#frame-relay route 21 interface serial 0 20FR(config-if)#frame-relay route 23 interface serial 3 32FR(config-if)#no shFR(config-if)#endFR(config)#conf tFR(config)#int serial 3FR(config-if)#encapsulation frame-relay ietf FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-type ansiFR(config-if)#clock rate 64000FR(config-if)#frame-relay route 31 interface serial 0 30FR(config-if)#frame-relay route 32 interface serial 1 23验证测试:FR#sh frame-relay route Input Intf Input Dlci Output Intf Output Dlci StatusSerial0 20 Serial1 21 inactiveSerial0 30 Serial3 31 inactiveSerial1 21 Serial0 20 inactiveSerial1 23 Serial3 32 inactiveSerial3 31 Serial0 30 inactiveSerial3 32 Serial1 23 inactive第二步:配置路由器并能通过帧中继交换机通信R1#conf tR1(config)#int s0R1(config-if)#ip add 192.168.123.1 255.255.255.0R1(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为ietfR1(config-if)#no frame-relay inverse-arp !禁止帧中继特定的协议dlci使用反向ARP !禁止动态学习地址和DLCI之间的映射R1(config-if)#frame-relay lmi-type ansi ! 定义帧中继本地接口管理类型,R1(config-if)#frame-relay map ip 192.168.123.2 20 ! 建立帧中继静态地址映射R1(config-if)#frame-relay map ip 192.168.123.3 30 ! 建立帧中继静态地址映射R1(config-if)# no shR1(config-if)#endRed-Giant(config)#hostname R2R2(config)#int s0R2(config-if)#ip add 192.168.123.2 255.255.255.0R2(config-if)#encapsulation frame-relay ietf R2(config-if)#no frame-relay inverse-arp !禁止动态学习地址和DLCI之间的映射R2(config-if)#frame-relay lmi-type ansiR2(config-if)#frame-relay map ip 192.168.123.1 21 R2(config-if)#frame-relay map ip 192.168.123.3 23R2(config-if)#no shR2(config-if)#endRed-Giant(config)#hostname R3R3(config)#int s0R3(config-if)# ip add 192.168.123.3 255.255.255.0R3(config-if)# encapsulation frame-relay ietfR3(config-if)# frame-relay lmi-ty ansiR3(config-if)# no frame-relay inverse-arp !禁止动态学习地址和DLCI之间的映射R3(config-if)#fram map ip 192.168.123.1 31R3(config-if)#fram map ip 192.168.123.2 32R3(config-if)#no sh验证测试:R3#show frame-relay mapSerial1 (up): ip 192.168.123.1 dlci 31(0x1F,0x4F0), static, IETF, status defined, activeSerial1 (up): ip 192.168.123.2 dlci 32(0x20,0x800), static,IETF, status defined, activeR2#sh frame-relay mapSerial0 (up): ip 192.168.123.1 dlci 21(0x15,0x450), static, IETF, status defined, activeSerial0 (up): ip 192.168.123.3 dlci 23(0x17,0x470), static,IETF, status defined, activeR1#sh frame-relay mapSerial0 (up): ip 192.168.123.2 dlci 20(0x14,0x440), static, IETF, status defined, activeSerial0 (up): ip 192.168.123.3 dlci 30(0x1E,0x4E0), static,IETF, status defined, activeFR#sh frame-relay routeInput Intf Input Dlci Output Intf Output Dlci StatusSerial0 20 Serial1 21 activeSerial0 30 Serial3 31 activeSerial1 21 Serial0 20 activeSerial1 23 Serial3 32 activeSerial3 31 Serial0 30 activeSerial3 32 Serial1 23 active第三步:测试各点之间的连通性验证测试:R1#ping 192.168.123.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 192.168.123.2, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 msR1#ping 192.168.123.3Sending 5, 100-byte ICMP Echoes to 192.168.123.3, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms【注意事项】l 注意各个接口之间与帧中继交换机的匹配,比如本地接口管理类型;l 帧中继交换机是DCE端;l 在各个接口配置远程IP地址与本地DLCI号的映射。【参考配置】FR#sh runCurrent configuration:!version 6.14(2)!hostname FR!ip subnet-zeroframe-relay switching!interface FastEthernet0 ip address 192.168.10.1 255.255.255.0!interface FastEthernet1 no ip address shutdown!interface FastEthernet2no ip address shutdown!interface FastEthernet3 no ip address shutdown!interface Serial0 no ip address encapsulation frame-relay IETF clock rate 64000 frame-relay lmi-type ansi frame-relay inverse-arp frame-relay intf-type dce frame-relay route 20 interface Serial1 21 frame-relay route 30 interface Serial3 31!interface Serial1 no ip address encapsulation frame-relay IETF clock rate 64000 frame-relay lmi-type ansi frame-relay inverse-arpframe-relay intf-type dce frame-relay route 21 interface Serial0 20 frame-relay route 23 interface Serial3 32!interface Serial2 no ip address shutdown!interface Serial3 no ip address encapsulation frame-relay IETF clock rate 64000 frame-relay lmi-type ansi frame-relay inverse-arp frame-relay intf-type dce frame-relay route 31 interface Serial0 30 frame-relay route 32 interface Serial1 23ip classlessline con 0line aux 0line vty 0 4no loginendFrame-relay multipoint子接口【实验名称】Frame-relay multipoint子接口【实验目的】 掌握路由器封装帧中继multipoint子接口技术。【背景描述】你是公司的网管,公司网络实施改造,在Frame-Relay上需要实现Frame-Relay中一点对多点的通信,而不使用全互连的构建方式。【实现功能】 实现非全互联的点到多点的访问模式。【实验拓扑】 【实验设备】 R2620或R2624路由器(4台)、m2602AS同异步接口模块一个、V35DCE(3根)、V35DTE(3根)【实验步骤】 第一步:基本配置,配置帧中继交换机Red-Giantenable Red-Giant(config)#hostname FRFR(config)#frame-relay switching ! 路由器模拟成帧中继交换机FR(config)#interface serial 0 ! 进入广域网接口serial 0FR(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为ietfFR(config-if)#frame-relay intf-type dce !封装帧中继接口类型为dceFR(config-if)#frame-relay lmi-ty ansi ! 定义帧中继本地接口管理类型FR(config-if)#cloclk rate 64000 !定义时钟速率FR(config-if)#fram route 20 interface serial 1 21!设定帧中继交换,指定两个同步口之间的dlci互换FR(config-if)#fram route 30 interface serial 3 31!设定帧中继交换,指定两个同步口之间的dlci互换FR(config-if)#no sh ! 启用该接口FR(config-if)#endFR(config)#int serial 1FR(config-if)#encapsulation frame-relay ietf FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-ty ansiFR(config-if)#cl ock rate 64000FR(config-if)#frame-relay route 21 interface serial 0 20FR(config-if)#frame-relay route 23 interface serial 3 32FR(config-if)#no shFR(config-if)#endFR(config)#conf tFR(config)#int serial 3FR(config-if)#encapsulation frame-relay ietf FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-type ansiFR(config-if)#clock rate 64000FR(config-if)#frame-relay route 31 interface serial 0 30FR(config-if)#frame-relay route 32 interface serial 1 23验证测试:FR#sh frame-relay route Input Intf Input Dlci Output Intf Output Dlci StatusSerial0 20 Serial1 21 inactiveSerial0 30 Serial3 31 inactiveSerial1 21 Serial0 20 inactiveSerial1 23 Serial3 32 inactiveSerial3 31 Serial0 30 inactiveSerial3 32 Serial1 23 inactive第二步:帧中继点到多点配置R1#conf tR1(config)#int s0R1(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为ietfR1(config-if)#no frame-relay inverse-arp !关闭动态学习IP和DLCI映射R1(config-if)# frame-relay lmi-type ansiR1(config-if)#no shR1(config)#interface Serial0.1 multipointR1(config-if)#ip address 192.168.12.1 255.255.255.0R1(config-if)#no frame-relay inverse-arpR1(config-if)#frame-relay map ip 192.168.12.2 20R1(config-if)#frame-relay map ip 192.168.12.3 30R1(config-if)#endRed-Giant(config)#hostname R2R2(config)#int s0R2(config-if)#ip add 192.168.12.2 255.255.255.0R2(config-if)#encapsulation frame-relay ietf R2(config-if)#no frame-relay inverse-arp R2(config-if)#frame-relay lmi-type ansiR2(config-if)# frame-relay map ip 192.168.12.1 21R2(config-if)#endRed-Giant(config)#hostname R3R3(config)#int s1R3(config-if)# ip add 192.168.12.3 255.255.255.0R3(config-if)# encapsulation frame-relay ietfR3(config-if)# frame-relay lmi-ty ansiR3(config-if)# no frame-relay inverse-arp R3(config-if)# frame-relay map ip 192.168.12.1 31R3(config-if)#no sh验证测试: R3#sh fram mapSerial1 (up): ip 192.168.12.1 dlci 31(0x1F,0x4F0), static,IETF, status defined, activeR2#sh fram mapSerial0 (up): ip 192.168.12.1 dlci 21(0x15,0x450), static,IETF, status defined, activeR1#sh frame-relay mapSerial0 (up): ip 192.168.123.2 dlci 20(0x14,0x440), dynamic, broadcast, IETF, status defined, activeSerial0 (up): ip 192.168.123.3 dlci 30(0x1E,0x4E0), dynamic,broadcast,FR#sh frame-relay routeIETF, status defined, activeFR#sh frame-relay routeInput Intf Input Dlci Output Intf Output Dlci StatusSerial0 20 Serial1 21 activeSerial0 30 Serial3 31 activeSerial1 21 Serial0 20 activeSerial1 23 Serial3 32 activeSerial3 31 Serial0 30 activeSerial3 32 Serial1 23 active第三步:测试各点之间的连通性验证测试:R1#ping 192.168.12.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 192.168.12.2, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 msR1#ping 192.168.12.3Sending 5, 100-byte ICMP Echoes to 192.168.12.3, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms【注意事项】子接口继承主接口的封装模式。【参考配置】R1#sh runCurrent configuration:!version 6.14(2)!hostname R1!ip subnet-zero!interface FastEthernet0 no ip address shutdown!interface Serial0 no ip address encapsulation frame-relay IETF frame-relay lmi-type ansino frame-relay inverse-arp!interface Serial0.1 multipoint ip address 192.168.12.1 255.255.255.0 no frame-relay inverse-arp frame-relay map ip 192.168.12.2 20 frame-relay map ip 192.168.12.3 30!interface Serial1 no ip address shutdown!voice-port 0!voice-port 1!voice-port 2!voice-port 3ip classless!line con 0line aux 0line vty 0 4 login!endR2#sh runCurrent configuration:!version 6.14(2)!hostname R2!ip subnet-zero!interface FastEthernet0 no ip address shutdown!interface FastEthernet1 no ip address shutdown!interface FastEthernet2 no ip address shutdown!interface FastEthernet3 no ip address shutdown!interface Serial0 ip address 192.168.12.2 255.255.255.0 encapsulation frame-relay IETFframe-relay lmi-type ansino frame-relay inverse-arpframe-relay map ip 192.168.12.1 21 !interface Serial1 no ip address shutdown!ip classless!line con 0line aux 0!endR3#sh runCurrent configuration:!version 6.14(2)!hostname R3!ip subnet-zero!interface FastEthernet0no ip address shutdown!interface FastEthernet1 no ip address shutdown!interface FastEthernet2 no ip addressshutdowninterface FastEthernet3 no ip address shutdown!interface Serial0 no ip address shutdown!interface Serial1 ip address 192.168.12.3 255.255.255.0 encapsulation frame-relay IETF frame-relay lmi-type ansi frame-relay inverse-arpframe-relay map ip 192.168.12.1 31ip classless!line con 0line aux 0line vty 0 4login!endFrame-relay poin-to-point子接口【实验名称】Frame-relay poin-to-point子接口【实验目的】 掌握路由器封装帧中继poin-to-point子接口技术。【背景描述】你是公司的网管,公司网络实施改造,在Frame-Relay上需要实现Frame-Relay中点对点的通信。【实现功能】 实现点到点的访问模式。【实验拓扑】 【实验设备】 R2620或R2624路由器(4台)、m2602AS同异步接口模块一个、V35DCE(3根)、V35DTE(3根)【实验步骤】 第一步:基本配置,配置帧中继交换机Red-Giantenable Red-Giant(config)#hostname FRFR(config)#frame-relay switching ! 路由器模拟成帧中继交换机FR(config)#interface serial 0 ! 进入广域网接口serial 0FR(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为ietfFR(config-if)#frame-relay intf-type dce !封装帧中继接口类型为dceFR(config-if)#frame-relay lmi-ty ansi ! 定义帧中继本地接口管理类型FR(config-if)#cloclk rate 64000 !定义时钟速率FR(config-if)#fram route 20 interface serial 1 21!设定帧中继交换,指定两个同步口之间的dlci互换FR(config-if)#fram route 30 interface serial 3 31!设定帧中继交换,指定两个同步口之间的dlci互换FR(config-if)#no sh ! 启用该接口FR(config-if)#endFR(config)#int serial 1FR(config-if)#encapsulation frame-relay ietf FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-ty ansiFR(config-if)#cl ock rate 64000FR(config-if)#frame-relay route 21 interface serial 0 20FR(config-if)#frame-relay route 23 interface serial 3 32FR(config-if)#no shFR(config-if)#endFR(config)#conf tFR(config)#int serial 3FR(config-if)#encapsulation frame-relay ietf FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-type ansiFR(config-if)#clock rate 64000FR(config-if)#frame-relay route 31 interface serial 0 30FR(config-if)#frame-relay route 32 interface serial 1 23验证测试:FR#sh frame-relay route Input Intf Input Dlci Output Intf Output Dlci StatusSerial0 20 Serial1 21 inactiveSerial0 30 Serial3 31 inactiveSerial1 21 Serial0 20 inactiveSerial1 23 Serial3 32 inactiveSerial3 31 Serial0 30 inactiveSerial3 32 Serial1 23 inactive第二步:帧中继点到点配置R1#conf tR1(config)#int s0R1(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为ietfR1(config-if)#frame-relay inverse-arp R1(config-if)# frame-relay lmi-type ansiR1(config-if)#no shR1(config)#interface Serial0.1 point-to-point !进入点到点子接口R1(config-if)#ip address 192.168.12.1 255.255.255.0R1(config-if)#frame-relay inverse-arpR1(config-subif)#frame-relay interface-dlci 20 ! 定义本地DLCIR1(config-if)#endR1(config)#int s0.2 point-to-pointR1(config-subif)# ip address 192.168.13.1 255.255.255.0R1(config-subif)#frame-relay interface-dlci 30Red-Giant(config)#hostname R2R2(config)#int s0R2(config-if)#ip add 192.168.12.2 255.255.255.0R2(config-if)#encapsulation frame-relay ietf R2(config-if)#frame-relay lmi-type ansiR2(config-if)# frame-relay interface-dlci 21R2(config-if)#endRed-Giant(config)#hostname R3R3(config)#int s1R3(config-if)# ip add 192.168.13.3 255.255.255.0R3(config-if)# encapsulation frame-relay ietfR3(config-if)# frame-relay lmi-ty ansiR3(config-if)# frame-relay interface-dlci 30R3(config-if)#no sh验证测试: R1#sh fram mapSerial0.1 (up): point-to-point dlci, dlci 20(0x14,0x440), broadcast status defined, activeSerial0.2 (up): point-to-point dlci, dlci 30(0x1E,0x4E0), broadcast status defined, activeFR#sh frame-relay routeIETF, status defined, activeFR#sh frame-relay routeInput Intf Input Dlci Output Intf Output Dlci StatusSerial0 20 Serial1 21 activeSerial0 30 Serial3 31 activeSerial1 21 Serial0 20 activeSerial1 23 Serial3 32 activeSerial3 31 Serial0 30 activeSerial3 32 Serial1 23 active第三步:测试各点之间的连通性验证测试:R1#ping 192.168.12.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 192.168.12.2, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 msR1#ping 192.168.13.3Sending 5, 100-byte ICMP Echoes to 192.168.13.3, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms【注意事项】子接口继承主接口的封装模式。【参考配置】R1#sh runCurrent configuration:!version 6.14(2)!hostname R1!ip subnet-zero!interface FastEthernet0 no ip address shutdown!interface Serial0 no ip address encapsulation frame-relay IETF frame-relay lmi-type ansi frame-relay inverse-arp!interface Serial0.1 point-to-point ip address 192.168.12.1 255.255.255.0 frame-relay interface-dlci 20!interface Serial0.2 point-to-point ip address 192.168.13.1 255.255.255.0 frame-relay interface-dlci 30!interface Serial1 no ip address shutdown!ip classless!line con 0line aux 0line vty 0 4 login!endR2#sh runCurrent configuration:!version 6.14(2)!hostname R2!ip subnet-zero!interface FastEthernet0 no ip address shutdown!interface FastEthernet1 no ip address shutdown!interface FastEthernet2 no ip address shutdown!interface FastEthernet3 no ip address shutdown!interface Serial0 ip address 192.168.12.2 255.255.255.0 encapsulation frame-relay IETFframe-relay lmi-type ansiframe-relay inverse-arpframe-relay i
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 部编版新教材道德与法治五年级上册第12课《历史性成就》教学设计
- 2026 年神经内科脑卒中患者专科护理实践课件
- 2026年产科产后抑郁心理护理干预
- 腰鼓考试题目及深度答案剖析
- 2026年公务员考试《行测》真题试卷及答案
- 2026年度西师大版小学二年级数学下册期末考试试卷附答案详解
- 2026年保育员考核笔试题库150道附完整答案
- 2026年高考地理试题库与答案
- 2026年高职单招现代农业技术测试题含答案
- 2026年企业信息化建设智能化升级方案
- 人工智能算力平台服务管理规范
- 2026年甘肃省中小学教师招聘考试试卷含答案
- 人形机器人与具身智能标准体系2026版标准化组织运作模式解读
- T∕AOPA 0085-2025 T∕CMSA 0057-2025 低空飞行管理运行平台气象信息服务指南
- 2026年4月自考08680欧洲文化入门试题试题及答案
- (2026年)如何早期识别儿童危重症
- 雨课堂学堂在线学堂云《人工智能与创新(南开)》单元测试考核答案
- 2026上半年四川成都职业技术学院编制外(考试)招聘30人笔试参考试题及答案解析
- GA/T 2336-2025法医临床学人体体表损伤检验规范
- 2026年西藏高考化学真题试卷(新课标卷)(+答案)
- 湖北邮政集团招聘笔试题库2026
评论
0/150
提交评论