Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cisco 2524 router HELP. I can't ping my serial interface

Status
Not open for further replies.

salbahe

MIS
Apr 24, 2006
9
0
0
US
i have 2 2524 connected together with a serial cable. i configure both serials on both routers but when i tried to ping my seial on locally on both routers i get a timeout.
Router#ping 10.2.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.1.1, timeout is 2 seconds
.....
Success rate is 0 percent (0/5)
Router#sh int s1
Serial1 is up, line protocol is up
Hardware is HD64570 with 5-in-1 module
Internet address is 10.2.1.1/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:06, output 00:00:06, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 16
Queueing strategy: weighted fair
Output queue: 0/1000/64/16 (size/max total/threshold/drops)
Conversations 0/2/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
6927 packets input, 409794 bytes, 0 no buffer
Received 6927 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
6945 packets output, 409698 bytes, 0 underruns
0 output errors, 0 collisions, 5 interface resets
0 output buffer failures, 0 output buffers swapped out
60 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
i checked the cable it seems fine. any suggestions?
 
You are trying to ping from S0/0 on one router to S0/0 on another router?

If so the best way to configure 2 serial interfaces is as follows:-

router>en
password:
router#conf t
router(conf)#int s0/0
router(conf-if)#ip address 10.2.1.1 255.255.255.252
router(conf-if)#no shutdown
ctrl + z

On the second router configure the interface to be as follows:-

10.2.1.2 255.255.255.252

You may need to set a clock rate as well.

Try pinging without the clock rate.
If clock rate is required try 64 as follows:-

Clock rate 64

This sets it to 64000.
 
ip routing on both routers are enabled. and i enabled clock rate on dce router. i both routers are up up too. but i can't ping the serial port on either router.
 
I have just completed a simulated test and it works fine using the following:-

router1 s0 : 10.2.1.1 255.255.255.252
DCE so clockrate set to 64k
No shutdown

Router2 s0 : 10.2.1.2 255.255.255.252
no shutdown

Ping success rate 5/5 100%

Where it says "Serial 1 is up line protocol is up" indicates that there is no problem with the link from a cable or protocol perspective.
Double check both configurations and if need be start again.
 
Do you have a topology you can post? Do a sh int on both routers, too and post the output. If encapsulations mismatch, your line protocol would be down. Try shutting them both down and bringing them both back up, and try switching the DCE and DTE---I usually clock both ends in case the cable is mislabelled. Did I spell that correctly? Is it "mislabeled" with one "l" at the end? Like "gases"---I used to spell it "gasses". Anyway, ...
 
ok here are my config on both routers


SMH-NY56-1601-WAN1#sh int s0
Serial0 is up, line protocol is up
Hardware is QUICC Serial
Internet address is 192.168.10.1/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:04, output 00:00:06, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/2/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
6295 packets input, 175324 bytes, 0 no buffer
Received 6280 broadcasts, 0 runts, 0 giants, 0 throttles
2 input errors, 0 CRC, 1 frame, 0 overrun, 0 ignored, 1 abort
12545 packets output, 587087 bytes, 0 underruns
0 output errors, 0 collisions, 3017 interface resets
0 output buffer failures, 0 output buffers swapped out
5252 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up

SMH-NY56-1601-WAN1#sh controllers s 0

QUICC Serial unit 0
idb at 0x20AE738, driver data structure at 0x20AFF94
SCC Registers:
General [GSMR]=0x2:0x00000030, Protocol-specific [PSMR]=0x0
Events [SCCE]=0x0000, Mask [SCCM]=0x001F, Status [SCCS]=0x0006
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00368461, Pending [CIPR]=0x04804004
Mask [CIMR]=0xC8000012, In-srv [CISR]=0x00000000
Command register [CR]=0x6C0
Port A [PADIR]=0x4000, [PAPAR]=0xFEF3
[PAODR]=0x0000, [PADAT]=0x21AE
Port B [PBDIR]=0x00F13E, [PBPAR]=0x0010CE
[PBODR]=0x000000, [PBDAT]=0x024ACD
Port C [PCDIR]=0x088E, [PCPAR]=0x0000
[PCSO]=0x0230, [PCDAT]=0x0384, [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]=0x18008240, BD Ptr [RBPTR]=0x570
Tx State [TSTATE]=0x18000348, 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]=65422
User-defined Address 0000/0000/0000/0000
User-defined Address Mask 0x0000


buffer size 1524
BRGC1=101B0, BRGC2=0, BRGC3=0, BRGC4=1468E
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
--More--

