📄 troubleshooting.htm
字号:
DLSw NetBIOS Name reachability cache list
NetBIOS Name status Loc. peer/port rif
SXUSER2 FOUND LOCAL TBridge-001 --no rif--</font></pre>
<p>若本地<font face="Times New Roman">MAC</font>地址和目的<font
face="Times New Roman">MAC</font>地址状态均是<font
face="Times New Roman"><strong>FOUND</strong>,</font>请参看第五步<font
face="Times New Roman">.<br>
<strong>SEARCHING</strong></font>表示在寻找本地<font
face="Times New Roman">MAC</font>地址或目的<font
face="Times New Roman">MAC</font>地址<font
face="Times New Roman">.</font>此时用<font
face="Times New Roman">show interface serial</font>命令查看该口连接的<font
face="Times New Roman">PU</font>状态<font
face="Times New Roman">.<br>
</font><strong>NOT_FOUND</strong>表示没有收到对PU轮询的应答.<br>
<strong>VERIFY</strong>表示确认缓存内信息.</p>
</li>
<li><pre><font size="4" face="宋体">在SERACHING本地MAC地址或目的MAC地址.
Router#<em><strong>show interface serial 0</strong></em>
</font><font size="4" face="Times New Roman"><strong>Serial1 is up, line protocol is up
</strong> Hardware is HD64570
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
<strong>Encapsulation SDLC</strong>, loopback not set
Router link station <strong>role: SECONDARY (DTE)</strong>
Router link station metrics:
group poll not enabled
poll-wait 40000 seconds
N1 (max frame size) 12016 bits
modulo 8
<strong>sdlc vmac: 4000.5555.00--</strong>
<strong> sdlc addr C1 state is DISCONNECT
</strong> cls_state is CLS_STN_CLOSED
VS 0, VR 0, Remote VR 0, Current retransmit count 0
Hold queue: 0/200 IFRAMEs 0/0
TESTs 0/0 XIDs 0/0, DMs 0/0 FRMRs 0/0
<strong> RNRs 0/0 SNRMs 0/0 DISC/RDs 0/0 REJs 0/0 chain: C1/C1
</strong> Last input never, output never, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
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
DCD=up DSR=up DTR=up RTS=up CTS=up</font><font size="4"
face="宋体">
</font><img src="gif\WarningA034.gif" width="28" height="28"><font
size="4" face="宋体">说明:</font><font size="4"
face="Times New Roman"><strong>
Encapsulation SDLC</strong></font><font size="4" face="宋体">---串口打包方式为SDLC.
</font><font size="4" face="Times New Roman">Router link station <strong>role: SECONDARY (DTE)</strong></font><font
size="4" face="宋体">---目前端口作secondary,由"sdlc role"命令设置.</font><font
size="4" face="Times New Roman">
<strong>sdlc vmac: 4000.5555.00--</strong></font><font size="4"
face="宋体"> ---由"sdlc vmac"设置的</font><font
size="4" face="Times New Roman">MAC</font><font size="4">地址</font><font
size="4" face="Times New Roman">.</font><font size="4">注意它的最后两位是留给</font><font
size="4" face="Times New Roman">PU</font><font size="4">地址的</font><font
size="4" face="Times New Roman">.
</font><font size="4" face="宋体">在本例中,端口MAC地址是4000.5555.00C1.</font><font
size="4" face="Times New Roman"><strong>
sdlc addr C1 state is DISCONNECT </strong></font><font size="4"
face="宋体">---该端口连接PU C1当前状态.有以下几种状态:</font><font
size="4" face="Times New Roman"><strong>
</strong></font><font color="#FF0000" size="4"
face="Times New Roman"> DISCONNECT</font><font size="4"
face="Times New Roman"><strong> </strong></font><font size="4"
face="宋体">-与PU未连接,次站没有发TEST或XID帧请求建立连接.请检查下面连接的PU是否启动
SNA进程,若是用DCE线缆连接PU请检查线缆是否正确,若是MODEM连接到远端PU上,请
检查MODEM状态灯.
</font><font color="#FF00FF" size="4" face="Times New Roman">DISCSENT</font><font
size="4" face="宋体">-路由器发送断开请求(DISC)给次站,正在等待次站应答.
</font><font color="#800080" size="4" face="Times New Roman">SNRMSENT</font><font
size="4" face="宋体">-路由器发送连接请求(SNRM)给次站,正在等待次站应答.这个状态出现在作主站的路由器
上.若是在作主站路由器上出现SNRMSENT状态,检查下端PU是否开机,路由器端口与PU上
SDLC口连接的MODEM是否已通(MODEM的DTR,CD,RXD,TXD灯应常亮).一句话,出现SNRMSENT
状态是路由器端口与它下端PU之间问题.
</font><font color="#00FF00" size="4" face="Times New Roman">CONNECT</font><font
size="4" face="宋体">-PU连接正常.路由器和它连接的次站正常连接.
</font><font color="#800000" size="4" face="Times New Roman">THEMBUSY</font><font
size="4" face="宋体">-PU发送RNR帧.次站告诉路由器暂时不能接收任何信息.
</font><font color="#00FFFF" size="4" face="Times New Roman">USBUSY</font><font
size="4" face="宋体">-路由器发送RNR帧.路由器告诉次站暂时不能接收任何信息.路由器已接收到次站对SNRM帧的
应答帧UA,试图建立SDLC或LLC2会话.
</font><font color="#808000" size="4" face="Times New Roman">BOTHBUS</font><font
size="4" face="Times New Roman">Y</font><font size="4"
face="宋体">-双方均发送RNR帧.告诉对方暂时不能接收任何信息.
</font><font color="#8080C0" size="4" face="Times New Roman">ERROR</font><font
size="4" face="宋体">-违反SDLC协议.路由器正在等待次站应答.
</font><font color="#400080" size="4" face="Times New Roman">SNRMSEEN</font><font
size="4" face="宋体">-路由器作次站,接收到SNRM帧.</font></pre>
</li>
<li><pre><font size="4" face="宋体">当双方MAC地址都找到后,开始建立链路了.</font><font
size="3">
</font><font size="3" face="宋体">Router#<em><strong>show dlsw curcuit</strong></em></font><font
size="4" face="宋体">
</font><font size="3" face="宋体">Index local addr(lsap) remote addr(dsap) state
1818740 1000.5ae3.430d(04) 4000.5555.00c1(04) <strong>CONNECTED</strong>
</font><font size="4" face="宋体">用<em>"show interface serial"</em>查看PU状态应是"CONNECT".</font></pre>
</li>
</ol>
<p><font size="3">我们也可以用"<em><strong>debug dlsw</strong></em>"获得更多的信息帮助解决网络中出现的问题.你可以记录下debug传输信息提供给你的代理.</font></p>
<p><font size="3">问题:远端没有到达本端机器.远端peer的IP地址是172.18.16.156.</font></p>
<pre><font size="4" face="宋体">建议:</font></pre>
<ol>
<li><pre><font size="4" face="宋体">检查<strong>show dlsw peer</strong>输出,我们看到:
</font><font size="3" face="宋体">Peers: state pkts-rx pkts-tx type drops ckts TCP uptime
TCP 172.18.16.156 DISCONN 0 0 conf 0 0 0 --</font></pre>
</li>
<li><font size="3">用<strong>debug dlsw peers</strong>命令决定问题:<br>
</font><font size="3" face="Times New Roman"><tt>DLSw:
action_a() attempting to connect peer 172.18.15.156(2065)</tt></font><font
size="4"> <br>
</font><font size="3" face="Times New Roman"><tt>DLSw:
action_a(): Write pipe opened for peer
172.18.15.156(2065)</tt></font><font size="4"> <br>
</font><font size="3" face="Times New Roman"><tt>DLSw:
peer 172.18.15.156(2065), old state DISCONN, new state
WAIT_RD</tt></font><font size="4"> <br>
</font><font size="3" face="Times New Roman"><tt>DLSw:
dlsw_tcpd_fini() for peer 172.18.15.156(2065)</tt></font><font
size="4"> <br>
</font><font size="3" face="Times New Roman"><tt>DLSw:
tcp fini closing connection for peer 172.18.15.156(2065)</tt></font><font
size="4"> <br>
</font><font size="3" face="Times New Roman"><tt>DLSw:
action_d(): for peer 172.18.15.156(2065)</tt></font><font
size="4"> <br>
</font><font size="3" face="Times New Roman"><tt>DLSw:
peer 172.18.15.156(2065), old state WAIT_RD, new state
DISCONN</tt></font><font size="4"> <br>
</font><font size="3" face="Times New Roman"><tt>DLSw:
Not promiscuous - Rej conn from 172.18.15.166(2065)</tt></font></li>
</ol>
<p><font size="4" face="宋体"><tt>诊断:试着打开peer
172.18.15.156,但不成功.DLSw+接收到来自172.18.15.166的打开请求,但是DLSw+拒绝它,因为这个peer没有定义.由此我们可以判断定义peer地址不正确.该peer地址为172.18.15.166就连通了.</tt></font></p>
<pre><font size="3" face="宋体">Peers: state pkts-rx pkts-tx type drops ckts TCP uptime
TCP 172.18.16.166 CONNECT 2 2 conf 0 0 0 00:224:27</font></pre>
<p>问题:SDLC设备不能连接到主机.Milan是连接SDLC设备的远端peer.</p>
<p>建议:</p>
<ol>
<li><pre><font size="4" face="宋体">用<strong>show dlsw peer</strong>命令显示peer是up的.
</font><font size="3">milan#sh dlsw peers
</font><font size="3" face="宋体">Peers: state pkts-rx pkts-tx type drops ckts TCP uptime
TCP 172.18.16.166 CONNECT 2 2 conf 0 0 0 00:224:27</font></pre>
</li>
<li><pre><font size="4" face="宋体"><strong>Show dlsw circuits</strong>没有链路产生.
</font><font size="3" face="宋体">milan#show dlsw circuits
milan#</font></pre>
</li>
<li><pre><font size="4" face="宋体"><strong>Show interface </strong>命令显示SDLC 地址状态是USBUSY,这表示我们已经成功的连接到下端路由器上.
Router#show interface serial 3/7
</font><font size="4" face="Times New Roman">Serial1 is up, line protocol is up
Hardware is HD64570
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation SDLC, loopback not set
Router link station role: SECONDARY (DTE)
Router link station metrics:
group poll not enabled
poll-wait 40000 seconds
N1 (max frame size) 12016 bits
modulo 8
sdlc vmac: 4000.5555.00--
sdlc addr C1 state is USBUSY
cls_state is CLS_STN_CLOSED
VS 0, VR 0, Remote VR 0, Current retransmit count 0
Hold queue: 0/200 IFRAMEs 0/0
TESTs 0/0 XIDs 0/0, DMs 0/1 FRMRs 20/20
RNRs 620/0 SNRMs 3/0 DISC/RDs 1/0 REJs 0/0 chain: C1/C1
sdlc addr C2 state is USBUSY
cls_state is CLS_STN_CLOSED
VS 0, VR 0, Remote VR 0, Current retransmit count 0
Hold queue: 0/200 IFRAMEs 0/0
TESTs 0/0 XIDs 0/0, DMs 0/0 FRMRs 0/0
RNRs 730/0 SNRMs 7/0 DISC/RDs 0/0 REJs 0/0 chain: C2/C2
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
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
DCD=up DSR=up DTR=up RTS=down CTS=up</font></pre>
</li>
<li><pre><font size="4" face="宋体">检查配置到达的目的MAC地址是4001.3745.1088.</font><font
size="2" face="Courier"><b><tt>
</tt></b></font><font size="3" face="Times New Roman"><tt>milan#write terminal</tt>
<tt>...</tt>
<tt>!</tt>
<tt>interface Serial3/7</tt>
<tt> description sdlc config to MVS</tt>
<tt> mtu 4400</tt>
<tt> no ip address</tt>
<tt> encapsulation sdlc</tt>
<tt> no keepalive</tt>
<tt> clockrate 9600</tt>
<tt> sdlc role primary</tt>
<tt> sdlc vmac 4000.1234.5600</tt>
<tt> sdlc N1 12016</tt>
<tt> sdlc address C1</tt>
<tt> sdlc xid C1 05DCCCC1</tt>
<tt> sdlc partner 4001.3745.1088 C1</tt>
<tt> sdlc address C2</tt>
<tt> sdlc xid C2 05DCCCC2</tt>
<tt> sdlc partner 4001.3745.1088 C2</tt>
<tt> sdlc dlsw C1 C2
!
...</tt></font></pre>
</li>
<li><pre><font size="4" face="宋体">用<strong>show dlsw reachability mac-address</strong>命令发现MAC地址没找到:
</font><font size="3" face="宋体">Router#show dlsw reachability mac-address 4001.3745.1088
</font><font size="3">DLSw MAC address reachability cache list
Mac Addr status Loc. peer/port rif
0000.810f.6500 SEARCHING LOCAL </font></pre>
</li>
<li><pre><font size="4" face="宋体">在FEP连接的路由器一端,用<strong>show dlsw reachability mac-address</strong>命令发现MAC地址没找到:
</font><font size="3" face="宋体">Router#show dlsw reachability mac-address 4001.3745.1088
</font><font size="3">DLSw MAC address reachability cache list
Mac Addr status Loc. peer/port rif
0000.810f.6500 SEARCHING REMOTE </font></pre>
</li>
<li><font size="3">显示<strong>show source-bridge</strong>,没有令牌环口走SRB:<br>
</font><font size="4" face="Courier"><tt>bolzano#show
source-bridge</tt> <br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -