07-23-2004 05:11 AM - edited 03-02-2019 05:16 PM
Good Day,
I tried to connect a catalyst 2501 and a 2514 using a crossed serial cable.
Originally, the 2501 was functioning as the DCE, and the connection failed. When first configured it would come up, then go down after a brief time. I tried various clock rates, changed the encapsulation and nothing.
Once I switched the cable around so that the 2514 was the DCE, it worked fine.
This is nothing critical, I'm just curious if anyone has some insights.
Here's a snippet of the debug serial interface on the problem router.
00:57:44: HD(0): New serial state = 0x0640
00:57:44: HD(0): Cable is unplugged.
00:57:44: HD(1): got an interrupt state = 0x8055
00:57:44: HD(1): New serial state = 0x0055
00:57:44: HD(1): DTR is down.
00:57:44: HD(0): New serial state = 0x0600
00:57:44: HD(0): Cable is unplugged.
00:57:44: HD(1): got an interrupt state = 0x805F
00:57:44: HD(1): New serial state = 0x005F
00:57:44: HD(1): DTR is up.
lasvegas#
00:57:53: HD(0): New serial state = 0x0600
00:57:53: HD(0): Cable is unplugged.
00:57:53: HD(1): got an interrupt state = 0x8055
00:57:53: HD(1): New serial state = 0x0055
00:57:53: HD(1): DTR is down.
00:57:53: HD(0): New serial state = 0x0600
00:57:53: HD(0): Cable is unplugged.
00:57:53: HD(1): got an interrupt state = 0x805F
00:57:53: HD(1): New serial state = 0x005F
00:57:53: HD(1): DTR is up.
lasvegas#
00:57:56: Serial1: attempting to restart
00:57:56: HD(1): Deasserting DSR, CTS and DCD
00:57:56: HD(1): Reset from 0x305C488
00:57:56: HD(1): Asserting DSR
00:57:56: HD(1): Asserting DCD and CTS
00:57:56: HD(1): Deasserting LTST
00:57:56: HD(1): Asserting DTR and RTS
Thanks
07-23-2004 05:24 AM
Can you paste in a sh controllers serial x from both sides
07-23-2004 04:10 PM
Note:
The serial connection failed on both serial ports of lasvegas
This is the DCE
lasvegas#sh cont s 0
HD unit 0, idb = 0x1B72D8, driver structure at 0x1BE8B8
buffer size 1524 HD unit 0, V.35 DCE cable, clockrate 64000
cpb = 0xE1, eda = 0x5140, cda = 0x5000
RX ring with 16 entries at 0xE15000
00 bd_ptr=0x5000 pak=0x1C017C ds=0xE18908 status=80 pak_size=0
01 bd_ptr=0x5014 pak=0x1C0448 ds=0xE18FC4 status=80 pak_size=0
02 bd_ptr=0x5028 pak=0x1C0714 ds=0xE19680 status=80 pak_size=0
03 bd_ptr=0x503C pak=0x1C09E0 ds=0xE19D3C status=80 pak_size=0
04 bd_ptr=0x5050 pak=0x1C0CAC ds=0xE1A3F8 status=80 pak_size=0
05 bd_ptr=0x5064 pak=0x1C0F78 ds=0xE1AAB4 status=80 pak_size=0
06 bd_ptr=0x5078 pak=0x1C1244 ds=0xE1B170 status=80 pak_size=0
07 bd_ptr=0x508C pak=0x1C1510 ds=0xE1B82C status=80 pak_size=0
08 bd_ptr=0x50A0 pak=0x1C17DC ds=0xE1BEE8 status=80 pak_size=0
09 bd_ptr=0x50B4 pak=0x1C1AA8 ds=0xE1C5A4 status=80 pak_size=0
10 bd_ptr=0x50C8 pak=0x1C1D74 ds=0xE1CC60 status=80 pak_size=0
11 bd_ptr=0x50DC pak=0x1C2040 ds=0xE1D31C status=80 pak_size=0
12 bd_ptr=0x50F0 pak=0x1C230C ds=0xE1D9D8 status=80 pak_size=0
13 bd_ptr=0x5104 pak=0x1C25D8 ds=0xE1E094 status=80 pak_size=0
14 bd_ptr=0x5118 pak=0x1C28A4 ds=0xE1E750 status=80 pak_size=0
15 bd_ptr=0x512C pak=0x1C2B70 ds=0xE1EE0C status=80 pak_size=0
16 bd_ptr=0x5140 pak=0x1C2E3C ds=0xE1F4C8 status=80 pak_size=0
cpb = 0xE1, eda = 0x5800, cda = 0x5800
TX ring with 1 entries at 0xE15800
00 bd_ptr=0x5800 pak=0x000000 ds=0xE156A4 status=80 pak_size=19
01 bd_ptr=0x5814 pak=0x000000 ds=0xE151E4 status=80 pak_size=19
0 missed datagrams, 0 overruns
0 bad datagram encapsulations, 0 memory errors
0 transmitter underruns
0 residual bit errors
This is the DTE
millvalley#sh cont s 1
HD unit 1, idb = 0x26AFA8, driver structure at 0x24B0B8
buffer size 1524 HD unit 1, V.35 DTE cable
cpb = 0xE3, eda = 0x940, cda = 0x800
RX ring with 16 entries at 0xE30800
00 bd_ptr=0x0800 pak=0x273D40 ds=0xE347C4 status=80 pak_size=0
01 bd_ptr=0x0814 pak=0x274024 ds=0xE34E80 status=80 pak_size=0
02 bd_ptr=0x0828 pak=0x274308 ds=0xE3553C status=80 pak_size=0
03 bd_ptr=0x083C pak=0x2745EC ds=0xE35BF8 status=80 pak_size=0
04 bd_ptr=0x0850 pak=0x2748D0 ds=0xE362B4 status=80 pak_size=0
05 bd_ptr=0x0864 pak=0x274BB4 ds=0xE36970 status=80 pak_size=0
06 bd_ptr=0x0878 pak=0x274E98 ds=0xE3702C status=80 pak_size=0
07 bd_ptr=0x088C pak=0x27517C ds=0xE376E8 status=80 pak_size=0
08 bd_ptr=0x08A0 pak=0x275460 ds=0xE37DA4 status=80 pak_size=0
09 bd_ptr=0x08B4 pak=0x275744 ds=0xE38460 status=80 pak_size=0
10 bd_ptr=0x08C8 pak=0x275A28 ds=0xE38B1C status=80 pak_size=0
11 bd_ptr=0x08DC pak=0x275D0C ds=0xE391D8 status=80 pak_size=0
12 bd_ptr=0x08F0 pak=0x275FF0 ds=0xE39894 status=80 pak_size=0
13 bd_ptr=0x0904 pak=0x2762D4 ds=0xE39F50 status=80 pak_size=0
14 bd_ptr=0x0918 pak=0x2765B8 ds=0xE3A60C status=80 pak_size=0
15 bd_ptr=0x092C pak=0x27689C ds=0xE3ACC8 status=80 pak_size=0
16 bd_ptr=0x0940 pak=0x276B80 ds=0xE3B384 status=80 pak_size=0
cpb = 0xE3, eda = 0x1000, cda = 0x1000
TX ring with 1 entries at 0xE31000
00 bd_ptr=0x1000 pak=0x000000 ds=0x000000 status=80 pak_size=0
01 bd_ptr=0x1014 pak=0x000000 ds=0x000000 status=80 pak_size=0
0 missed datagrams, 0 overruns
0 bad datagram encapsulations, 0 memory errors
0 transmitter underruns
0 residual bit errors
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide