Peers: state pkts-rx p
kts-tx type drops ckts TCP uptime
TCP 172.18.16.166 CONN
ECT 2 2 conf
0 0 0 00:224:27
问题:SDLC设备不能连接到主机.Milan是连接SDLC设备的远端peer.
建议:
用show dlsw peer命令显示peer是up的.
milan#sh dlsw peers
Peers: state pkts-rx p
kts-tx type drops ckts TCP uptime
TCP 172.18.16.166 CONNECT 2
2 conf 0 0 0 00:224:27
Show dlsw circuits没有链路产生.
milan#show dlsw circuits
milan#
Show interface 命令显示SDLC 地址状态是US
BUSY,这表示我们已经成功的连接到下端路由器上.
Router#show interface serial 3/7
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 retrans
mit 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 retrans
mit 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 DIS
C/RDs 0/0 REJs 0/0 chain: C2/C2
Last input never, output
never, output hang never
Last clearing of "show interface&qu
ot; counters never
Queueing strategy: fifo
Output queue 0/40, 0 dro
ps; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 b
its/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 interf
ace resets
0 output buffer failures, 0 output buffe
rs swapped out
6 carrier transitions
DCD=up DSR=up DTR=up RTS=down CTS=up
检查配置到达的目的MAC地址是4001.3745.1088.
milan#write terminal
...
!
interface Serial3/7
description sdlc config to MVS
mtu 4400
no ip address
encapsulation sdlc
no keepalive
clockrate 9600
sdlc role primary
sdlc vmac 4000.1234.5600
sdlc N1 12016
sdlc address C1
sdlc xid C1 05DCCCC1
sdlc partner 4001.3745.1088 C1
sdlc address C2
sdlc xid C2 05DCCCC2
sdlc partner 4001.3745.1088 C2
sdlc dlsw C1 C2
!
...
用show dlsw reachability
mac-address命令发现MAC地址没找
到:
Router#show dlsw reachability mac-addres
s 4001.3745.1088
DLSw MAC address reachability cache list
Mac Addr status
Loc. peer/port
rif
0000.810f.6500 SEARCHING LOCAL
在FEP连接的路由器一端,用
show dlsw reachability mac-addre
ss命令发现MAC地址没找到:
Router#show dlsw reachab
ility mac-address 4001.3745.1088
DLSw MAC address reachability cache list
Mac Addr status Loc. p
eer/port rif
0000.810f.6500 SEARCHING REMOTE
显示show source-bridge,没有令牌环口走SRB:
bolzano#show source-bridge
Global RSRB Parameters:
TCP Queue Length maximum: 100
Ring Group 100:
No TCP peername set, TCP transport disabled
Maximum output TCP queue length, per pee
r: 100
Rings:
诊断:加上"source-bridge"命令,连接正常了.
问题:同一个串口上,一个SDLC设备连接正常而其它几个不行.
建议:
用show dlsw peer命令显示peer是up的.
milan#sh dlsw peers
Peers: state pkts-rx p
kts-tx type drops ckts TCP uptime
TCP 172.18.16.166 CONNECT 2
2 conf 0 0 0 00:224:27
用show dlsw reachability mac-address命令发现MAC地址:
Router#show dlsw reachability mac-addres
s 4001.3745.1088
DLSw MAC address reachability cache list
Mac Addr status Loc. pee
r/port rif
0000.810f.6500 FOUND REMOTE 172
.18.15.166(2065)
用show dlsw circuits mac-address命令告诉两个链路连接:
milan#show dlsw circuit
mac-address 4001.3745.1088
Index local addr(lsap)
remote addr(dsap) state
250-00 4000.1234.56c1(04
) 4001.3745.1088(04) CONNECTE
D
251-00 4000.1234.56c2(04
) 4001.3745.1088(04) CKT_ESTA
BLISHED
用debug dlsw core命令输出:
milan#debug dlsw core state
DLSw core state debugging is on
milan#
DLSw: START-FSM (251-00): event

LC-Id s
tate:CKT_ESTABLISHED
DLSw: core: dlsw_action_f()
DLSw: END-FSM (251-00): state:CKT_ESTABL
ISHED->CKT_ESTABLISHED
DLSw: START-FSM (251-00)
: event

LC-Id state:CKT_ESTABLI
SHED
DLSw: core: dlsw_action_f()
DLSw: END-FSM (251-00): state:CKT_ESTABL
ISHED->CKT_ESTABLISHED
DLSw: START-FSM (251-00): event:WAN-XID
state:CKT_ESTABLISHED
DLSw: core: dlsw_action_g()
DLSw: END-FSM (251-00): state:CKT_ESTABL
ISHED->CKT_ESTABLISHED
DLSw: START-FSM (251-00)
: event

LC-Id state:CKT_ESTABLI
SHED
DLSw: core: dlsw_action_f()
DLSw: END-FSM (251-00):
state:CKT_ESTABLISHED->CKT_ES
TABLISHED
DLSw: START-FSM (251-00)
: event:DLC-Id state:CKT_ESTABLI
SHED
DLSw: core: dlsw_action_f()
DLSw: END-FSM (251-00): state:CKT_ESTABL
ISHED->CKT_ESTABLISHED
DLSw: START-FSM (251-00)
: event:DLC-Id state:CKT_ESTABLI
SHED
DLSw: core: dlsw_action_f()
DLSw: END-FSM (251-00): state:CKT_ESTABL
ISHED->CKT_ESTABLISHED
DLSw: START-FSM (251-00): event:DLC-Id s
tate:CKT_ESTABLISHED
DLSw: core: dlsw_action_f()
DLSw: END-FSM (251-00): state:CKT_ESTABL
ISHED->CKT_ESTABLISHED
DLSw: START-FSM (251-00): event:WAN-XID
state:CKT_ESTABLISHED
DLSw: core: dlsw_action_g()
DLSw: END-FSM (251-00): state:CKT_ESTABL
ISHED->CKT_ESTABLISHED
DLSw: START-FSM (251-00): event:DLC-Id s
tate:CKT_ESTABLISHED
DLSw: core: dlsw_action_f()
DLSw: END-FSM (251-00):
state:CKT_ESTABLISHED->CKT_ES
TABLISHED
诊断:DLSw试图在下端SDLC设备和FEP之间传输
的.
XID,但FEP并不建立会话.它通常是XID(IDBK/IDNUM)引起