雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6169|回复: 12

[讨论/求助] 【求助】【分享】帧中继问题

[复制链接]
发表于 2006-10-15 12:01:43 | 显示全部楼层 |阅读模式
<p class="MsoNormal" align="center" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center;"><span lang="EN-US"><shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" opreferrelative="t" ospt="75" coordsize="21600,21600"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path oconnecttype="rect" gradientshapeok="t" oextrusionok="f"></path><lock aspectratio="t" vext="edit"></lock></shapetype></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">先谢谢大家涌跃回答.^-^;问题在<font color="#ff0000">红色区域(两个问题)</font></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';"></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">一.将</span></b><b style="mso-bidi-font-weight: normal;"><span lang="EN-US" style="mso-bidi-font-size: 10.5pt;"><font face="Times New Roman">Cisco 2523</font></span></b><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">路由器配置成帧中继交换机如下:</span></b><b style="mso-bidi-font-weight: normal;"><span lang="EN-US" style="mso-bidi-font-size: 10.5pt;"><p></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Router&gt;en</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Router#config t</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Router(config)#hostname Frame-Switch</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config)#frame-relay switching</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config)#int s0</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#encaplation frame-relay<span style="mso-tab-count: 4;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay lmi-type ansi<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay intf-type dce</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#clock rate 64000<span style="mso-tab-count: 5;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#ff0000">//此为异步串行接口,&nbsp;异步串行接口是否只支持64000bit/s</font>&nbsp;&nbsp;?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay route 100 interface serial 2 101</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay route 200 interface serial 1 201</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#no ip add<span style="mso-tab-count: 6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#no sh<span style="mso-tab-count: 7;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><p><font face="Times New Roman">&nbsp;</font></p></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config)#int s1</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#encaplation frame-relay</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay lmi-type ansi</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay intf-type dce</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#clock rate 64000</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay route 201 interface serial 0 200</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#no ip add<span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#no sh</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><p><font face="Times New Roman">&nbsp;</font></p></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config)#int s2</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#encaplation frame-relay</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay lmi-type ansi</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay intf-type dce</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#clock rate 64000</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#frame-relay route 101 interface serial 0 100</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#no ip add<span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">Frame-Switch(config-if)#no sh</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">查看配置命令:</span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">1</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">.</span><span lang="EN-US"><font face="Times New Roman">Frame-Switch#show running-config</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">.</span><span lang="EN-US"><font face="Times New Roman">Frame-Switch#show frame-relay route</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">二.配置帧中继映射使</span><span lang="EN-US"><font face="Times New Roman">R2</font></span></b><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">、</span><span lang="EN-US"><font face="Times New Roman">R3</font></span></b><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">可以通信,</span><span lang="EN-US"><font face="Times New Roman">R3</font></span></b><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">、</span><span lang="EN-US"><font face="Times New Roman">R4</font></span></b><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">可以通信,(但</span><span lang="EN-US"><font face="Times New Roman">R2</font></span></b><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">、</span><span lang="EN-US"><font face="Times New Roman">R4</font></span></b><b style="mso-bidi-font-weight: normal;"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">不能通信):</span><span lang="EN-US"><p></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R2(config)#int s0 </font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R2(config-if)#encapsulation frame-relay</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R2(config-if)#ip add 192.168.10.2 255.255.255.0 </font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R2(config-if)#no sh</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R2(config-if)#frame-relay map ip 192.168.10.3 201 broadcast<span style="mso-tab-count: 2;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font></span></p><span lang="EN-US"><font face="Times New Roman"><span style="mso-tab-count: 2;"><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" style="COLOR: red;">R2(config-if)# frame-relay interface-dlci 201<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>//</span><span style="COLOR: red; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">是否要为接口指定本地</span><span lang="EN-US" style="COLOR: red;">DLCI,是否可以为<font face="宋体">接口指定本地</font><span lang="EN-US" style="COLOR: red;">DLCI,还是只有子接口才要<font face="宋体">为子接口指定本地</font><span lang="EN-US" style="COLOR: red;">DLCI?</span></span><p></p></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;">&nbsp;<span lang="EN-US"><p><font face="Times New Roman">&nbsp;</font></p></span></p></span></font></span><span lang="EN-US"><p><font face="Times New Roman">&nbsp;</font></p></span><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R3(config)#int s0 </font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R3(config-if)#encapsulation frame-relay</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R3(config-if)#ip add 192.168.10.3 255.255.255.0 </font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R3(config-if)#no sh</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R3(config-if)#frame-relay map ip 192.168.10.2 200 broadcast<span style="mso-tab-count: 2;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R3(config-if)#frame-relay map ip 192.168.10.4 100 broadcast</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><p><font face="Times New Roman">&nbsp;</font></p></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R4(config)#int s0 </font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R4(config-if)#encapsulation frame-relay</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R4(config-if)#ip add 192.168.10.4 255.255.255.0 </font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R4(config-if)#no sh</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US"><font face="Times New Roman">R4(config-if)#frame-relay map ip 192.168.10.3 101 broadcast</font></span></p><span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';"></span><br/>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2006-11-1 22:33:38 | 显示全部楼层
<p>多谢楼上的夸奖~~嘿嘿~~</p><p>我会努力的~~</p>
发表于 2006-11-4 14:10:54 | 显示全部楼层
<font color="#0000ff">好强啊...貌似全部都是强人啊...</font>
发表于 2006-10-15 12:54:24 | 显示全部楼层
<p><font color="#0000ff">时钟速率可以自己设,只要两边统一就行,64000只是一个标准。</font></p><p><font color="#0000ff">只有在使用子接口时才需要定义本地DLCI。</font></p>
发表于 2006-10-15 12:59:27 | 显示全部楼层
<p><font color="#0000ff">使用静态映射最好关闭反向ARP``</font></p>
 楼主| 发表于 2006-10-15 23:37:50 | 显示全部楼层
<p><font color="#000000">很感谢"</font><font face="Verdana" color="#000000">头点什么"老兄每次都第一个跑出来为我赐教!</font></p><p><font color="#000000">(1)我看到书里有说明<span><font face="Times New Roman">Cisco 2523</font>路由器有同步<font face="Times New Roman">串行接口和异步串行接口两种,而&nbsp;异步串行接口只支持64000bit/,同步接口好像就可以自己想设多少就设多少.可是为什么异步串行接口就不能?</font></span></font></p><p><span><span lang="EN-US" style="COLOR: red;"><font color="#000000">(2)R2(config-if)# frame-relay interface-dlci 201<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这条命令是存在的,可是为什么实验手册里没配置,为什么它不需要配置?</span></font></span></span></p><span><span lang="EN-US" style="COLOR: red;"><span style="mso-tab-count: 3;"><p><font color="#000000">(3)使用静态映射时,会自动关闭反向ARP.</font></p></span></span></span>
发表于 2006-10-17 00:05:03 | 显示全部楼层
<p>&nbsp;</p>
发表于 2006-10-17 00:06:34 | 显示全部楼层
<p>晕~刚才突然字打不出来~~</p><p>我是新学员`~这个我还没学到~~先研究研究~~嘻嘻~</p><p>等学到了~~我继续回来看这个贴~</p>
发表于 2006-10-17 00:40:34 | 显示全部楼层
<p>哈哈,楼上好学精神值得所有新学员学习```</p><p></p>
 楼主| 发表于 2006-10-17 12:30:52 | 显示全部楼层
<p>感谢<strong><font face="Verdana" color="#61b713">summitlzd,我先再研究一下.有不懂的再请你们赐教!</font></strong></p>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-5-19 16:20 , Processed in 0.084395 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表