帧中继点到多点.docx
- 文档编号:16267116
- 上传时间:2023-07-12
- 格式:DOCX
- 页数:15
- 大小:284.21KB
帧中继点到多点.docx
《帧中继点到多点.docx》由会员分享,可在线阅读,更多相关《帧中继点到多点.docx(15页珍藏版)》请在冰点文库上搜索。
帧中继点到多点
帧中继(实验详解)
实验目的:
用CISCO的路由器模拟帧中继交换机。
理解DLCI
理解LMI
理解PVC,SVC
理解map
实验拓扑:
帧中继(点到多点)
实验过程:
R1配置如下:
interfaceSerial1/0
ipaddress192.168.1.1255.255.255.0
encapsulationframe-relay
noframe-relayinverse-arp
frame-relaylmi-typecisco
noshutdown
interfaceLoopback0
ipaddress1.1.1.1255.255.255.255
R2配置如下:
interfaceSerial1/0
ipaddress192.168.1.2255.255.255.0
encapsulationframe-relay
clockrate64000
noframe-relayinverse-arp
frame-relaylmi-typecisco
noshutdown
interfaceLoopback0
ipaddress2.2.2.2255.255.255.255
R3配置如下:
interfaceSerial1/0
ipaddress192.168.1.3255.255.255.0
encapsulationframe-relay
noframe-relayinverse-arp
frame-relaylmi-typecisco
noshutdown
interfaceLoopback0
ipaddress3.3.3.3255.255.255.255
R4配置如下:
interfaceSerial1/0
ipaddress192.168.1.4255.255.255.0
encapsulationframe-relay
clockrate64000
frame-relaylmi-typecisco
noshutdown
interfaceLoopback0
ipaddress4.4.4.4255.255.255.255
帧中继交换机配置如下:
interfaceSerial1/0
encapsulationframe-relay
serialrestart-delay0
clockrate64000
frame-relaylmi-typecisco
frame-relayintf-typedce
frame-relayroute102interfaceSerial1/1201
frame-relayroute103interfaceSerial1/2301
frame-relayroute104interfaceSerial1/3401
interfaceSerial1/1
encapsulationframe-relay
serialrestart-delay0
clockrate64000
frame-relaylmi-typecisco
frame-relayintf-typedce
frame-relayroute201interfaceSerial1/0102
interfaceSerial1/2
encapsulationframe-relay
clockrate64000
frame-relaylmi-typecisco
frame-relayintf-typedce
frame-relayroute301interfaceSerial1/0103
interfaceSerial1/3
encapsulationframe-relay
clockrate64000
frame-relaylmi-typecisco
frame-relayintf-typedce
frame-relayroute401interfaceSerial1/0104
测试路由器之间的连通性
R1#ping192.168.1.2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto192.168.1.2,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=16/42/72ms
R1#ping192.168.1.3
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto192.168.1.3,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=20/49/92ms
R1#ping192.168.1.4
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto192.168.1.4,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=16/67/164ms
测试每台设备loopback之间的连通性(说明为什么无法 Ping通对方)
R1#ping192.168.1.1
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto192.168.1.1,timeoutis2seconds:
.....
Successrateis0percent(0/5)(说明为什么无法 Ping通自己)
R1#ping2.2.2.2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto2.2.2.2,timeoutis2seconds:
.....
Successrateis0percent(0/5)
R1#ping3.3.3.3
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto3.3.3.3,timeoutis2seconds:
.....
Successrateis0percent(0/5)
R1#ping4.4.4.4
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto4.4.4.4,timeoutis2seconds:
.....
Successrateis0percent(0/5)
如果在所有CPE配置frame-relaymap上做这样的配置就可以Ping通对方(说明原因)。
R1配置如下:
R1#configureterminal
R1(config)#ints1/0
R1(config-if)#frame-relaymapip2.2.2.2102broadcast
R1(config-if)#frame-relaymapip3.3.3.3103broadcast
R1(config-if)#frame-relaymapip4.4.4.4104broadcast
R2配置如下:
R2#configureterminal
R2(config)#ints1/0
R2(config-if)#frame-relaymapip1.1.1.1201broadcast
R3配置如下:
R3#configureterminal
R3(config)#ints1/0
R3(config-if)#frame-relaymapip1.1.1.1301broadcast
R4配置如下:
R4#configureterminal
R4(config)#ints1/0
R4(config-if)#frame-relaymapip1.1.1.1401broadcast
测试效果
R1#ping1.1.1.1
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto1.1.1.1,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=1/2/4ms
R1#ping2.2.2.2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto2.2.2.2,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=36/73/180ms
R1#ping3.3.3.3
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto3.3.3.3,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=16/52/100ms
R1#ping4.4.4.4
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto4.4.4.4,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=16/48/104ms
验证帧中继交换机配置如下:
显示配置帧中继交换表
FR#showframe-relayroute
InputIntfInputDlciOutputIntfOutputDlciStatus
Serial1/0102Serial1/1201active
Serial1/0103Serial1/2301active
Serial1/0104Serial1/3401active
Serial1/1201Serial1/0102active
Serial1/2301Serial1/0103active
Serial1/3401Serial1/0104active
显示帧中继交换机PVC状态
FR#showframe-relaypvc
PVCStatisticsforinterfaceSerial1/0(FrameRelayDCE)
ActiveInactiveDeletedStatic
Local0000
Switched3000
Unused0000
DLCI=102,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial1/0
inputpkts12outputpkts12inbytes1108
outbytes1108droppedpkts0inpktsdropped0
outpktsdropped0outbytesdropped0
inFECNpkts0inBECNpkts0outFECNpkts0
outBECNpkts0inDEpkts0outDEpkts0
outbcastpkts0outbcastbytes0
30secondinputrate0bits/sec,0packets/sec
30secondoutputrate0bits/sec,0packets/sec
switchedpkts12
Detailedpacketdropcounters:
nooutintf0outintfdown0nooutPVC0
inPVCdown0outPVCdown0pkttoobig0
shapingQfull0pktaboveDE0policingdrop0
pvccreatetime00:
37:
24,lasttimepvcstatuschanged00:
36:
34
DLCI=103,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial1/0
inputpkts12outputpkts11inbytes1108
outbytes1074droppedpkts0inpktsdropped0
outpktsdropped0outbytesdropped0
inFECNpkts0inBECNpkts0outFECNpkts0
outBECNpkts0inDEpkts0outDEpkts0
outbcastpkts0outbcastbytes0
30secondinputrate0bits/sec,0packets/sec
30secondoutputrate0bits/sec,0packets/sec
switchedpkts12
Detailedpacketdropcounters:
nooutintf0outintfdown0nooutPVC0
inPVCdown0outPVCdown0pkttoobig0
shapingQfull0pktaboveDE0policingdrop0
pvccreatetime00:
30:
19,lasttimepvcstatuschanged00:
29:
24
DLCI=104,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial1/0
inputpkts14outputpkts13inbytes1176
outbytes1142droppedpkts0inpktsdropped0
outpktsdropped0outbytesdropped0
inFECNpkts0inBECNpkts0outFECNpkts0
outBECNpkts0inDEpkts0outDEpkts0
outbcastpkts0outbcastbytes0
30secondinputrate0bits/sec,0packets/sec
30secondoutputrate0bits/sec,0packets/sec
switchedpkts14
Detailedpacketdropcounters:
nooutintf0outintfdown0nooutPVC0
inPVCdown0outPVCdown0pkttoobig0
shapingQfull0pktaboveDE0policingdrop0
pvccreatetime00:
30:
00,lasttimepvcstatuschanged00:
28:
45
PVCStatisticsforinterfaceSerial1/1(FrameRelayDCE)
ActiveInactiveDeletedStatic
Local0000
Switched1000
Unused0000
DLCI=201,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial1/1
inputpkts13outputpkts12inbytes1142
outbytes1108droppedpkts2inpktsdropped2
outpktsdropped0outbytesdropped0
inFECNpkts0inBECNpkts0outFECNpkts0
outBECNpkts0inDEpkts0outDEpkts0
outbcastpkts0outbcastbytes0
30secondinputrate0bits/sec,0packets/sec
30secondoutputrate0bits/sec,0packets/sec
switchedpkts12
Detailedpacketdropcounters:
nooutintf0outintfdown0nooutPVC0
inPVCdown0outPVCdown2pkttoobig0
shapingQfull0pktaboveDE0policingdrop0
pvccreatetime00:
36:
41,lasttimepvcstatuschanged00:
36:
26
PVCStatisticsforinterfaceSerial1/2(FrameRelayDCE)
ActiveInactiveDeletedStatic
Local0000
Switched1000
Unused0000
DLCI=301,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial1/2
inputpkts11outputpkts12inbytes1074
outbytes1108droppedpkts0inpktsdropped0
outpktsdropped0outbytesdropped0
inFECNpkts0inBECNpkts0outFECNpkts0
outBECNpkts0inDEpkts0outDEpkts0
outbcastpkts0outbcastbytes0
30secondinputrate0bits/sec,0packets/sec
30secondoutputrate0bits/sec,0packets/sec
switchedpkts11
Detailedpacketdropcounters:
nooutintf0outintfdown0nooutPVC0
inPVCdown0outPVCdown0pkttoobig0
shapingQfull0pktaboveDE0policingdrop0
pvccreatetime00:
29:
30,lasttimepvcstatuschanged00:
29:
13
PVCStatisticsforinterfaceSerial1/3(FrameRelayDCE)
ActiveInactiveDeletedStatic
Local0000
Switched1000
Unused0000
DLCI=401,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial1/3
inputpkts13outputpkts14inbytes1142
outbytes1176droppedpkts0inpktsdropped0
outpktsdropped0outbytesdropped0
inFECNpkts0inBECNpkts0outFECNpkts0
outBECNpkts0inDEpkts0outDEpkts0
outbcastpkts0outbcastbytes0
30secondinputrate0bits/sec,0packets/sec
30secondoutputrate0bits/sec,0packets/sec
switchedpkts13
Detailedpacketdropcounters:
nooutintf0outintfdown0nooutPVC0
inPVCdown0outPVCdown0pkttoobig0
shapingQfull0pktaboveDE0policingdrop0
pvccreatetime00:
28:
55,lasttimepvcstatuschanged00:
28:
41
显示帧中继交换接口lmi类型
FR#showframe-relaylmi
LMIStatisticsforinterfaceSerial1/0(FrameRelayDCE)LMITYPE=CISCO
InvalidUnnumberedinfo0InvalidProtDisc0
InvaliddummyCallRef0InvalidMsgType0
InvalidStatu
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 中继 多点