故障現(xiàn)象
公司的局域網(wǎng)使用DDN專線上網(wǎng),由CISCO 1751路由器連接的A網(wǎng)和CISCO 3662 連接的B網(wǎng)組成。筆者在DDN專線沒有使用的情況下,將CISCO 1751路由器通過AUX口電話撥號接CISCO 3662NM-16AS備份DDN,在1751和3662之間能互相Ping通,很少丟包;在1751路由器上Ping局域網(wǎng)B的工作站很正常,在局域網(wǎng)B的某個工作站Ping1751路由器的以太網(wǎng)口(連接局域網(wǎng)A,并且A上通過交叉線只連接了一臺主機(jī))也很正常;但在局域網(wǎng)A的某個工作站Ping局域網(wǎng)B的工作站,只能Ping通有限的幾次,然后就開始丟包了。
診斷過程
筆者首先分析了可能出現(xiàn)問題的幾個地方 :
(1)交叉線做得太差,質(zhì)量不過關(guān)。
(2)網(wǎng)絡(luò)設(shè)備雙工模式不匹配。
(3)A主機(jī)的網(wǎng)卡可能有問題。
逐一檢查之后發(fā)現(xiàn)沒有問題,在局域網(wǎng)A上Ping局域網(wǎng)B通一次后顯示
fast swrtcning to AUX port—packet drop
然后就不能ping通了。
用show int async命令查看,詳細(xì)的信息如下:
show int a5
Async5 is up,line protocol is up
Hardware is Async Serial
MTU 1500 bytes, BW 115 Kbit, DLY 100000 usec
reliability 254/255 txdoad 1/255, rxload1/255
EncapsUatlonPPP,loopback not set
DTR is pulsed for 5 seconds on reset
Time to interface disconnect:
LCP Open
Open IPCP
Last input 00:01: 41,output 00:01:41,output hang never
Last clearing of “show interface”counters 03:52:24
Input queue :1/75/0/0(size/max/drops/flushes);Total output drops:0
Queuening strategy :weighted fair
Output queue:0/1000/64/0(size/max total/threshold/drops)
Conversations 0/1/16(active/max active/max total)
Reserved Conversations 0/0(allocated/max allocated)
Avaiabe Bandwdth 86 kilobits/sec
5 minute input rate 0 bits/sec,0 packets/sec
5 minute output rate 0 bits/sec,0 packets/sec
297 packets input,22847 bytes,0 no buffer
Received 0 buoadcasts,0 runts,0 giants,0 throttles
5 input errors, 5 CRC, 0 frame ,0 overrun, 0 ignored, 0 abort
312 packets output ,23822 bytes, 0 underruns
0 output errors , 0 collisions, 6 interface resets
0 output buffer failures,0 output buffers swapped out
0 carrier transitions
從這里沒有看出什么問題,最后想到可能AUX 口不支持快速轉(zhuǎn)發(fā),進(jìn)行如下操作:
首先在1751 的全局配置模式下:
no ip cef
然后每個接口下面:
no ip route—cache(關(guān)閉端口快速轉(zhuǎn)發(fā))
最后在 int async上
no op route—cache
關(guān)閉 fast switching后,問題解決。