zyr6688 发表于 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/>

Music小猪 发表于 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>

zyr6688 发表于 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>

Music小猪 发表于 2006-10-17 00:05:03

<p>&nbsp;</p>

Music小猪 发表于 2006-10-17 00:06:34

<p>晕~刚才突然字打不出来~~</p><p>我是新学员`~这个我还没学到~~先研究研究~~嘻嘻~</p><p>等学到了~~我继续回来看这个贴~</p>

SPOTOMS 发表于 2006-10-17 00:40:34

<p>哈哈,楼上好学精神值得所有新学员学习```</p><p></p>

zyr6688 发表于 2006-10-17 12:30:52

<p>感谢<strong><font face="Verdana" color="#61b713">summitlzd,我先再研究一下.有不懂的再请你们赐教!</font></strong></p>
页: [1] 2
查看完整版本: 【求助】【分享】帧中继问题