




已阅读5页,还剩2页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
帧中继(Frame Relay) 点到多点子接口实验拓朴图如图所示。使用Dynamips的帧中继交换机的net文件如下:autostart = Falselocalhost port = 7200 udp = 10000 workingdir = .workingdir3620 #不能用来插交换模块 image = J:c3620-i-mz.121-20.bin ram = 32 confreg = 0x2142 mmap = false idlepc = 0x60395fd0 exec_area = 32 slot0 = NM-1FE-TX slot1 = NM-4T ROUTER R1 model=3620 S1/0 = FR1 1 ROUTER R2 model=3620 S1/0 = FR1 2 ROUTER R3 model=3620 S1/0 = FR1 3 ROUTER R4 model=3620 S1/0 = FR1 4 FRSW FR1 1:102 = 2:201 1:103 = 3:301 1:104 = 4:401#注意:FR1的lmi类型是ANSI,所以各个路由器上要设置frame-relay lmi-type ansi 如果你不想使用Dy的帧中继交换机,可以使用路由器来模拟帧中继交换机,该net文件如下:autostart = Falselocalhost port = 7200 udp = 10000 workingdir = .workingdir3620 #不能用来插交换模块 image = J:c3620-i-mz.121-20.bin ram = 32 confreg = 0x2142 mmap = false idlepc = 0x60395fd0 exec_area = 32 slot0 = NM-1FE-TX slot1 = NM-4T router FR model=3620 S1/0 = R1 S1/0 S1/1 = R2 S1/0 S1/2 = R3 S1/0 S1/3 = R4 S1/0 router R1 model=3620 router R2 model=3620 router R3 model=3620 router R4 model=3620 配置过程命令如下:如果使用路由器来模拟帧中继交换机,帧中继交换机的配置如下:!对帧中继交换机的配置FR#enableFR#configure terminal FR(config)#frame-relay switching FR(config)#interface serial 1/0FR(config-if)#no shutdown FR(config-if)#encapsulation frame-relay FR(config-if)#frame-relay lmi-type ansi FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay route 102 interface Serial1/1 201FR(config-if)#frame-relay route 103 interface Serial1/2 301FR(config-if)#frame-relay route 104 interface Serial1/3 401FR(config-if)#exitFR(config)#interface serial 1/1FR(config-if)#no shutdown FR(config-if)#encapsulation frame-relay FR(config-if)#frame-relay lmi-type ansi FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay route 201 interface Serial1/0 102FR(config-if)#exitFR(config)#interface s1/2FR(config-if)#no shutdown FR(config-if)#encapsulation frame-relay FR(config-if)#frame-relay lmi-type ansi FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay route 301 interface Serial1/0 103FR(config-if)#exitFR(config)#interface serial 1/3FR(config-if)#no shutdown FR(config-if)#encapsulation frame-relayFR(config-if)#frame-relay lmi-type ansi FR(config-if)#frame-relay intf-type dceFR(config-if)# frame-relay route 401 interface Serial1/0 104FR(config-if)#endFR#show frame-relay route !如果能够显示如下信息,说明帧中继交换机的交换表配置成功。Input Intf Input Dlci Output Intf Output Dlci StatusSerial1/0 102 Serial1/1 201 inactiveSerial1/0 103 Serial1/2 301 inactiveSerial1/0 104 Serial1/3 401 inactiveSerial1/1 201 Serial1/0 102 inactiveSerial1/2 301 Serial1/0 103 inactiveSerial1/3 401 Serial1/0 104 inactive!如果相邻路由器也启动且各个接口已经配置,则应该是显示如下信息Serial1/0 102 Serial1/1 201 activeSerial1/0 103 Serial1/2 301 activeSerial1/0 104 Serial1/3 401 activeSerial1/1 201 Serial1/0 102 activeSerial1/2 301 Serial1/0 103 activeSerial1/3 401 Serial1/0 104 activeFR#!也可以用下面的配置方法enableconfigure terminalframe-relay switchinginterface Serial1/0no ip addressencapsulation frame-relayno shutdownframe-relay lmi-type ansiframe-relay intf-type dceframe-relay route 102 interface Serial1/1 201frame-relay route 103 interface Serial1/2 301frame-relay route 104 interface Serial1/3 401!interface Serial1/1no ip addressencapsulation frame-relayno shutdownframe-relay lmi-type ansiframe-relay intf-type dceframe-relay route 201 interface Serial1/0 102!interface Serial1/2no ip addressencapsulation frame-relayno shutdownframe-relay lmi-type ansiframe-relay intf-type dceframe-relay route 301 interface Serial1/0 103!interface Serial1/3no ip addressencapsulation frame-relayno shutdownframe-relay lmi-type ansiframe-relay intf-type dceframe-relay route 401 interface Serial1/0 104!end!show frame-relay route!以下是各个路由器的配置!对R1的配置enableconfigure terminal! interface FastEthernet0/0ip address 10.1.1.1 255.255.255.0no shutdown!interface Serial1/0no ip addressno shutdownencapsulation frame-relayno frame-relay inverse-arpframe-relay lmi-type ansi!interface Serial1/0.2 point-to-pointip address 12.12.12.1 255.255.255.0frame-relay interface-dlci 102!interface Serial1/0.34 multipointip address 13.13.13.1 255.255.255.0no ip split-horizonframe-relay map ip 13.13.13.3 103 broadcastframe-relay map ip 13.13.13.4 104 broadcast!exit!router ripnetwork 10.0.0.0network 12.0.0.0network 13.0.0.0!end!对R2的配置enableconfigure terminal! interface FastEthernet0/0ip address 172.16.1.2 255.255.255.0no shutdown!interface Serial1/0ip address 12.12.12.2 255.255.255.0encapsulation frame-relayno shutdownframe-relay map ip 12.12.12.1 201 broadcastno frame-relay inverse-arpframe-relay lmi-type ansi!exit!router ripnetwork 172.16.1.0network 12.0.0.0!end!对R3的配置enableconfigure terminal! interface FastEthernet0/0ip address 192.168.1.3 255.255.255.0no shutdown!interface Serial1/0ip address 13.13.13.3 255.255.255.0encapsulation frame-relayno shutdownframe-relay map ip 13.13.13.1 301 broadcastno frame-relay inverse-arpframe-relay lmi-type ansi!exit!router ripnetwork 192.168.1.0network 13.0.0.0!end!对R4的配置enableconfigure terminal! interface FastEthernet0/0ip address 192.168.1.4 255.255.255.0
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论