资源描述:
《帧中继基本配置、帧中继映射.docx》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、实验2:帧中继基本配置、帧中继映射1.实验目的通过本实验,读者可以掌握如下技能:(1)帧中继的基本配置(2)帧中继的动态映射(3)帧中继的静态映射2.实验拓扑3.实验步骤在实验1的基础上进行实验2。图8-4中,我们已经模拟出了帧中继交换机,现配置R1、R3、R4,使得它们能够互相通信,配置步骤如下:(1)帧中继接口基本配置R1(config)#ints0/0/0R1(config-if)#ipaddress192.168.123.1255.255.255.0R1(config-if)#noshutdownR1(config-if)#encapsulationfram
2、e-relay R3(config)#ints0/0/1R3(config-if)#ipaddress192.168.123.3255.255.255.0R3(config-if)#noshutdownR3(config-if)#encapsulationframe-relayR4(config)#ints0/0/1R4(config-if)#ipaddress192.168.123.4255.255.255.0R4(config-if)#noshutdownR4(config-if)#encapsulationframe-relay(2)测试连通性从各个路由器p
3、ing其他路由器:R1#ping192.168.123.3Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.123.3,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=28/28/28msR1#ping192.168.123.4Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.123.4,timeoutis2seconds
4、:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=28/28/28msR1#showframe-relaymapSerial0/0/0(up):ip192.168.123.3dlci103(0×67,0×1870), dynamic,broadcast,,statusdefined,activeSerial0/0/0(up):ip192.168.123.4dlci104(0×68,0×1880), dynamic,broadcast,,statusdefined,active//默认时,帧中继接口开启了
5、动态映射,会自动建立帧中继映射,“dynamic”表明这是动态映射。R1#showframe-relaypvc(3)手工配置帧中继映射默认情况下,路由器支持逆向ARP。若逆向ARP未打开,可以用下列命令设置:R1(config-if)#frame-relayinverse-arp我们也可以关闭IARP,使用静态映射,命令如下:“frame-relaymapipaddressdlci[broadcast]”这里的broadcast参数是允许该帧中继链路通过多播或广播包,如果帧中继链路上要运行路由协议,该参数非常重要,所以一般配置时都加上,以防考虑不周。R1(confi
6、g)#ints0/0/0R1(config-if)#noframe-relayinverse-arp //关闭自动映射R1(config-if)#frame-relaymapip192.168.123.3103broadcastR1(config-if)#frame-relaymapip192.168.123.4104broadcastR3(config)#ints0/0/1R3(config-if)#noframe-relayinverse-arpR3(config-if)#frame-relaymapip192.168.123.1301broadcastR4
7、(config)#ints0/0/1R4(config-if)#noframe-relayinverse-arpR4(config-if)#frame-relaymapip192.168.123.1401broadcast4.实验调试可以使用“showframe-relaymap”、“showframepvc”、“showframelmi”等命令检查帧中继交换机是否正常。R1#showframe-relaymapSerial0/0/0(up):ip192.168.123.3dlci103(0×67,0×1870),dynamic,broadcast,,statu