帧中继frame-relay动态映射

上传人:mg****85 文档编号:34512816 上传时间:2018-02-25 格式:DOC 页数:7 大小:77.50KB
返回 下载 相关 举报
帧中继frame-relay动态映射_第1页
第1页 / 共7页
帧中继frame-relay动态映射_第2页
第2页 / 共7页
帧中继frame-relay动态映射_第3页
第3页 / 共7页
帧中继frame-relay动态映射_第4页
第4页 / 共7页
帧中继frame-relay动态映射_第5页
第5页 / 共7页
点击查看更多>>
资源描述

《帧中继frame-relay动态映射》由会员分享,可在线阅读,更多相关《帧中继frame-relay动态映射(7页珍藏版)》请在金锄头文库上搜索。

1、 帧中继 Frame-Relay动态映射【实验名称】帧中继 Frame-Relay动态映射【实验目的】 掌握利用动态映射 Inverse-ARP方式实现 Frame-relay连接。【背景描述】 你是公司的网管,公司的网络运行在 Frame-Relay 上,需要简单的实现 Frame-Relay 中各个接口的互联。【实现功能】 地址映射动态自动学习配置,反映远端设备的 IP 地址和本地 DLCI 的对应关系。【实验拓扑】 【实验设备】 R2620或 R2624路由器(4 台) 、m2602AS 同异步接口模块一个、V35DCE(3 根) 、V35DTE(3 根)【实验步骤】 第一步:基本配置,

2、配置帧中继交换机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

3、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)#encapsulat

4、ion 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(conf

5、ig)#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-re

6、lay 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第二步:帧中继 Frame-Relay动态映射R1#conf tR1(config)#int s0R1(config

7、-if)#ip add 192.168.123.1 255.255.255.0R1(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为 ietfR1(config-if)#frame-relay inverse-arp !动态学习 IP 和 DLCI 映射自动打开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(con

8、fig-if)#encapsulation frame-relay ietf R2(config-if)#frame-relay inverse-arp R2(config-if)#frame-relay lmi-type ansiR2(config-if)#no shR2(config-if)#endRed-Giant(config)#hostname R3R3(config)#int s1R3(config-if)# ip add 192.168.123.3 255.255.255.0R3(config-if)# encapsulation frame-relay ietfR3(confi

9、g-if)# frame-relay lmi-ty ansiR3(config-if)# frame-relay inverse-arp R3(config-if)#no sh验证测试:R3#sh fram mapSerial1 (up): ip 192.168.123.1 dlci 31(0x1F,0x4F0), dynamic,broadcast,IETF, status defined, activeSerial1 (up): ip 192.168.123.2 dlci 32(0x20,0x800), dynamic,broadcast,IETF, status defined, act

10、iveR2#sh frame-relay mapSerial0 (up): ip 192.168.123.1 dlci 21(0x15,0x450), dynamic,broadcast,IETF, status defined, activeSerial0 (up): ip 192.168.123.3 dlci 23(0x17,0x470), dynamic,broadcast,IETF, status defined, activeR1#sh frame-relay mapSerial0 (up): ip 192.168.123.2 dlci 20(0x14,0x440), dynamic

11、,broadcast,IETF, status defined, activeSerial0 (up): ip 192.168.123.3 dlci 30(0x1E,0x4E0), dynamic, broadcast,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 activeSer

12、ial1 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#pin

13、g 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【注意事项】 动态映射是自动开启的,无需配置; 要配置封装 frame-relay 和接口 IP 地址。【参考配置】R1#sh runCurrent configuration:!version 6.14(2)!hostname R1!ip subnet-zero!interface

14、 FastEthernet0no ip addressshutdown!interface Serial0 ip address 192.168.123.1 255.255.255.0encapsulation frame-relay IETFframe-relay lmi-type ansiframe-relay inverse-arp!interface Serial1no ip addressshutdown!voice-port 0!voice-port 1!voice-port 2!voice-port 3ip classless!line con 0line aux 0line v

15、ty 0 4login!endR2#sh runCurrent configuration:!version 6.14(2)!hostname R2!ip subnet-zero!interface FastEthernet0no ip addressshutdown!interface FastEthernet1no ip addressshutdown!interface FastEthernet2 no ip addressshutdown!interface FastEthernet3no ip addressshutdown!interface Serial0ip address 192.168.123.2 255.255.255.0encapsulation frame-relay IETFframe-relay lmi-type a

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 生活休闲 > 科普知识

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号