Serial Link Problems

Hi,

Im doing my first basic lab setup with my gear, and I cant get the serial ports to stay up.

The lab test im doing is only a basic one:-

Router1 (R1) DTE END Set Serial to 172.30.102.1 255.255.255.0 Set Eth0 to 172.30.101.1 255.255.255.0 >>> Switch 172.30.101.101

Router2 (R2) DCE END Set Serial to 172.30.120.2 255.255.255.0 Set eth0 to 173.30.102.2 255.255.255.0 Set clock rate 56000

I have managed to do the config for this, and set no shutdown on R1 (Ether0 and Ser0) - R2 (Ser0)

Any ideas ?

Cheers

R1#sh ip interface brief Interface IP-Address OK? Method Status Protocol Ethernet0 172.30.101.1 YES manual up up Serial0 172.30.102.1 YES manual up down

R2#sh ip int brief Interface IP-Address OK? Method Status Protocol Ethernet0 172.30.103.2 YES manual administratively down down Ethernet1 unassigned YES unset administratively down down Serial0 172.30.102.3 YES manual up down

I can ping or do anything.

Reply to
boxers999
Loading thread data ...

If you do a (show controllers ser 0) you may see something like this. show controllers ser 0 CD2430 Slot 1, Port 1, Controller 0, Channel 1, Revision 19 Channel mode is synchronous serial idb 0x8375F8AC, buffer size 1524, V.35 DCE cable, clockrate 128000

Also I can't a see clock rate command in the config. Peter.

Reply to
Peter Fackrell

I did sh controllers ser 0

And I have repeatedly set the clockrate but is not there when I do sh run ?

Cheers

R1#show controllers ser 0

QUICC Serial unit 0 idb at 0x296986C, driver data structure at 0x296B4B8 SCC Registers: General [GSMR]=0x2:0x00000030, Protocol-specific [PSMR]=0x0 Events [SCCE]=0x0000, Mask [SCCM]=0x001F, Status [SCCS]=0x0000 Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E Interrupt Registers: Config [CICR]=0x00368461, Pending [CIPR]=0x05804004 Mask [CIMR]=0xC8000012, In-srv [CISR]=0x00000000 Command register [CR]=0x690 Port A [PADIR]=0x4000, [PAPAR]=0xCEC3 [PAODR]=0x0000, [PADAT]=0x31BE Port B [PBDIR]=0x00F13E, [PBPAR]=0x0010CE [PBODR]=0x000000, [PBDAT]=0x0348DD Port C [PCDIR]=0x080A, [PCPAR]=0x0000 [PCSO]=0x0030, [PCDAT]=0x03C4, [PCINT]=0x0000 DCE V.35 serial cable attached.

SCC GENERAL PARAMETER RAM (at 0xFF00F00) Rx BD Base [RBASE]=0x560, Fn Code [RFCR]=0x18 Tx BD Base [TBASE]=0x5A0, Fn Code [TFCR]=0x18 Max Rx Buff Len [MRBLR]=1528 Rx State [RSTATE]=0x0, BD Ptr [RBPTR]=0x560 Tx State [TSTATE]=0x0, BD Ptr [TBPTR]=0x5A0

SCC HDLC PARAMETER RAM (at 0xFF00F38) CRC Preset [C_PRES]=0xFFFF, Mask [C_MASK]=0xF0B8 Errors: CRC [CRCEC]=0, Aborts [ABTSC]=0, Discards [DISFC]=0 Nonmatch Addr Cntr [NMARC]=0 Retry Count [RETRC]=0 Max Frame Length [MFLR]=1526 Rx Int Threshold [RFTHR]=0, Frame Cnt [RFCNT]=0 User-defined Address 0000/0000/0000/0000 User-defined Address Mask 0x0000

buffer size 1524 BRGC1=101B0, BRGC2=0, BRGC3=0, BRGC4=0 modem_signal_addr FF01566 MASK: DSR=1, DTR=2,RTS=8.CTS=400,DCD=800 txbrgc=FF015FC, rxbrgc=FF015FC BRG [DTE]: rx_sicr_clk=7, tx_sicr_clk=6 BRG [DCE]: rx_sicr_clk=7, tx_sicr_clk=3 CLK SRC: sync=4000, async=4000 RX ring with 8 entries at 0xFF00560, Buffer size 1524 Rxhead = 0xFF00560 (0), Rxp = 0x296B4D4 (0)

