1、 步骤一:配置R4的为帧中继交换机。 R4(config)#frame-relay switching R4(config)#interface serial 1/0 R4(config-if)#encapsulation frame-relay R4(config-if)#frame-relay intf-type dce R4(config-if)#frame-relay lmi-type cisco R4(config-if)#frame-relay route 100 interface serial 1/1 101 R4(config-if)#clock rate
2、 64000 R4(config-if)#no shutdown R4(config-if)#exit R4(config)#interface serial 1/1 R4(config-if)#encapsulation frame-relay R4(config-if)#frame-relay intf-type dce R4(config-if)#frame-relay lmi-type ansi R4(config-if)#frame-relay route 101 interface serial 1/0 101 R4(config-if)#clock rate
3、64000 R4(config-if)#no shutdown R4(config-if)#exit 步骤二:配置R1路由器 R1(config)#interface serial 1/2 R1(config-if)#encapsulation frame-relay R1(config-if)#ip address 172.16.1.1 255.255.255.0 R1(config-if)#no shut 步骤三:配置R2路由器(假设R2的IOS版本为低于11.2) R2(config)#interface serial 1/2 R2(config-if)#enc
4、apsulation frame-relay R2(config-if)#frame-relay lmi-type ansi R2(config-if)#ip address 172.16.1.2 255.255.255.0 R2(config-if)#no shut 步骤四:在R1使用show frame-realy lmi查看LMI的信令状态信息 R1#show frame-relay lmi LMI Statistics for interface Serial1/2 (Frame Relay DTE) LMI TYPE = CISCO Invalid Unn
5、umbered info 0 Invalid Prot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0 Invalid Report Request 0 Invalid Keep IE Len 0
6、Num Status Enq. Sent 32 Num Status msgs Rcvd 33 Num Update Status Rcvd 0 Num Status Timeouts 0 R1# 步骤五:在R1上查看PVC R1#show frame-relay pvc PVC Statistics for interface Serial1/2 (Frame Relay DTE) Active Inactive Deleted Static Local
7、 0 0 0 0 Switched 0 0 0 0 Unused 1 0 0 0 DLCI = 100, DLCI USAGE = UNUSED, PVC STATUS = ACTIVE, INTERFACE = Serial1/2 input pkts 0 output pkts 1
8、 in bytes 0 out bytes 34 dropped pkts 0 in pkts dropped 0 out pkts dropped 0 out bytes dropped 0 in FECN pkts 0 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0 in DE pkts 0
9、out DE pkts 0 out bcast pkts 1 out bcast bytes 34 switched pkts 0 Detailed packet drop counters: no out intf 0 out intf down 0 no out PVC 0 in PVC down 0 out PVC down 0 pkt too big 0 shapin
10、g Q full 0 pkt above DE 0 policing drop 0 pvc create time 00:08:21, last time pvc status changed 00:00:02 R1# 步骤六:在R1上查看反向ARP R1#show frame-relay map Serial1/2 (up): ip 172.16.1.2 dlci 100(0x64,0x1840), dynamic, broadcast,, status defined, active R1
11、 步骤七:在R1上ping R2 R1#ping 172.16.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 576/780/1312 ms R1# 思考: 如果在步骤七发现无法PING通R2,可能是因为。R2的反向ARP的映射尚没有创建成功。所以我们手工的配置反向是ARP
12、 手工静态映射的配置 步骤一:先查看R2的map,此时注意此映射为动态 R2#show frame-relay map Serial1/2 (up): ip 172.16.1.1 dlci 101(0x65,0x1850), dynamic, broadcast,, status defined, active R2# 步骤二:配置为手工静态映射 R2(config)#interface serial 1/2 R2(config-if)#frame-relay map ip 172.16.1.1 101 broadcast R2(confi
13、g-if)#exit 步骤三:再次查看R2的MAP R2#show frame-relay map Serial1/2 (up): ip 172.16.1.1 dlci 101(0x65,0x1850), static, broadcast, CISCO, status defined, active R2# 步骤四:确认 R2#ping 172.16.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.1.1,
14、 timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 576/681/996 ms R2# 思考:在R1上PING上自己的接口IP。是否可以PING通?为什么?如果解决? 回复 #2 stanley.wy 的帖子 谢谢lz ,今天学习Basic FrameRealy 步骤一:配置R4的为帧中继交换机。 R4(config)#frame-relay switching R4(config)#interface serial 1/0
15、 R4(config-if)#encapsulation frame-relay R4(config-if)#frame-relay intf-type dce R4(config-if)#frame-relay lmi-type cisco R4(config-if)#frame-relay route 100 interface serial 1/1 101 R4(config-if)#clock rate 64000 R4(config-if)#no shutdown R4(config-if)#exit R4(config)#interface serial 1/1
16、 R4(config-if)#encapsulation frame-relay R4(config-if)#frame-relay intf-type dce R4(config-if)#frame-relay lmi-type ansi R4(config-if)#frame-relay route 101 interface serial 1/0 101 《--改:serial 1/0 100 R4(config-if)#clock rate 64000 R4(config-if)#no shutdown R4(config-if)#exit -----------
17、------- 在R1上PING上自己的接口IP。是否可以PING通?为什么?如果解决? ping 不通自身接口是因为没有做自身接口ip地址的map R1(config)#int serial 1/0 R1(config-if)#frame-relay map ip 172.16.1.1 100 bro R1#ping 172.16.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 64/97/128 ms R1# UID 8674 帖子 30 精华 0 积分 177 阅读权限 10 在线时间 34 小时 注册时间 2007-3-16 最后登录 2008-8-10 查看详细资料






