Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

problem with DLSW+

I have the following topology:

AS400 -- Cisco 2811 -- WAN -- Cisco 1841 -- Control Unit

Configuration of Cisco 2811:

!

interface Loopback0

ip address 192.168.153.100 255.255.255.255

!

dlsw local-peer peer-id 192.168.153.100 promiscuous

!

interface Serial0/2/0

description AS400

no ip address

encapsulation sdlc

no keepalive

nrzi-encoding

clockrate 19200

sdlc role secondary

sdlc vmac 4053.9010.0100

sdlc address 01

sdlc xid 01 056E9EF0

sdlc partner 4053.9011.2100 01

sdlc dlsw 1

!

Configuration of Cisco 1841:

!

interface Loopback0

ip address 192.168.153.112 255.255.255.255

!

dlsw local-peer peer-id 192.168.153.112

dlsw remote-peer 0 tcp 192.168.153.100

!

interface Serial0/1/0

description Control Unit

no ip address

encapsulation sdlc

no keepalive

nrzi-encoding

clockrate 9600

sdlc role primary

sdlc vmac 4053.9011.2100

sdlc poll-pause-timer 100

sdlc address 01

sdlc xid 01 05F00001

sdlc partner 4053.9010.0100 01

sdlc dlsw 1

!

On Cisco 1841:

BCS-SILC_CASALETTO#sh int s0/1/0

Serial0/1/0 is up, line protocol is up

Hardware is GT96K Serial

Description: Control Unit

MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation SDLC, loopback not set

Router link station role: PRIMARY (DCE)

Router link station metrics:

slow-poll 10 seconds

T1 (reply time out) 3000 milliseconds

N1 (max frame size) 12016 bits

N2 (retry count) 20

poll-pause-timer 100 milliseconds

poll-limit-value 1

k (windowsize) 7

modulo 8

sdlc vmac: 4053.9011.21--

sdlc addr 01 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 10/10 XIDs 0/0, DMs 0/0 FRMRs 0/0

RNRs 1404306/0 SNRMs 1/0 DISC/RDs 0/0 REJs 0/0

Poll: clear, Poll count: 0, ready for poll, chain: 01/01

Last input never, output 00:00:00, output hang never

Last clearing of "show interface" counters 1d19h

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: fifo

Output queue: 0/40 (size/max)

5 minute input rate 0 bits/sec, 9 packets/sec

5 minute output rate 0 bits/sec, 9 packets/sec

1404317 packets input, 2808894 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

1404317 packets output, 2808894 bytes, 0 underruns

0 output errors, 0 collisions, 2 interface resets

0 output buffer failures, 0 output buffers swapped out

0 carrier transitions

DCD=up DSR=up DTR=up RTS=up CTS=up

With this configuration AS400 is not able to open dlsw circuit with Control Unit.

Could someone help me?

Thanks

Stefano

6 REPLIES

Re: problem with DLSW+

Hello Stefano,

double-check the MAC addresses configured. Also, I am not sure if the difference in clock rates might be a problem, you might want to try and set both sides to the same value...

Have a look at this document as well:

Troubleshooting DLSw: SDLC

http://www.cisco.com/en/US/tech/tk331/tk336/technologies_tech_note09186a0080094cef.shtml#t1

Let me know if you need more help...

Regards,

GNT

New Member

Re: problem with DLSW+

Hi,

I modified clockrate on Cisco 1841 serial interface in order to have the same value on both sides, but it is still not working.

The MAC addresses configured are virtual MAC addresses I randomly picked.

Thanks a lot for the troubleshooting doc.

I activate debug sdlc packets/events on both sides.

At AS400 side I have no message, at Control Unit side I have the following log messages on Cisco 1841:

May 2 10:48:09.588: SDLC: Sending RR/RNR at location 4, Serial0/1/0 1

May 2 10:48:09.588: Serial0/1/0: SDLC O 01 USBUSY (2) RNR P/F 0 s: 0 r: 0 rr: 0

May 2 10:48:09.588: Serial0/1/0 SDLC output 0115

May 2 10:48:10.504: Serial0/1/0: SDLC I 01 USBUSY (2) RR P/F 0, [VR: 0 VS: 0]

May 2 10:48:10.504: Serial0/1/0 SDLC input 0111

May 2 10:48:10.928: Serial0/1/0: SDLC T 01 USBUSY 0x13578B9C P 0

May 2 10:48:10.928: SDLC: Sending RR/RNR at location 4, Serial0/1/0 1

May 2 10:48:10.928: Serial0/1/0: SDLC O 01 USBUSY (2) RNR P/F 0 s: 0 r: 0 rr: 0

May 2 10:48:10.928: Serial0/1/0 SDLC output 0115

May 2 10:48:10.936: Serial0/1/0: SDLC I 01 USBUSY (2) RR P/F 0, [VR: 0 VS: 0]

May 2 10:48:10.936: Serial0/1/0 SDLC input 0111

May 2 10:48:11.036: Serial0/1/0: SDLC T 01 USBUSY 0x13578D4C P 0

May 2 10:48:11.036: SDLC: Sending RR/RNR at location 4, Serial0/1/0 1

May 2 10:48:11.036: Serial0/1/0: SDLC O 01 USBUSY (2) RNR P/F 0 s: 0 r: 0 rr: 0

May 2 10:48:11.036: Serial0/1/0 SDLC output 0115

May 2 10:48:11.040: Serial0/1/0: SDLC I 01 USBUSY (2) RR P/F 0, [VR: 0 VS: 0]

May 2 10:48:11.040: Serial0/1/0 SDLC input 0111

Best regards

Stefano

Silver

Re: problem with DLSW+

I hope routing is all set and you are able to ping the two loopback addresses.

What does show dlsw look like on both sides?

Thanks.

Hall of Fame Super Gold

Re: problem with DLSW+

Stefano

I am a little confused. The control unit connection is serial/SDLC and the AS400 connection is serial/SDLC. This leads me to believe that the definition in the AS400 for the remote device is an SDLC definition. So why are the router configurations specifying MAC addresses? The router configs look like they are trying to translate an SDLC connection to a LAN connection but it seems that both ends are expecting SDLC.

In a traditional SNA SDLC connection both ends of the connection would have the same clock rate. One of the advantages of DLSW is that it can buffer and compensate for clocking differences between the two ends. I doubt that the different clock rates are the problem.

The suggestion about checking routing is good and about pinging is good. In particular you should do an extended ping (on both ends to be thorough) which specifies the remote loopback address as the destination and specifies the local loopback as the source. And the output of show DLSW could be helpful.

HTH

Rick

New Member

Re: problem with DLSW+

Hi Rick,

routing is working well and I can ping from Cisco 1841 loopback address to Cisco 2811 loopback address and viceversa.

Moreover, from 'sh dlsw peer' on both sides I can see that dlsw peers are connect:

BCS-SILC_TRESCORE1#sh dlsw pee

Peers: state pkts_rx pkts_tx type drops ckts TCP uptime

TCP 192.168.153.112 CONNECT 12956 603419 prom 0 0 0 3d18h

Total number of connected peers: 1

Total number of connections: 1

BCS-SILC_CASALETTO#sh dlsw pee

Peers: state pkts_rx pkts_tx type drops ckts TCP uptime

TCP 192.168.153.100 CONNECT 603310 12958 conf 0 0 0 3d18h

Total number of connected peers: 1

Total number of connections: 1

I modified clockrate on Cisco 1841 serial interface in order to have the same value on both sides, but it is still not working.

Look at serial interface configuration on Cisco 2811:

interface Serial0/2/0

description AS400

no ip address

encapsulation sdlc

no keepalive

nrzi-encoding

clockrate 19200

sdlc role secondary

sdlc vmac 4053.9010.0100

sdlc address 01

sdlc xid 01 056E9EF0

sdlc partner 4053.9011.2100 01

sdlc dlsw 1

As you can see remote device is configured as sdlc remote device with commands 'sdlc address 01' and 'sdlc xid 01 056E9EF0'. The MAC addresses configured are virtual MAC addresses I randomly picked and they are used in sdlc partner definition.

I can't understand when you say that the router configs look like they are trying to translate an SDLC connection to a LAN connection...

Best regards

Stefano

New Member

Re: problem with DLSW+

Hi,

routing is working well and I can ping from Cisco 1841 loopback address to Cisco 2811 loopback address and viceversa.

Moreover, from 'sh dlsw peer' on both sides I can see that dlsw peers are connect:

BCS-SILC_TRESCORE1#sh dlsw pee

Peers: state pkts_rx pkts_tx type drops ckts TCP uptime

TCP 192.168.153.112 CONNECT 12956 603419 prom 0 0 0 3d18h

Total number of connected peers: 1

Total number of connections: 1

BCS-SILC_CASALETTO#sh dlsw pee

Peers: state pkts_rx pkts_tx type drops ckts TCP uptime

TCP 192.168.153.100 CONNECT 603310 12958 conf 0 0 0 3d18h

Total number of connected peers: 1

Total number of connections: 1

Anyway the Serial interface on Cisco 2811 is still down/down (even if clockrate and duplex mode match values configured o AS400) and the sdlc status is still CLS_STN_CLOSED. The Serial interface on Cisco 1841 is up/up, Control Unit replies to sdlc test packets but the state is still CLS_STN_CLOSED

Best regards

Stefano

381
Views
3
Helpful
6
Replies
CreatePlease to create content