📄 troubleshooting.htm
字号:
<tt>Global RSRB Parameters:</tt> <br>
<tt>TCP Queue Length maximum: 100<br>
Ring Group 100:</tt> <br>
<tt>No TCP peername set, TCP transport disabled</tt> <br>
<tt>Maximum output TCP queue length, per peer: 100</tt> <br>
<tt>Rings:</tt></font></li>
</ol>
<p><font size="3">诊断:加上"source-bridge"命令,连接正常了.</font></p>
<p><font size="3">问题:同一个串口上,一个SDLC设备连接正常而其它几个不行.</font></p>
<p><font size="3">建议:</font></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 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 FOUND REMOTE 172.18.15.166(2065)</font></pre>
</li>
<li><pre><font size="3">用<strong>show dlsw circuits mac-address</strong>命令告诉两个链路连接:
</font><font size="3" face="Courier"><tt>milan#show dlsw circuit mac-address 4001.3745.1088</tt>
<tt>Index local addr(lsap) remote addr(dsap) state
250-00 4000.1234.56c1(04) 4001.3745.1088(04) CONNECTED</tt>
<tt>251-00 4000.1234.56c2(04) 4001.3745.1088(04) CKT_ESTABLISHED
</tt></font></pre>
</li>
<li><font size="3">用<strong>debug dlsw core</strong>命令输出:<br>
</font><font size="3" face="Courier"><tt>milan#debug dlsw
core state</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw core state
debugging is on</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>milan#</tt></font><font
size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: START-FSM
(251-00): event:DLC-Id state:CKT_ESTABLISHED</tt></font><font
size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: core:
dlsw_action_f()</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED <br>
DLSw: START-FSM (251-00): event:DLC-Id
state:CKT_ESTABLISHED</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: core:
dlsw_action_f()</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED <br>
DLSw: START-FSM (251-00): event:WAN-XID
state:CKT_ESTABLISHED</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: core:
dlsw_action_g()</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED <br>
DLSw: START-FSM (251-00): event:DLC-Id
state:CKT_ESTABLISHED</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: core:
dlsw_action_f()</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED <br>
DLSw: START-FSM (251-00): event:DLC-Id
state:CKT_ESTABLISHED</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: core:
dlsw_action_f()</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED <br>
DLSw: START-FSM (251-00): event:DLC-Id
state:CKT_ESTABLISHED</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: core:
dlsw_action_f()</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED <br>
DLSw: START-FSM (251-00): event:DLC-Id
state:CKT_ESTABLISHED</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: core:
dlsw_action_f()</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED <br>
DLSw: START-FSM (251-00): event:WAN-XID
state:CKT_ESTABLISHED</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: core:
dlsw_action_g()</tt></font><font size="3"> <br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED <br>
DLSw: START-FSM (251-00): event:DLC-Id
state:CKT_ESTABLISHED</tt></font><font size="3"> </font><font
size="3" face="Courier"><tt><br>
DLSw: core: dlsw_action_f()</tt></font><font size="3"> </font><font
size="4"><br>
</font><font size="3" face="Courier"><tt>DLSw: END-FSM
(251-00): state:CKT_ESTABLISHED->CKT_ESTABLISHED </tt></font></li>
</ol>
<p><font size="3">诊断:DLSw试图在下端SDLC设备和FEP之间传输XID,但FEP并不建立会话.它通常是XID(IDBK/IDNUM)引起的.<br>
在配置中加上"sdlc xid"后连接正常.</font></p>
<p><a name="ee9"></a><font color="#808080" size="3"><em><strong>STUN
Troubleshooting</strong></em></font></p>
<ol>
<li><pre><font size="4">确定stun peer连通
</font>rick#sh stun peer
This peer: 10.17.5.2
*Serial2 (group 1 [basic])
state rx_pkts tx_pkts drops
all TCP 10.17.5.2 <strong>open</strong> 5729 5718 0
<font size="4" face="宋体">若状态不是open,应是TCP/IP连接问题,请参阅TCP/IP Troubleshooting.</font></pre>
</li>
<li>用show interface确定路由器和主机之间serial is
up,line protocol is up.<br>
若是"down/down"请检查线缆,正确使用DTE和DCE
Cable.<br>
若serial一会儿up,一会儿down,不断反复.你的主机可能配置成半双工的而不是全双工的,使用MSD时路由器没有设成半双工的.<br>
</li>
<li>如果serail is up,但line protocol is down.最大可能是一端是NRZ编码,另一端是NRZI编码.用"nrzi-encoding"命令设置NRZI编码.设定编码方式与大机相同.<br>
</li>
<li>一旦line操作正常,最常出现的问题就是SDLC地址不对.SDLC地址要与主机PU地址一致.如果收到下面信息就表示SDLC地址与主机PU地址不匹配.<br>
Received data from wrong address! Expect for output
address C2/Got C4.</li>
</ol>
<p><em><strong>Debug sdlc<br>
</strong></em>当工作正常时,debug输出信息顺序:<br>
SDLC Primary :<br>
DISCONNECT-->SDLC PRI WAIT-->NET UP WAIT-->CONNECT<br>
SDLC Secondary :<br>
DISCONNECT-->NET UP WAIT-->SDLC SECWAIT-->CONNECT</p>
<p><a name="ee10"></a><font color="#808080" size="3"><em><strong>CIP
Troubleshooting</strong></em></font></p>
<ol>
<li><pre><font size="4">用"show interface channel 3/0"显示物理通道端口状态.若channel3/0 is up,line protocol is up.
表示物理接口连接正常.否则请检查物理接口,线缆,bypass等是否连接正确.
</font>Router#sh int c3/0
Channel3/0 is up, line protocol is up
Hardware is cyBus Channel Interface
MTU 4096 bytes, BW 36864 Kbit, DLY 270 usec, rely 255/255, load 1/255
Encapsulation CHANNEL, loopback not set
PCA adapter card
Data transfer rate 4.5 Mbytes, number of subchannels 1
Last input never, output never, output hang never
Last clearing of "show interface" counters never
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
1677 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
1595 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 5 interface resets, 0 restarts
0 output buffer failures, 0 output buffers swapped out</pre>
</li>
<li><pre><font size="4">用"show interface channel 3/2"显示逻辑通道口状态.
</font>Router#sh int ch3/2
Channel3/2 is up, line protocol is up
Hardware is cyBus Channel Interface
MTU 4472 bytes, BW 98304 Kbit, DLY 100 usec, rely 255/255, load 1/255
Encapsulation CHANNEL, loopback not set
Virtual interface
Last input 0:01:36, output 0:01:26, output hang never
Last clearing of "show interface" counters never
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
19090 packets input, 686391 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
20314 packets output, 754513 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets, 0 restarts
0 output buffer failures, 0 output buffers swapped out</pre>
</li>
<li><pre><font size="4">用"show ext ch 3/0 csna oper"显示CSNA通道连接设备状态.
"stat"替代"oper"获得CSNA通道连接设备的统计值.
确认CSNA通道连接设备状态为"setupComplet".
</font>Router#sh ext c3/0 csna
Path Dv maxpiu time-delay length-delay
CSNA 0100 E1 20470 10 20470
Router#sh ext c3/0 csna oper
Path Dv Status SlowDown maxpiu time-delay length-delay
CSNA 0100 E1 setupComplet off 20470 10 20470</pre>
</li>
<li><pre><font size="4">用"show ext ch 3/2 conn llc"命令确定SAPs值和CIP上打开的连接.
确认定义在XCA中的正确的SAP值在CIP internal Token Ring LAN adapter中已打开.
</font>SHANXI2#sh ext c3/2 conn llc
LAN Token 0 Adapter 1 5808.0100.0000
No SAPs open on this interface
Total : SAPs opened = 0 Connections active = 0 </pre>
</li>
<li><pre><font size="4">如果CSNA通道连接设备状态是"setupComplet",正确的SAP值(i.e.,SAP 08)打开在正确的CIP internal
MAC adapter上,进入第七步.否则,问题可能是PATH/DEVICE或XCA Major Node.请检查通道地址定义是否
正确.若PATH/DEVICE正确,再在主机上"v net,act,id=<xcamajnode>"命令确认XCA Major Node激活.</font>
Router#sh ext c3/0 csna oper
Path Dv Status SlowDown maxpiu time-delay length-delay
CSNA 0100 E1 Close off 20470 10 20470</pre>
</li>
<li>用"debug source-bridge"命令确定是否产生探测帧.如果确定以CIP
internal MAC地址为目的的探测帧被接收到,请打开"debug
channel vlan".<br>
</li>
<li><pre><font size="4">用"show ext ch 3/2 lan"命令显示CIP internal MAC adapters.核实CIP internal MAC adapter被
CIP microcode确认.</font>
router#debug channel vlan
router#show ext ch 3/2 lan
Lan TokenRing 0
source-bridge 1000 1 100
Adapno Mac Address Name Vcnum
0 4000.1234.0001 544 0041 <b>ACK</b> ... ... ... ...... INU</pre>
</li>
<li>如果CIP internal MAC adapters没有收到CIP的应答,(在"show
ext ch 3/2 lan"显示不是ACK而是CRE或PNDIND),表明CIP
microcode没有承认CIP adapter配置命令.在这种情况下,RP不发送探测帧给CIP.<br>
</li>
<li>如果CIP internal MAC adapters已经接收到CIP的应答,用"show
ext ch 3/2 llc stat 4000.0008.0000",4000.0008.0000是CIP的internal
MAC address,检查是否收到CIP MAC adapter的检测命令和应答.<br>
</li>
<li>如果正常,再用"show ext ch 3/2 llc stat
4000.0008.0000 08"命令确认SAP是否接收到XIDs和应答.如果没有应答,可能是Switched
Major Node没被激活,或IDBLK/IDNUM不正确,或PU被占用.<br>
</li>
<li><pre><font size="4">在下端路由器上"show dlsw"命令查看串口连接的SNA end station状态.参阅DLSw+ Troubleshooting.</font></pre>
</li>
<li><pre><font size="4">用"show llc2"显示当前已建立的LLC2链接.</font>
SHANXI2#sh llc
LLC2 Connections: total of 1 connections
Channel1/2 DTE: 5808.0100.0000 4000.4700.10c1 04 04 state NORMAL
V(S)=38, V(R)=38, Last N(R)=38, Local window=7, Remote Window=127
akmax=3, n2=8, Next timer in 7520
xid-retry timer 0/0 ack timer 0/1000
p timer 0/1000 idle timer 7520/10000
rej timer 0/3200 busy timer 0/9600
akdelay timer 0/100 txQ count 0/200
RIF: 0630.0641.0020</pre>
</li>
</ol>
<hr>
<p><img src="zijin%20copywrite.GIF" width="600" height="48"></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -