作者ronlee543 (..)
看板Network
标题[问题] 如何设定基本的 Frame-Relay
时间Sat Nov 28 15:23:05 2009
我用PacketTracer5.2模拟器,只用两台路由器。
序列介面预设是 hdlc,所以刚开完机後,只要把ip、遮罩设好,
这两台路由器就可以互ping。
然後照着 CCNA 书上的指示,要将封装方式改成 frame-relay,
分别输入下列指令:
Router1(config)# int s0/0/0
Router1(config-if)# ip address 220.1.1.1 255.255.255.0
Router1(config-if)# encapsulation frame-relay
Router1(config-if)# frame-relay lmi-type ansi
Router1(config-if)# frame-relay interface-dlci 100
Router2的指令除了改ip,其他四行指令都一样:
Router2(config-if)# ip address 220.1.1.2 255.255.255.0
使用 show int s0/0/0 去查看,得到下列结果:
Serial0/0/0 is up, line protocol is down(disabled)
Hardware is HD64570
Internet address is 220.1.1.1/30
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation Frame Relay, loopback not set, [b]keepalive set (10
sec)[/b]
LMI enq sent 139, LMI stat recvd 0, LMI upd recvd 0, DTE LMI up
LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
LMI DLCI 0 LMI type is ANSI Annex D frame relay DTE
Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface
broadcasts 0
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 96 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
15 packets input, 1920 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
15 packets output, 1920 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
这是思科官方网站关於 Frame Relay的 trouble shooting:
http://0rz.tw/MtXwa
根据它的步骤,
第一步是检查硬体线路。这部份应该没问题,因为这两台路由器一开始只要
设好ip、遮罩,就可以用hdlc的封装方式互通。
然後分别使用下列三个指令去检查:
show frame-relay lmi
show frame-relay map
show frame-relay pvc
结果:
Router1# show frame-relay lmi
Router1# show frame-relay map
Router1# show frame-relay pvc
PVC Statistics for interface Serial0/0/0 (Frame Relay DCE)
DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = STATIC, INTERFACE =
Serial0/0/0
input pkts 14055 output pkts 32795 in bytes 1096228
out bytes 6216155 dropped pkts 0 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 32795 out bcast bytes 6216155
疑问1:为何前两个指令没有任何讯息,连错误讯息也没有?
疑问2:为何show frame-relay pvc的结果是DCE,
但是int s0/0/0的结果却是DTE?
这里有模拟器的存档:
http://cid-91fa4871bce2c1e6.skydrive.live.com/browse.aspx/.Public
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.42.195.63
※ 编辑: ronlee543 来自: 114.42.195.63 (11/28 15:34)
1F:→ wst2080:目前的版本,以Router的指令集来看,是不支援 Frame-Relay 11/28 19:10
2F:→ wst2080:Switch 的模式... 11/28 19:10