Newsgroup: it.comp.reti.cisco
Titolo: Clock rate

Ho un 2501 collegato via seriale a un 2610
se il clock rate della seriale del 2501 e' 64000 tutto funziona
correttamente
Se porto il clock rate a 500000 la seriale al  primo pacchetto che transita
va in down
Come mai ?

 ha scritto nel messaggio
news:syTW9.55076$0v.16...@news1.tin.it...

Prova ad invertire il cavo in modo da far divenire come DCE il 2610 e DTE il
2501 e poi imposti il clock rate sul 2610 .
E' solo un tentativo ,ma tentare non nuoce  ;)
Saluti,
Matador

Non ho cavi dce per il 2600
Se configuro il clock rate sul 2600 lasciando i cavi nel modo attuale,
funziona ?

 funziona ?
No, in quanto se tu hai finora impostato il clock rate sul 2500  vuol dire
che i cavi sono stati installati in modo che sia il 2500 a fare da DCE .
Ma che tipo di interfaccie hanno i due router ??
Se mi dici che non hai un cavo DCE per il 2600 vuol dire che i due router
hanno due diverse interfacce seriali .
Saluti,
Matador

 interfacce seriali .
Potrebbe avere (come capita al sottoscritto) un 2600 con wic-2t, che
necessita di cavi con connettore ad alta densita... :-/
-- 
Emanuele Balla aka Skull
-----------------------------------------------------------------------
Besides, I think [Slackware] sounds better than 'Microsoft', don't you?
(By Patrick Volkerding)


IL 2501 ha la sua interfaccia seriale standard,
il 2610 ha un wic 2-t con due seriali con connettori mini

 ha scritto nel messaggio
news:y08X9.80509$AA2.3...@news2.tin.it...

Se il 2610 ha due Smart Serial allora ,giustamente, non puoi invertire i
cavi  :(
Appurato che non possiamo impostare il 2610 come DCE perchè non provi ad
impostare il clock rate sul 2501 ad una banda intermedia tra i 64000 e i
500000 ?  Tipo 250000 e vedi se così và .
Abilita poi un po' di debug su tutti e due router , puoi cominciare ad
abilitare il seguente debug :
debug serial interface
Saluti,
Matador

Il router funziona fino a 250000 oltre non va.
ecco il log del debug serial interface:
00:04:58: HD(0): got an interrupt state = 0x8455
00:04:58: HD(0): New serial state = 0x045F
00:04:58: HD(0): DTR is up.
00:04:58: HD(1): New serial state = 0x0055
00:04:58: HD(1): DTR is down.
00:04:58: HD(0): Deasserting DSR, CTS and DCD
00:04:58: HD(0): Reset from 0x3048518
00:04:58: HD(0): Asserting DSR
00:04:58: HD(0): Asserting DCD and CTS
00:04:58: HD(0): Deasserting LTST
00:04:58: HD(0): Asserting DTR and RTS
00:04:58: Serial0: HDLC myseq 28, mineseen 22*, yourseen 30, line down
00:04:59: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed
state to down
00:05:08: Serial0: HDLC myseq 29, mineseen 22*, yourseen 31, line up
00:05:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed
state to up
00:05:18: HD(0): Deasserting DSR, CTS and DCD
00:05:18: HD(0): Reset from 0x3048518
00:05:18: HD(0): Asserting DSR
00:05:18: HD(0): Asserting DCD and CTS
00:05:18: HD(0): Deasserting LTST
00:05:18: HD(0): Asserting DTR and RTS
00:05:18: Serial0: HDLC myseq 30, mineseen 22*, yourseen 32, line up
00:05:28: HD(0): got an interrupt state = 0x8455
00:05:28: HD(0): New serial state = 0x045F
00:05:28: HD(0): DTR is up.
00:05:28: HD(1): New serial state = 0x0055
00:05:28: HD(1): DTR is down.
00:05:28: HD(0): Deasserting DSR, CTS and DCD
00:05:28: HD(0): Reset from 0x3048518
00:05:28: HD(0): Asserting DSR
00:05:28: HD(0): Asserting DCD and CTS
00:05:28: HD(0): Deasserting LTST
00:05:28: HD(0): Asserting DTR and RTS
00:05:28: Serial0: HDLC myseq 31, mineseen 22*, yourseen 33, line down
00:05:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed
state to down
00:05:38: Serial0: HDLC myseq 32, mineseen 22*, yourseen 34, line up
00:05:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed
state to up
00:05:48: HD(0): Deasserting DSR, CTS and DCD
00:05:48: HD(0): Reset from 0x3048518
00:05:48: HD(0): Asserting DSR
00:05:48: HD(0): Asserting DCD and CTS
00:05:48: HD(0): Deasserting LTST
00:05:48: HD(0): Asserting DTR and RTS
00:05:48: Serial0: HDLC myseq 33, mineseen 22*, yourseen 35, line up
00:05:58: HD(0): got an interrupt state = 0x8455
00:05:58: HD(0): New serial state = 0x045F
00:05:58: HD(0): DTR is up.
00:05:58: HD(1): New serial state = 0x0055
00:05:58: HD(1): DTR is down.
00:05:58: HD(0): Deasserting DSR, CTS and DCD
00:05:58: HD(0): Reset from 0x3048518
00:05:58: HD(0): Asserting DSR
00:05:58: HD(0): Asserting DCD and CTS
00:05:58: HD(0): Deasserting LTST
00:05:58: HD(0): Asserting DTR and RTS
00:05:58: Serial0: HDLC myseq 34, mineseen 22*, yourseen 36, line down
00:05:59: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed
state to down

Facendo alcune prove ho notato che il problema e' sicuramente lato 2600
ecco il debug del 2600
01:18:44: PowerQUICC(0/0): DCD is down.
01:18:44: PowerQUICC(0/0): DCD is up.
01:18:44: PowerQUICC(0/0): DCD is up.
01:18:49: Serial0/0: HDLC myseq 18, mineseen 9, yourseen 9, line down
01:18:50: Serial0/0: attempting to restart
01:18:50: PowerQUICC(0/0): DCD is up.
01:18:54: PowerQUICC(0/0): DCD is down.
01:18:54: PowerQUICC(0/0): DCD is up.
01:18:54: PowerQUICC(0/0): DCD is up.
01:18:59: Serial0/0: HDLC myseq 19, mineseen 9, yourseen 9, line down
01:19:09: Serial0/0: HDLC myseq 20, mineseen 9, yourseen 9, line down
01:19:14: PowerQUICC(0/0): DCD is down.
01:19:14: PowerQUICC(0/0): DCD is up.
01:19:14: PowerQUICC(0/0): DCD is up.
01:19:19: Serial0/0: HDLC myseq 21, mineseen 9, yourseen 9, line down
01:19:20: Serial0/0: attempting to restart
01:19:20: PowerQUICC(0/0): DCD is up.
01:19:24: PowerQUICC(0/0): DCD is down.
01:19:24: PowerQUICC(0/0): DCD is up.
01:19:24: PowerQUICC(0/0): DCD is up.
01:19:29: Serial0/0: HDLC myseq 22, mineseen 9, yourseen 9, line down
01:19:39: Serial0/0: HDLC myseq 23, mineseen 9, yourseen 9, line down
01:19:44: PowerQUICC(0/0): DCD is down.
01:19:44: PowerQUICC(0/0): DCD is up.
01:19:44: PowerQUICC(0/0): DCD is up.
01:19:49: Serial0/0: HDLC myseq 24, mineseen 9, yourseen 9, line down
01:19:50: Serial0/0: attempting to restart
01:19:50: PowerQUICC(0/0): DCD is up.
01:19:54: PowerQUICC(0/0): DCD is down.
01:19:54: PowerQUICC(0/0): DCD is up.
01:19:54: PowerQUICC(0/0): DCD is up.
Cosa devo fare ?
Grazie per l'aiuto

 Grazie per l'aiuto
La cosa migliore sarebbe provare a sostituire la WIC sul 2600 a questo
punto.......Non hai un altra  Wic 1T  a disposizione ??
Matador

Conitunando a fare prove
ho sostituito la wic 2t del 2600 con una identica.....
Il problema permane!
Potrebbe essere il cavo  ?
Il cavi sono con interfaccia rs232/v.24

 ha scritto nel messaggio
news:Iy9X9.81200$AA2.3...@news2.tin.it...

Non è un ipotesi da escludere , prova prima però a fare uno "sh controller
serial "
Saluti,
Matador

Ecco lo sh che mi chiedevi:
---------------------------------------
Questo e' con clock rate di 250000
--------------------------------------
Interface Serial0/1
Hardware is PowerQUICC MPC860
DTE V.24 (RS-232) TX and RX clocks detected.
idb at 0x827763D8, driver data structure at 0x8277D90C
SCC Registers:
General [GSMR]=0x2:0x00000030, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x001F, Status [SCCS]=0x06
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F80, Pending [CIPR]=0x00000444
Mask   [CIMR]=0x38200002, In-srv  [CISR]=0x00000000
Command register [CR]=0x6C0
Port A [PADIR]=0x4500, [PAPAR]=0xFFFF
       [PAODR]=0x0000, [PADAT]=0xCCFF
Port B [PBDIR]=0x0FF0F, [PBPAR]=0x0700E
       [PBODR]=0x0000E, [PBDAT]=0x378BD
Port C [PCDIR]=0x00C, [PCPAR]=0x000
       [PCSO]=0xAB0,  [PCDAT]=0x3F0, [PCINT]=0x00F
Receive Ring
        rmd(68012A70): status 9000 length 1 address 3D79964
        rmd(68012A78): status 9000 length 11A address 3D7EDE4
        rmd(68012A80): status 9000 length 18 address 3D792E4
        rmd(68012A88): status 9000 length 6A address 3D785E4
        rmd(68012A90): status 9000 length 6A address 3D78C64
        rmd(68012A98): status 9000 length 6A address 3D79FE4
        rmd(68012AA0): status 9000 length 6A address 3D7A664
        rmd(68012AA8): status 9000 length 6A address 3D7ACE4
        rmd(68012AB0): status 9000 length 18 address 3D7B364
        rmd(68012AB8): status 9000 length 18 address 3D7B9E4
        rmd(68012AC0): status 9000 length 18 address 3D7C064
        rmd(68012AC8): status 9000 length 18 address 3D7C6E4
        rmd(68012AD0): status 9000 length 60C address 3D7D3E4
        rmd(68012AD8): status 9000 length 60C address 3D7DA64
        rmd(68012AE0): status 9000 length 60C address 3D7E0E4
        rmd(68012AE8): status 9000 length 60C address 3D7E764
        rmd(68012AF0): status 9000 length 60C address 3C57AE4
        rmd(68012AF8): status 9000 length 60C address 3C57464
        rmd(68012B00): status 9000 length 60C address 3C76BA4
        rmd(68012B08): status 9000 length 60C address 3C76524
        rmd(68012B10): status 9000 length 60C address 3C75EA4
        rmd(68012B18): status 9000 length 60C address 3C75824
        rmd(68012B20): status 9000 length 60C address 3C751A4
        rmd(68012B28): status B000 length 60C address 3C74B24
Transmit Ring
        tmd(68012B30): status 5C00 length 18 address 3C01C54
        tmd(68012B38): status 5C00 length 68 address 3DE75B4
        tmd(68012B40): status 5C00 length 68 address 3DE6CF4
        tmd(68012B48): status 5C00 length 68 address 3C01894
        tmd(68012B50): status 5C00 length 68 address 3DE7834
        tmd(68012B58): status 5C00 length 68 address 3DE7974
        tmd(68012B60): status 5C00 length 18 address 3DE67F4
        tmd(68012B68): status 5C00 length 18 address 3C01614
        tmd(68012B70): status 5C00 length 18 address 3DE6CF4
        tmd(68012B78): status 5C00 length 18 address 3DE5F34
        tmd(68012B80): status 5C00 length 18 address 3DE6E34
        tmd(68012B88): status 0 length 18 address 0
        tmd(68012B90): status 0 length 0 address 0
        tmd(68012B98): status 0 length 0 address 0
        tmd(68012BA0): status 0 length 0 address 0
        tmd(68012BA8): status 2000 length 0 address 0
tx_limited=0(16)
SCC GENERAL PARAMETER RAM (at 0x68013F00)
Rx BD Base [RBASE]=0x2A70, Fn Code [RFCR]=0x18
Tx BD Base [TBASE]=0x2B30, Fn Code [TFCR]=0x18
Max Rx Buff Len [MRBLR]=1548
Rx State [RSTATE]=0x18008440, BD Ptr [RBPTR]=0x2AE0
Tx State [TSTATE]=0x18000548, BD Ptr [TBPTR]=0x2B88
SCC HDLC PARAMETER RAM (at 0x68013F38)
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]=1608
Rx Int Threshold [RFTHR]=0, Frame Cnt [RFCNT]=65521
User-defined Address 0000/0000/0000/0000
User-defined Address Mask 0x0000
buffer size 1524
PowerQUICC SCC specific errors:
0 input aborts on receiving flag sequence
0 throttles, 0 enables
0 overruns
0 transmitter underruns
0 transmitter CTS losts
0 aborted short frames
-------------------------------------------------
-------------------------------------------------
-------------------------------------------------
Questo e' con clock rate di 800000
-------------------------------------
Interface Serial0/1
Hardware is PowerQUICC MPC860
DTE V.24 (RS-232) clocks stopped.
idb at 0x827763D8, driver data structure at 0x8277D90C
SCC Registers:
General [GSMR]=0x2:0x00000030, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x001F, Status [SCCS]=0x06
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F80, Pending [CIPR]=0x00000444
Mask   [CIMR]=0x38200002, In-srv  [CISR]=0x00000000
Command register [CR]=0x6C0
Port A [PADIR]=0x4500, [PAPAR]=0xFFFF
       [PAODR]=0x0000, [PADAT]=0x4CBF
