[問題] 如何設定基本的 Frame-Relay

看板Network作者 (..)時間16年前 (2009/11/28 15:23), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串1/4 (看更多)
我用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)

11/28 19:10, , 1F
目前的版本,以Router的指令集來看,是不支援 Frame-Relay
11/28 19:10, 1F

11/28 19:10, , 2F
Switch 的模式...
11/28 19:10, 2F
文章代碼(AID): #1B4C_SmE (Network)
文章代碼(AID): #1B4C_SmE (Network)