00 pak=0x2916710 buf=0x2DB3480 status=9000 pak_size=0 01 pak=0x2A894E4 buf=0x2DB2DC4 status=9000 pak_size=0 02 pak=0x2916460 buf=0x2DB2708 status=9000 pak_size=0 03 pak=0x296C51C buf=0x2DB204C status=9000 pak_size=0 04 pak=0x296C26C buf=0x2D97C54 status=9000 pak_size=0 05 pak=0x296BFBC buf=0x2D97598 status=9000 pak_size=0 06 pak=0x2AC3D14 buf=0x2D96EDC status=9000 pak_size=0 07 pak=0x295D158 buf=0x2D96820 status=B000 pak_size=0

TX ring with 2 entries at 0xFF005A0, tx_count = 2 tx_head = 0xFF005A0 (0), head_txp = 0x296B530 (0) tx_tail = 0xFF005A0 (0), tail_txp = 0x296B530 (0)

00 pak=0x29F60A4 buf=0x2DB0BF4 status=9C00 pak_size=284 01 pak=0x29F6604 buf=0x2DB1984 status=BC00 pak_size=284 QUICC SCC specific errors: 0 input aborts on receiving flag sequence 0 throttles, 0 enables 0 overruns 0 transmitter underruns 0 transmitter CTS losts

R1#

R2#sh controllers ser 0

QUICC Serial unit 0 idb at 0x296E350, driver data structure at 0x296FF9C SCC Registers: General [GSMR]=0x2:0x00000030, Protocol-specific [PSMR]=0x0 Events [SCCE]=0x0000, Mask [SCCM]=0x001F, Status [SCCS]=0x0000 Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E Interrupt Registers: Config [CICR]=0x00368461, Pending [CIPR]=0x01800600 Mask [CIMR]=0x10000850, In-srv [CISR]=0x00000000 Command register [CR]=0x690 Port A [PADIR]=0x0000, [PAPAR]=0xFCF3 [PAODR]=0x0000, [PADAT]=0x47AE Port B [PBDIR]=0x00F13E, [PBPAR]=0x0010CE [PBODR]=0x000000, [PBDAT]=0x0248DD Port C [PCDIR]=0x0087, [PCPAR]=0x0008 [PCSO]=0x0E30, [PCDAT]=0x0000, [PCINT]=0x0000 DTE V.35 serial cable attached.

SCC GENERAL PARAMETER RAM (at 0xFF00E00) Rx BD Base [RBASE]=0x500, Fn Code [RFCR]=0x18 Tx BD Base [TBASE]=0x540, Fn Code [TFCR]=0x18 Max Rx Buff Len [MRBLR]=1528 Rx State [RSTATE]=0x0, BD Ptr [RBPTR]=0x500 Tx State [TSTATE]=0x0, BD Ptr [TBPTR]=0x540

SCC HDLC PARAMETER RAM (at 0xFF00E38) CRC Preset [C_PRES]=0xFFFF, Mask [C_MASK]=0xF0B8 Errors: CRC [CRCEC]=0, Aborts [ABTSC]=0, Discards [DISFC]=0 Nonmatch Addr Cntr [NMARC]=0 Retry Count [RETRC]=0 Max Frame Length [MFLR]=1526 Rx Int Threshold [RFTHR]=0, Frame Cnt [RFCNT]=0 User-defined Address 0000/0000/0000/0000 User-defined Address Mask 0x0000

buffer size 1524 BRGC1=101B0, BRGC2=0, BRGC3=0, BRGC4=0 modem_signal_addr FF01566 MASK: DSR=40, DTR=80,RTS=4.CTS=100,DCD=200 txbrgc=FF015F8, rxbrgc=FF015F8 BRG [DTE]: rx_sicr_clk=5, tx_sicr_clk=4 BRG [DCE]: rx_sicr_clk=5, tx_sicr_clk=2 CLK SRC: sync=4000, async=4000 RX ring with 8 entries at 0xFF00500, Buffer size 1524 Rxhead = 0xFF00500 (0), Rxp = 0x296FFB8 (0)