Port B [PBDIR]=0x0FF0F, [PBPAR]=0x0700E
       [PBODR]=0x0000E, [PBDAT]=0x378BD
Port C [PCDIR]=0x00C, [PCPAR]=0x000
       [PCSO]=0xAB0,  [PCDAT]=0x3F0, [PCINT]=0x00F
Receive Ring
        rmd(68012A70): status 9000 length 1 address 3D79964
        rmd(68012A78): status 9000 length 11A address 3D7EDE4
        rmd(68012A80): status 9000 length 18 address 3D792E4
        rmd(68012A88): status 9000 length 6A address 3D785E4
       rmd(68012A90): status 9000 length 60C address 3D78C64
        rmd(68012A98): status 9000 length 60C address 3D79FE4
        rmd(68012AA0): status 9000 length 60C address 3D7A664
        rmd(68012AA8): status 9000 length 60C address 3D7ACE4
        rmd(68012AB0): status 9000 length 60C address 3D7B364
        rmd(68012AB8): status 9000 length 60C address 3D7B9E4
        rmd(68012AC0): status 9000 length 60C address 3D7C064
        rmd(68012AC8): status 9000 length 60C address 3D7C6E4
        rmd(68012AD0): status 9000 length 60C address 3D7CD64
        rmd(68012AD8): status 9000 length 60C address 3D7D3E4
        rmd(68012AE0): status 9000 length 60C address 3D7DA64
        rmd(68012AE8): status 9000 length 60C address 3D7E0E4
        rmd(68012AF0): status 9000 length 60C address 3D7E764
        rmd(68012AF8): status 9000 length 60C address 3D7F464
        rmd(68012B00): status 9000 length 60C address 3D7FAE4
        rmd(68012B08): status 9000 length 60C address 3D80164
        rmd(68012B10): status 9000 length 60C address 3D807E4
        rmd(68012B18): status 9000 length 60C address 3C75824
        rmd(68012B20): status 9000 length 60C address 3C751A4
        rmd(68012B28): status B000 length 60C address 3C74B24
