资源描述:
《83实验2帧中继基本配置、帧中继映射》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、1.实验目的通过木实验,读者可以掌握如下技能:(1)帧屮继的基本配置(2)帧中继的动态映射(3)帧中继的静态映射2.实验拓扑如图8-4o1.实验步骤在实验1的基础上进行实验2。图8-4中,我们己经模拟出了帧中继交换机,现配置Rl、R3、R4,使得它们能够互相通信,配置步骤如下:仃)帧中继接口基本配置R1(config)Sints0/0/0R1(config-if)#ipaddress192.168.123.1255.255.255.0R1(config-if)#noshutdownR1(config—if
2、)#encapsulationframe-relay//使用命令^encapsulationframe-relay[ietf]”。帧中继有两种封装类型:cisco和ietf(InternetEngineeringTaskForce)。对于cisco路由器,cisco是它的默认值;对于非cisco路由器,须选用ietf类型。但国内帧中继线路一般为ietf类型的封装,我们这里由于上面的帧中继交换机中封装类型是cisco,所以这里选择ClSCOoR1(config-if)#frame-relaylmi-type
3、cisco//如果采用的是cisco路由器口TOS是11.2及以后版本的,路由器可以自动适应LM1的类型,则本步骤可不做。国内帧中继线路一般采用ansi的LM1信令类型,我们这里采用的是ciscOoR3(config)#intsO/O/1R3(config-if)#ipaddress192.168.123.3255.255.255.0R3(config-if)#noshutdownR3(config-if)#encapsulationframe-relayR4(config)#intsO/O/1R4(co
4、nfig-if)#ipaddress192.168.123.4255.255.255.0R4(config-if)#noshutdownR4(config-if)^encapsulationframe-relay(2)测试连通性从各个路由器ping其他路由器:Rlttping192.168.123.3Typeescapesequeneetoabort・Sending5,100-byteICMPEchosto192.168.123.3,timeoutis2seconds:Successrateis100pe
5、rcent(5/5),round-tripmin/avg/max二28/28/28msRWping192.168.123.4Typeescapesequeneetoabort.Sending5,100-byteICMPEchosto192.168.123.4,timeoutis2seconds:Successrateis100percent(5/5),round-tripmin/avg/max二28/28/28msRiftshowframe-relaymapScrialO/0/0(up):ip192.16
6、8.123.3dlci103(0X67,0X1870),dynamic,broadcast,,statusdefined,activeSerial0/0/0(up):ip192.168.123.4dlci104(0X68,0X1880),dynamic,broadcast,,statusdefined,active//默认时,帧中继接口开启了动态映射,会自动建立帧中继映射,“dyrrnmic”表明这是动态映射。Rl#showframe-relaypvcPVCStatisticsforinterfaceSe
7、rial0/0/0(FrameRelayDTE)ActiveInactiveDeletedStaticLocal2000Switched0000Unused0000DLCI二103,DLCIUSAGE二LOCAL,PVCSTATUS二ACTIVE,INTERFACE二Serial0/0/0//可以看到DLO103的PVC的状态为activeinputpkts11outputpktsIlinbytes1074outbytes1074droppedpkts0inpktsdropped0outpktsdropp
8、ed0outbytesdropped0inFECNpkts0inBECNpkts0outFECNpkts0outBECNpkts0inDEpkts0outDEpkts0outbeastpkts1outbeastbytes345minuteinputrate0bits/sec,0packets/sec5minuteoutputrate0biIs/sec,0packets/secpvccreatetime00:07:31,last