14-1LR电脑书籍网通过本章的学习,您应该掌握以下内容:•了解FrameRelay工作过程•配置FrameRelay•配置FrameRelay的子端口•查看FrameRelay信息本章目标LR电脑书籍网概述•使用虚电路进行连接•提供面向对象的服务FrameRelayworkshere.DCEorFrameRelaySwitchCSU/DSULR电脑书籍网电脑书籍网=T1LocalAccessLoop=64kbpsLocalAccessLoop=64kbpsDLCI:400PVCDLCI:500LMI100=Active400=ActiveDLCI:200DLCI:100PVCLR电脑书籍网地址映射•从提供商那里得到本地的DLCI号•建立目的地址和本地DLCI之间的映射关系DLCI:500PVC10.1.1.1InverseARPorFrameRelaymapIP(10.1.1.1)FrameRelayDLCI(500)LR电脑书籍网标准:•Cisco•ANSIT1.617AnnexD•ITU-TQ.933AnnexADLCI:400PVCKeepaliveCSU/DSUDLCI:500PVC10.1.1.1xLMI500=Active400=InactiveLR电脑书籍网=100DLCI=400172.168.5.5172.168.5.7LR电脑书籍网=100DLCI=400172.168.5.5172.168.5.7LR电脑书籍网=Active4LocalDLCI400=Active2StatusInquiry2StatusInquiryFrameRelayCloud1DLCI=100DLCI=4003172.168.5.5172.168.5.7LR电脑书籍网=Active4LocalDLCI400=Active2StatusInquiry2StatusInquiryFrameRelayCloud1DLCI=100DLCI=4003172.168.5.5172.168.5.7LR电脑书籍网=100DLCI=400FrameRelayMap172.168.5.7DLCI100Active5172.168.5.5172.168.5.7LR电脑书籍网=100DLCI=400FrameRelayMap172.168.5.7DLCI100Active5Hello,Iam172.168.5.5.6172.168.5.5172.168.5.7LR电脑书籍网=100DLCI=400FrameRelayMap172.168.5.7DLCI100Active5Hello,Iam172.168.5.5.677172.168.5.5172.168.5.7LR电脑书籍网•缺省情况下是激活的•在配置输出信息中看不出来Rel.11.2RouterRel.10.3RouterHQinterfaceSerial1ipaddress10.16.0.1255.255.255.0encapsulationframe-relaybandwidth64interfaceSerial1ipaddress10.16.0.2255.255.255.0encapsulationframe-relaybandwidth64frame-relaylmi-typeansiBranch配置FrameRelayLR电脑书籍网=110IPaddress=10.16.0.1/24p1r1DLCI=100IPaddress=10.16.0.2/24interfaceSerial1ipaddress10.16.0.1255.255.255.0encapsulationframe-relaybandwidth64frame-relaymapip10.16.0.2110broadcastHQBranch配置静态的FrameRelay映射LR电脑书籍网信息显示协议、DLCI、和LMI的相关信息Router#showinterfaces0Serial0isup,lineprotocolisupHardwareisHD64570Internetaddressis10.140.1.2/24MTU1500bytes,BW1544Kbit,DLY20000usec,rely255/255,load1/255EncapsulationFRAME-RELAY,loopbacknotset,keepaliveset(10sec)LMIenqsent19,LMIstatrecvd20,LMIupdrecvd0,DTELMIupLMIenqrecvd0,LMIstatsent0,LMIupdsent0LMIDLCI1023LMItypeisCISCOframerelayDTEFRSVCdisabled,LAPFstatedownBroadcastqueue0/64,broadcastssent/dropped8/0,interfacebroadcasts5Lastinput00:00:02,output00:00:02,outputhangneverLastclearingofshowinterfacecountersneverQueueingstrategy:fifoOutputqueue0/40,0drops;inputqueue0/75,0dropsOutputomittedLR电脑书籍网(FrameRelayDTE)LMITYPE=CISCOInvalidUnnumberedinfo0InvalidProtDisc0InvaliddummyCallRef0InvalidMsgType0InvalidStatusMessage0InvalidLockShift0InvalidInformationID0InvalidReportIELen0InvalidReportRequest0InvalidKeepIELen0NumStatusEnq.Sent113100NumStatusmsgsRcvd113100NumUpdateStatusRcvd0NumStatusTimeouts0查看FrameRelay信息LR电脑书籍网(FrameRelayDTE)DLCI=100,DLCIUSAGE=LOCAL,PVCSTATUS=ACTIVE,INTERFACE=Serial0inputpkts28outputpkts10inbytes8398outbytes1198droppedpkts0inFECNpkts0inBECNpkts0outFECNpkts0outBECNpkts0inDEpkts0outDEpkts0outbcastpkts10outbcastbytes1198pvccreatetime00:03:46,lasttimepvcstatuschanged00:03:47LR电脑书籍网(up):ip10.140.1.1dlci100(0x64,0x1840),dynamic,broadcast,,statusdefined,active查看FrameRelay信息LR电脑书籍网(up):ip10.140.1.1dlci100(0x64,0x1840),dynamic,broadcast,,statusdefined,activeRouter#clearframe-relay-inarpRouter#shframemapRouter#LR电脑书籍网:Serial0(out):StEnq,myseq140,yourseen139,DTEup1w2d:datagramstart=0xE008EC,datagramsize=131w2d:FRencap=0xFCF103091w2d:007501010103028C8B1w2d:1w2d:Se