Transmit Ring
        tmd(68012B30): status DC00 length 18 address 3C005D4
        tmd(68012B38): status DC00 length 18 address 3C01ED4
        tmd(68012B40): status DC00 length 18 address 3DE6934
        tmd(68012B48): status 0 length 68 address 0
        tmd(68012B50): status 0 length 68 address 0
        tmd(68012B58): status 0 length 68 address 0
        tmd(68012B60): status 0 length 18 address 0
        tmd(68012B68): status 0 length 18 address 0
        tmd(68012B70): status 0 length 18 address 0
        tmd(68012B78): status 0 length 18 address 0
        tmd(68012B80): status 0 length 18 address 0
        tmd(68012B88): status 0 length 18 address 0
        tmd(68012B90): status 0 length 18 address 0
        tmd(68012B98): status 0 length 18 address 0
        tmd(68012BA0): status 0 length 18 address 0
        tmd(68012BA8): status 2000 length 18 address 0
tx_limited=0(16)
SCC GENERAL PARAMETER RAM (at 0x68013F00)
Rx BD Base [RBASE]=0x2A70, Fn Code [RFCR]=0x18
Tx BD Base [TBASE]=0x2B30, Fn Code [TFCR]=0x18
Max Rx Buff Len [MRBLR]=1548
Rx State [RSTATE]=0x0, BD Ptr [RBPTR]=0x2A70
Tx State [TSTATE]=0x0, BD Ptr [TBPTR]=0x2B30
SCC HDLC PARAMETER RAM (at 0x68013F38)
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]=1608
Rx Int Threshold [RFTHR]=0, Frame Cnt [RFCNT]=65515
User-defined Address 0000/0000/0000/0000
User-defined Address Mask 0x0000
buffer size 1524
PowerQUICC SCC specific errors:
0 input aborts on receiving flag sequence
0 throttles, 0 enables
0 overruns
0 transmitter underruns
0 transmitter CTS losts
0 aborted short frames

 DTE V.24 (RS-232) clocks stopped.
Non vorrei che ci fosse qualche limite fisico che impedisce ai cavi RS232 di
superare la banda di 256Kb/s
Ho sempre utilizzato per le B2B cavi DTE/DCE V35
Qualcuno nel NG è a conoscenza di eventuali limiti fisici dei cavi RS232
?!?
Matador

 ha scritto nel messaggio
news:b0jc49$iqk$1...@news.flashnet.it...


 lunga...
Perfetto, allora in effetti c'era un limite fisico .
Grazie mille Daniele e saluti,
Matador