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
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.
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
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
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
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.
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
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 !
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.