00 pak=0x2AD4078 buf=0x2C2107C status=9000 pak_size=0 01 pak=0x2AD3DC8 buf=0x2C209C0 status=9000 pak_size=0 02 pak=0x2916460 buf=0x2C20304 status=9000 pak_size=0 03 pak=0x2A8E420 buf=0x2C1D3E0 status=9000 pak_size=0 04 pak=0x2AC9DEC buf=0x2C1CD24 status=9000 pak_size=0 05 pak=0x2AC9B3C buf=0x2C1C668 status=9000 pak_size=0 06 pak=0x2AC988C buf=0x2C1BFAC status=9000 pak_size=0 07 pak=0x2976A60 buf=0x2C1FC48 status=B000 pak_size=0

TX ring with 2 entries at 0xFF00540, tx_count = 2 tx_head = 0xFF00540 (0), head_txp = 0x2970014 (0) tx_tail = 0xFF00540 (0), tail_txp = 0x2970014 (0)

00 pak=0x29FAF6C buf=0x2C37E7C status=9C00 pak_size=275 01 pak=0x29FACBC buf=0x2C377B4 status=BC00 pak_size=275 QUICC SCC specific errors: 0 input aborts on receiving flag sequence 0 throttles, 0 enables 0 overruns 0 transmitter underruns 0 transmitter CTS losts

R2#

Reply to
boxers999

Below is me setting the clock rate and then showing the running conf !

clock rate isnt in the conf !

R2(config)# R2(config)# R2(config)#int ser 0 R2(config-if)#clock rate 56000 R2(config-if)#^Z R2#

03:17:38: %SYS-5-CONFIG_I: Configured from console by console R2#sh run Building configuration...

Current configuration : 549 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R2 ! enable secret 5 $1$1L2p$/Vm50sJzAr1dEsVscNvp70 enable password hello ! ip subnet-zero ! ! ! ! interface Ethernet0 ip address 172.30.103.2 255.255.255.0 shutdown ! interface Ethernet1 no ip address shutdown ! interface Serial0 ip address 172.30.102.3 255.255.255.0 no keepalive ! ip classless no ip http server ! ! line con 0 password hello logging synchronous login line vty 0 4 password hello login ! end

R2#

Reply to
boxers999

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Your "show controller" output indicates that it is R1 that is the DCE contrary to what your diagram indicates. Issue the "clock rate" command on the serial interface on R1 and see if the interfaces come up and ping fine.

Cisco da Gama

formatting link

Reply to
ciscodagama

Thanks for the help,

There is something very strange going on here. I think the cable is moulded wrong. I have the plug that says DTE in the router and now the show controllers ser 0 is saying that its DCE !!!!

It still wont ping, yet R1 accepted a clock rate as you stated.

R1#sh ip interface brief Interface IP-Address OK? Method Status Protocol Ethernet0 172.30.101.1 YES manual up down Serial0 172.30.102.1 YES manual up up

Reply to
boxers999

The routers are not on the same network. R1 Serial port is on the

172.30.102.x/24 network, while R2 the Serial port is on the 172.30.120.x/24 network. They will not communicate here.

Just a thought.

Reply to
Pancho

"boxers999" skrev i en meddelelse news: snipped-for-privacy@i40g2000cwc.googlegroups.com...

Looks more to me that you might have a subnetting problem:

The serial links needs to within the same subnet.

Try: RT1: Serial connected to serial on RT2:

172.30.102.1 255.255.255.0

RT2 Serial connected to serial on RT1

172.30.102.2 255.255.255.0

And remember to set the clock rate at the correct end :-)

Reply to
Martin Kiefer

If ping not working try doing, show cdp neighbors and show cdp neighbors detail see what output you get. Peter.

Reply to
Peter Fackrell

A simple trick there if you're unsure which end is which is just to set it at both ends.

BernieM

Reply to
BernieM

Fantastic !!!

Its running, but the most confusing part of this is that the serial cable is wrong. The plug that is moulded on the end has DTE in half inch letters (Moulded) on it yet its the DCE end with the clock rate running !!!!!

This explains why I have been struggling to get a connection and a ping working.

I also learnt how useful the show controller command was !

Many thanks guys, for the help.

Reply to
boxers999

Just to clarify, I now have another DCE/DTE cable and the other one is definitely labeled wrong.

Reply to
boxers999

I think I've got one of those to. I'll try it backwards and see if it works.

Reply to
Joey

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.