18. 0006.e918.7b70 FOUND LOCAL TBridge-001 --no rif-- 19. 1000.5ae3.03f7 FOUND LOCAL TBridge-001 --no rif-- 20. 7500.9221.0000 FOUND REMOTE 16.201.30.250(2065)
max-lf(4472)
21. 7500.9221.0000 SEARCHING LOCAL 22.
23. DLSw NetBIOS Name reachability cache list
24. NetBIOS Name status Loc. peer/port rif 25. SXUSER2 FOUND LOCAL TBridge-001 --no rif--
若本地MAC地址和目的MAC地址状态均是FOUND,请参看第五步. SEARCHING表示在寻找本地MAC地址或目的MAC地址.此时用show interface serial命令查看该口连接的PU状态. NOT_FOUND表示没有收到对PU轮询的应答. VERIFY表示确认缓存内信息.
26. 在SERACHING本地MAC地址或目的MAC地址. 27. Router#show interface serial 0
28. Serial1 is up, line protocol is up 29. Hardware is HD64570
30. MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
31. Encapsulation SDLC, loopback not set
32. Router link station role: SECONDARY (DTE) 33. Router link station metrics: 34. group poll not enabled 35. poll-wait 40000 seconds
36. N1 (max frame size) 12016 bits 37. modulo 8
38. sdlc vmac: 4000.5555.00--
39. sdlc addr C1 state is DISCONNECT 40. cls_state is CLS_STN_CLOSED
41. VS 0, VR 0, Remote VR 0, Current retransmit count 0 42. Hold queue: 0/200 IFRAMEs 0/0
43. TESTs 0/0 XIDs 0/0, DMs 0/0 FRMRs 0/0
44. RNRs 0/0 SNRMs 0/0 DISC/RDs 0/0 REJs 0/0 chain: C1/C1
45. Last input never, output never, output hang never 46. Last clearing of \47. Queueing strategy: fifo
48. Output queue 0/40, 0 drops; input queue 0/75, 0 drops 49. 5 minute input rate 0 bits/sec, 0 packets/sec
50. 51. 52. 53. 54. 55. 56. 57. 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 19 interface resets
0 output buffer failures, 0 output buffers swapped out 6 carrier transitions
58. DCD=up DSR=up DTR=up RTS=up CTS=up 59.
说明:
60. Encapsulation SDLC---串口打包方式为SDLC.
61. Router link station role: SECONDARY (DTE)---目前端口作secondary,由\命令设置.
62. sdlc vmac: 4000.5555.00-- ---由\设置的MAC地址.注意它的最后两位是留给PU地址的.
63. 在本例中,端口MAC地址是4000.5555.00C1.
64. sdlc addr C1 state is DISCONNECT ---该端口连接PU C1当前状态.有以下几种状态:
65. DISCONNECT -与PU未连接,次站没有发TEST或XID帧请求建立连接.请检查下面连接的PU是否启动 66.
SNA进程,若是用DCE线缆连接PU请检查线缆
是否正确,若是MODEM连接到远端PU上,请 67. 68.
69. DISCSENT-路由器发送断开请求(DISC)给次站,正在等待次站应答.
检查MODEM状态灯.
70.
71. SNRMSENT-路由器发送连接请求(SNRM)给次站,正在等待次站应答.这个状态出现在作主站的路由器
72. 上.若是在作主站路由器上出现SNRMSENT状态,检查下端PU是否开机,路由器端口与PU上
73. SDLC口连接的MODEM是否已通(MODEM的DTR,CD,RXD,TXD灯应常亮).一句话,出现SNRMSENT 74. 状态是路由器端口与它下端PU之间问题. 75.
76. CONNECT-PU连接正常.路由器和它连接的次站正常连接. 77.
78. THEMBUSY-PU发送RNR帧.次站告诉路由器暂时不能接收任何信息. 79.
80. USBUSY-路由器发送RNR帧.路由器告诉次站暂时不能接收任何信息.路由器已接收到次站对SNRM帧的
81. 应答帧UA,试图建立SDLC或LLC2会话. 82.
83. BOTHBUSY-双方均发送RNR帧.告诉对方暂时不能接收任何信息. 84.
85. ERROR-违反SDLC协议.路由器正在等待次站应答.
86.
87. SNRMSEEN-路由器作次站,接收到SNRM帧. 88. 当双方MAC地址都找到后,开始建立链路了.
89. Router#show dlsw curcuit
90. Index local addr(lsap) remote addr(dsap) state 91. 1818740 1000.5ae3.430d(04) 4000.5555.00c1(04)
CONNECTED 92. 用\查看PU状态应是\ 我们也可以用\debug dlsw\获得更多的信息帮助解决网络中出现的问题.你可以记录下debug传输信息提供给你的代理.
问题:远端没有到达本端机器.远端peer的IP地址是172.18.16.156.
建议:
1. 检查show dlsw peer输出,我们看到:
2.
Peers: state pkts-rx pkts-tx type drops ckts TCP uptime
3. TCP 172.18.16.156 DISCONN 0 0 conf
0 0 0 --
4. 用debug dlsw peers命令决定问题:
DLSw: action_a() attempting to connect peer 172.18.15.156(2065) DLSw: action_a(): Write pipe opened for peer 172.18.15.156(2065) DLSw: peer 172.18.15.156(2065), old state DISCONN, new state WAIT_RD
DLSw: dlsw_tcpd_fini() for peer 172.18.15.156(2065)
DLSw: tcp fini closing connection for peer 172.18.15.156(2065) DLSw: action_d(): for peer 172.18.15.156(2065)
DLSw: peer 172.18.15.156(2065), old state WAIT_RD, new state DISCONN
DLSw: Not promiscuous - Rej conn from 172.18.15.166(2065) 诊断:试着打开peer 172.18.15.156,但不成功.DLSw+接收到来自172.18.15.166的打开请求,但是DLSw+拒绝它,因为这个peer没有定义.由此我们可以判断定义peer地址不正确.该peer地址为172.18.15.166就连通了. Peers: state ckts TCP uptime
pkts-rx pkts-tx type drops
TCP 172.18.16.166 CONNECT 2 2 conf 0 0 0 00:224:27
问题:SDLC设备不能连接到主机.Milan是连接SDLC设备的远端peer. 建议:
1. 用show dlsw peer命令显示peer是up的.
2. 3.
milan#sh dlsw peers
Peers: state pkts-rx pkts-tx type drops ckts TCP uptime
4. TCP 172.18.16.166 CONNECT 2 2 conf
0 0 0 00:224:27
5. Show dlsw circuits没有链路产生.
6. 7.
milan#show dlsw circuits milan#
8. Show interface 命令显示SDLC 地址状态是USBUSY,这表示我们已经成功的连接到下端路由器上. 9. Router#show interface serial 3/7
10. Serial1 is up, line protocol is up 11. Hardware is HD64570
12. MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
13. Encapsulation SDLC, loopback not set
14. Router link station role: SECONDARY (DTE) 15. Router link station metrics: 16. group poll not enabled 17. poll-wait 40000 seconds
18. N1 (max frame size) 12016 bits 19. modulo 8
20. sdlc vmac: 4000.5555.00-- 21. sdlc addr C1 state is USBUSY
22. cls_state is CLS_STN_CLOSED
23. VS 0, VR 0, Remote VR 0, Current retransmit count 0 24. Hold queue: 0/200 IFRAMEs 0/0
25. TESTs 0/0 XIDs 0/0, DMs 0/1 FRMRs 20/20
26. RNRs 620/0 SNRMs 3/0 DISC/RDs 1/0 REJs 0/0 chain: C1/C1
27. sdlc addr C2 state is USBUSY
28. cls_state is CLS_STN_CLOSED