outer#
Router#sh int s1
Serial1 is up, line protocol is up
Hardware is HD64570 with 5-in-1 module
Internet address is 192.168.30.1/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:02, output 00:00:06, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
6454 packets input, 414323 bytes, 0 no buffer
Received 6449 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
5504 packets output, 127525 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
HD unit 1, idb = 0xE5FE0, driver structure at 0xEB478
buffer size 1524 HD unit 1, V.35 DTE cable
cpb = 0x82, eda = 0x3104, cda = 0x3118
RX ring with 16 entries at 0x823000
00 bd_ptr=0x3000 pak=0x0EC6D0 ds=0x826908 status=80 pak_size=22
01 bd_ptr=0x3014 pak=0x0EC4CC ds=0x82624C status=80 pak_size=22
02 bd_ptr=0x3028 pak=0x0EE710 ds=0x82D4C8 status=80 pak_size=22
03 bd_ptr=0x303C pak=0x0ED4EC ds=0x82982C status=80 pak_size=22
04 bd_ptr=0x3050 pak=0x0EE914 ds=0x82DB84 status=80 pak_size=315
05 bd_ptr=0x3064 pak=0x0EED1C ds=0x82E8FC status=80 pak_size=22
06 bd_ptr=0x3078 pak=0x0EEF20 ds=0x82EFB8 status=80 pak_size=22
07 bd_ptr=0x308C pak=0x0EF328 ds=0x82FD30 status=80 pak_size=22
08 bd_ptr=0x30A0 pak=0x0EF52C ds=0x8303EC status=80 pak_size=22
09 bd_ptr=0x30B4 pak=0x0EF124 ds=0x82F674 status=80 pak_size=22
10 bd_ptr=0x30C8 pak=0x0ED6F0 ds=0x829EE8 status=80 pak_size=22
11 bd_ptr=0x30DC pak=0x0ED8F4 ds=0x82A5A4 status=80 pak_size=315
12 bd_ptr=0x30F0 pak=0x0ED2E8 ds=0x829170 status=80 pak_size=22
13 bd_ptr=0x3104 pak=0x0ED0E4 ds=0x828AB4 status=80 pak_size=22
14 bd_ptr=0x3118 pak=0x0ECCDC ds=0x827D3C status=80 pak_size=315
15 bd_ptr=0x312C pak=0x0ECAD8 ds=0x827680 status=80 pak_size=22
16 bd_ptr=0x3140 pak=0x0EC8D4 ds=0x826FC4 status=80 pak_size=22
cpb = 0x82, eda = 0x3800, cda = 0x3800
TX ring with 1 entries at 0x823800
--More--


 
..can you ping a local loopback interface?
...can somebody add how keepalive might/not help?

CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
i can't ping a local loopback interface. keepalive is set to default 10sec.
 
Ok...
...the answer is comming soon,,,i can feel it!!
....doesnt it have to be software related??

...you said "ip routing" is enabled..
...and you cant ping a local loopback which is not hardware related..

...can you post your config "show run"

CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
...also, i doubt this well help..
Set the masks of your loopback addresses to 255.255.255.255

CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
Router#
Router#sh ru
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$OfN3$U80Qx/SHILPDYq24aAdsj1
!
ip subnet-zero
!
!
!
interface Ethernet0
ip address 10.7.1.26 255.255.255.0
no ip directed-broadcast
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1
ip address 192.168.30.1 255.255.255.0
no ip directed-broadcast
!
ip classless
!
!
line con 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
end

Router#
i should be able to ping at least the serial interface. i can only ping my ethernet inferface. do i need to end able dce/dte on both routers?
 
...ok,
..i didnt now you could ping your e. interface..
....i thought you said you couldnt ping your loopback..which would be a major problem..

..so you did a "show controller" found the dce end, and added clock rate to that end.
..and also verified encapsulation matches on both interfaces..



CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
....and how about do a debug icmp..then ping..
....sometimes this give valuable info...

CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
no luck.
Router#ping ip
Target IP address: 192.168.30.1
Repeat count [5]: 5
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: s 1
Type of service [0]: 1
Set DF bit in IP header? [no]: y
Validate reply data? [no]: y
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]: t
Number of timestamps [ 9 ]:
Loose, Strict, Record, Timestamp, Verbose[TV]: r
% No room for that option
Loose, Strict, Record, Timestamp, Verbose[TV]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
Packet has IP options: Total option bytes= 40, padded length=40
Timestamp: Type 0. Overflows: 0 length 40, ptr 5
>>Current pointer<<
Time= 00:00:00.000 UTC (00000000)
Time= 00:00:00.000 UTC (00000000)
Time= 00:00:00.000 UTC (00000000)
Time= 00:00:00.000 UTC (00000000)
Time= 00:00:00.000 UTC (00000000)
Time= 00:00:00.000 UTC (00000000)
Time= 00:00:00.000 UTC (00000000)
Time= 00:00:00.000 UTC (00000000)
Time= 00:00:00.000 UTC (00000000)

Request 0 timed out
Request 1 timed out
Request 2 timed out
Request 3 timed out
Request 4 timed out
Success rate is 0 percent (0/5)
Router#
 
do u think its my serial cable? but i get connection though. it say up up on both routers but how come i can't even ping both serial interface on both routers.
 
...i dont want to say its the cable yet...because the up up state..

...could you try a different encapasulation like frame relay.. "back to back"
..just a suggestion..also if you do..i think you have to use "no keep alive"
...
...also..i saw a alot of interface resets on one of the serial interfaces....not sure if this could give us a hint


CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
...also if you do a "clear counters"
...then ping
...do you see packets increase

ex:

here ----> 6295 packets input, 175324 bytes, 0 no buffer
Received 6280 broadcasts, 0 runts, 0 giants, 0 throttles
2 input errors, 0 CRC, 1 frame, 0 overrun, 0 ignored, 1 abort
here ----> 12545 packets output, 587087 bytes, 0 underruns

CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
..i wonder if you do a "show ip route" what does it show

...and i'm still stuck on you not being able to ping the local loopback address..

..i didnt see it configured but you said you could ping the ethernet side..

CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top