Newsgroup: it.comp.reti.cisco
Titolo: problema connessione router ISDN

Ciao a tutti,
ho problema con un router cisco 801 ISDN che utilizzo per connettere ad
internet una lan. Quando il router si disconnette dalla linea per timeout,
poi non si riconnette piů. Cioč dopo essersi disconnesso per timeout, ad una
richiesta della lan non si riconnette piů alla linea isdn....sono costretto
a riavviarlo.
Avete un'idea?. Vi ringrazio.
Eugenio
Di seguito il file di configurazione:
!
! Last configuration change at 22:32:31 UTC Sat Jan 10 2004
! NVRAM config last updated at 22:32:37 UTC Sat Jan 10 2004
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname xxxxxxxxxx
!
enable secret 5 xxxxxxxxxxx
!
username xxxxxxx password 7 xxxxxxxxxxxxxxxxxx
ip subnet-zero
no ip source-route
!
ip dhcp pool DHCPpoolLAN_0
network 192.168.2.0 255.255.255.0
dns-server 212.216.112.222 212.216.172.162
default-router 192.168.2.1
!
ip dhcp pool DHCPPoolLAN_0
dns-server 212.216.112.222 212.216.172.162
default-router 192.168.2.1
!
no ip domain-lookup
ip name-server 212.216.112.222
ip name-server 212.216.172.162
isdn switch-type basic-net3
!
!
!
interface Ethernet0
ip address 192.168.2.1 255.255.255.0
ip access-group 121 in
no ip proxy-arp
ip nat inside
!
interface BRI0
no ip address
encapsulation ppp
dialer rotary-group 1
isdn switch-type basic-net3
ppp authentication chap pap callin
!
interface Dialer1
description ISP
ip address negotiated
ip access-group 121 in
no ip proxy-arp
ip nat outside
encapsulation ppp
no ip split-horizon
dialer in-band
dialer idle-timeout 150
dialer string 7020001033 class DialClass
dialer hold-queue 10
pulse-time 0
ppp authentication chap pap callin
ppp chap hostname 
xxxx...@virgilio.it
ppp chap password 7 xxxxxxxxxxxx
ppp pap sent-username 
xxxx...@virgilio.it
 password 7 xxxxxxxxxx
!
ip nat inside source list 18 interface Dialer1 overload
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!

 a riavviarlo.
fallo bloccare e poi cattura l'output di debug isdn q921/debug isdn q921/
debug isdn error/show isdn status
Ciao
-- 
   __|__  Fabio Sardone|  
____(0)_____           | 
http://www.geocities.com/f_sardone/pictures.html
  O  o  O              | Change dot in . and remove .invalid

Eccoti l'output catturato dalla finestra console.
Ho acceso il router, ho avviato il browser, il router si č colleagato alla
linea ok...poi ho atteso la disconnessione automatica (circa 10 min).
Quindi aprendo di nuovo il browser il router non si č collegato, non
mostrando niente a console.
00:00:27: %SNMP-5-COLDSTART: SNMP agent on host router is undergoing a cold
start
00:00:27: %LINK-3-UPDOWN: Interface BRI0, changed state to up
00:01:21: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 87 changed to up
00:01:23: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:01:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed
state to up
00:01:29: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 7020001033
stack 1
......
00:10:42949672960: %ISDN-6-DISCONNECT: Interface BRI0:1  disconnected from
7020001033 stack1,
call lasted 527 seconds
00:10:11: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:10:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed
state to down
00:10:26: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0, TEI 87 changed to
down
00:10:57: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BRI0, TEI 87 changed to
down
Mi potete aiutare?
Grazie, Eugenio
"Fabio Sardone" <fsar...@btinternetdotcom.invalid> ha scritto nel messaggio
news:btrs79$hi2$1...@apollo.home.sardone.org...


 mostrando niente a console.
[SNIP]
Eugenio,
cio' che hai postato e' solo il normale output.
Devi digitare:
debug isdn q931
debug isdn q921
debug isdn error
show isdn status
fai connettere il router
digita:show isdn status
aspetta il timeout
digita show isdn status
ritenta la connessione
digita show isdn status
disabilita trutti i debug con undebug all
posta i risultati.


Ecco l'output del router, in sequenza:
- router acceso
- router connesso alla linea ISDN
- router disconnesso per timeout
- tentativo di connessione
Grazie, Eugenio
router#debug isdn q931
ISDN Q931 packets debugging is on
router#debug isdn q921
ISDN Q921 packets debugging is on
router#
router#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
        dsl 0, interface ISDN Switchtype = basic-net3
    Layer 1 Status:
        DEACTIVATED
    Layer 2 Status:
        Layer 2 NOT Activated
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x80000003
    Number of L2 Discards = 0, L2 Session ID = 0
    Total Allocated ISDN CCBs = 0
router#
router#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
        dsl 0, interface ISDN Switchtype = basic-net3
    Layer 1 Status:
        ACTIVE
    Layer 2 Status:
        TEI = 81, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
    Layer 3 Status:
        1 Active Layer 3 Call(s)
        CCB:callid=8001, sapi=0, ces=1, B-chan=1, calltype=DATA
    Active dsl 0 CCBs = 1
    The Free Channel Mask:  0x80000002
    Number of L2 Discards = 0, L2 Session ID = 0
    Total Allocated ISDN CCBs = 1
router#
router#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
        dsl 0, interface ISDN Switchtype = basic-net3
    Layer 1 Status:
        DEACTIVATED
    Layer 2 Status:
        Layer 2 NOT Activated
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x3
    Number of L2 Discards = 0, L2 Session ID = 3
    Total Allocated ISDN CCBs = 0
router#
router#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
        dsl 0, interface ISDN Switchtype = basic-net3
    Layer 1 Status:
        DEACTIVATED
    Layer 2 Status:
        Layer 2 NOT Activated
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x3
    Number of L2 Discards = 0, L2 Session ID = 3
    Total Allocated ISDN CCBs = 0
router#
"Fabio Sardone" <fsar...@btinternetdotcom.invalid> ha scritto nel messaggio
news:bu4en7$nti$1...@apollo.home.sardone.org...


 Grazie, Eugenio
Eugenio, non c'e' l'output del debug ....
Se sei in console basta dare i comandi debug isdn q921 e debug isdn q931.
Se sei in telnet sul router devi anche metterci terminal monitor.
Siccome l'output sara' voluminoso, non postarlo ma mettilo su un server (magari
ftp o http) e posta un link. Altrimenti limita al minimo l'output ai secondi
subito prima e dopo della connessione/disconnessione e tentativo di
connessione.


Ecco l'output del debug relativo ad una connessione e disconnessione per
timeout...
Grazie, Eugenio
router>
router>en
Password:
router#debug isdn q921
ISDN Q921 packets debugging is on
router#debug isdn q931
ISDN Q931 packets debugging is on
router#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
        dsl 0, interface ISDN Switchtype = basic-net3
    Layer 1 Status:
        DEACTIVATED
    Layer 2 Status:
        Layer 2 NOT Activated
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x80000003
    Number of L2 Discards = 0, L2 Session ID = 0
    Total Allocated ISDN CCBs = 0
router#
00:12:07: ISDN BR0: TX -> IDREQ ri=86 ai=127
00:12:07: ISDN BR0: RX <- IDASSN ri=86 ai=85
00:12:07: ISDN BR0: TX -> SABMEp c/r=0 sapi=0 tei=85
00:12:07: ISDN BR0: RX <- UAf c/r=0 sapi=0 tei=85
00:12:07: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 85 changed to up
00:12:07: ISDN BR0: TX -> INFOc sapi=0 tei=85 ns=0 nr=0
i=0x08010105040288901801
83700B8037303230303031303333
00:12:07:     SETUP pd = 8  callref = 0x01
00:12:07:         Bearer Capability i = 0x8890
00:12:07:         Channel ID i = 0x83
00:12:07:         Called Party Number i = 0x80, '7020001033', Plan:Unknown,
Type
:Unknown
00:12:07: ISDN BR0: RX <- RRr sapi=0 tei=85 nr=1
00:12:07: ISDN BR0: RX <- INFOc sapi=0 tei=85 ns=0 nr=1 i=0x0801810D180189
00:12:07:     SETUP_ACK pd = 8  callref = 0x81
00:12:07:         Channel ID i = 0x89
00:12:07: ISDN BR0: TX -> RRr sapi=0 tei=85 nr=1
00:12:08: ISDN BR0: RX <- INFOc sapi=0 tei=85 ns=1 nr=1 i=0x08018102
00:12:08:     CALL_PROC pd = 8  callref = 0x81
00:12:08: ISDN BR0: TX -> RRr sapi=0 tei=85 nr=2
00:12:08: ISDN BR0: RX <- INFOc sapi=0 tei=85 ns=2 nr=1 i=0x08018101
00:12:08:     ALERTING pd = 8  callref = 0x81
00:12:08: ISDN BR0: TX -> RRr sapi=0 tei=85 nr=3
00:12:08: ISDN BR0: RX <- INFOc sapi=0 tei=85 ns=3 nr=1 i=0x080181074C0200A3
00:12:08:     CONNECT pd = 8  callref = 0x81
00:12:08:         Connected Number i = 0x00A3
00:12:08: ISDN BR0: TX -> RRr sapi=0 tei=85 nr=4
00:12:08: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:12:08: %DIALER-6-BIND: Interface BR0:1 bound to profile Di1
00:12:08: ISDN BR0: TX -> INFOc sapi=0 tei=85 ns=1 nr=4 i=0x0801010F
00:12:08:     CONNECT_ACK pd = 8  callref = 0x01
00:12:09: ISDN BR0: RX <- RRr sapi=0 tei=85 nr=2
00:12:13: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed
state to up
00:12:14: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 7020001033
stack 1
00:12:19: ISDN BR0: RX <- RRp sapi=0 tei=85 nr=2
00:12:19: ISDN BR0: TX -> RRf sapi=0 tei=85 nr=4
00:12:29: ISDN BR0: TX -> RRp sapi=0 tei=85 nr=4
00:12:29: ISDN BR0: RX <- RRf sapi=0 tei=85 nr=2
00:12:39: ISDN BR0: RX <- RRp sapi=0 tei=85 nr=2
00:12:39: ISDN BR0: TX -> RRf sapi=0 tei=85 nr=4
00:12:49: ISDN BR0: TX -> RRp sapi=0 tei=85 nr=4
00:12:49: ISDN BR0: RX <- RRp sapi=0 tei=85 nr=2
00:12:49: ISDN BR0: RX <- RRf sapi=0 tei=85 nr=2
00:12:49: ISDN BR0: TX -> RRf sapi=0 tei=85 nr=4
00:12:59: ISDN BR0: TX -> RRp sapi=0 tei=85 nr=4
00:12:59: ISDN BR0: RX <- RRp sapi=0 tei=85 nr=2
00:12:59: ISDN BR0: RX <- RRf sapi=0 tei=85 nr=2
00:12:59: ISDN BR0: TX -> RRf sapi=0 tei=85 nr=4
00:13:09: ISDN BR0: TX -> RRp sapi=0 tei=85 nr=4
00:13:09: ISDN BR0: RX <- RRp sapi=0 tei=85 nr=2
00:13:09: ISDN BR0: RX <- RRf sapi=0 tei=85 nr=2
00:13:09: ISDN BR0: TX -> RRf sapi=0 tei=85 nr=4
00:13:73014444032: %ISDN-6-DISCONNECT: Interface BRI0:1  disconnected from
70200
01033 stack1, call lasted 68 seconds
00:13:17: ISDN BR0: TX -> INFOc sapi=0 tei=85 ns=2 nr=4 i=0x0801014508028090
00:13:17:     DISCONNECT pd = 8  callref = 0x01
00:13:17:         Cause i = 0x8090 - Normal call clearing
00:13:17: ISDN BR0: RX <- RRr sapi=0 tei=85 nr=3
00:13:17: ISDN BR0: RX <- INFOc sapi=0 tei=85 ns=4 nr=3 i=0x0801814D
00:13:17:     RELEASE pd = 8  callref = 0x81
00:13:17: ISDN BR0: TX -> RRr sapi=0 tei=85 nr=5
00:13:17: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:13:17: %DIALER-6-UNBIND: Interface BR0:1 unbound from profile Di1
00:13:18: ISDN BR0: TX -> INFOc sapi=0 tei=85 ns=3 nr=5 i=0x0801015A
00:13:18:     RELEASE_COMP pd = 8  callref = 0x01
00:13:18: ISDN BR0: RX <- RRr sapi=0 tei=85 nr=4
00:13:18: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed
state to down
00:13:28: ISDN BR0: RX <- RRp sapi=0 tei=85 nr=4
00:13:28: ISDN BR0: TX -> RRf sapi=0 tei=85 nr=5
00:13:33: ISDN BR0: RX <- DISCp c/r=1 sapi=0 tei=85
00:13:33: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0, TEI 85 changed to
down
00:13:33: ISDN BR0: TX -> UAf c/r=1 sapi=0 tei=85
00:14:04: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BRI0, TEI 85 changed to
down
router#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
        dsl 0, interface ISDN Switchtype = basic-net3
    Layer 1 Status:
        ACTIVE
    Layer 2 Status:
        TEI = 85, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x3
    Number of L2 Discards = 0, L2 Session ID = 0
    Total Allocated ISDN CCBs = 0
router#
router#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
        dsl 0, interface ISDN Switchtype = basic-net3
    Layer 1 Status:
        DEACTIVATED
    Layer 2 Status:
        Layer 2 NOT Activated
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x3
    Number of L2 Discards = 0, L2 Session ID = 3
    Total Allocated ISDN CCBs = 0
router#
"Fabio Sardone" <fsar...@btinternetdotcom.invalid> ha scritto nel messaggio
news:bubvol$nd2$1...@apollo.home.sardone.org...


 timeout...
Eugenio,
anche il tentativo di connessione che e' dove si verifica il problema. tutto
cio' che hai postato e' normale.
Ciao
[Pls bottom post]


Ma al tentativo di connessione dopo la disconnessione per timeout...il
router non risponde, e a console non appare nulla...
Eugenio
"Fabio Sardone" <fsar...@btinternetdotcom.invalid> ha scritto nel messaggio
news:buhl33$3qt$1...@apollo.home.sardone.org...


 router non risponde, e a console non appare nulla...
Eugenio per cortesia scrivi i tuoi messaggi sotto quelli a cui rispondi e quota
solo le parti rilevanti togliendo le firme.
Poi fammi capire, il router si blocca al secondo tentativo di connessione?
Senza mostrare alcun messaggio? Con il LED OK acceso? Se premi return non
succede nulla?
Ciao


 Se premi return non succede nulla?
Alla consolle non appaiono messaggi di debug, ma non č bloccato, posso
continuare a scrivere comandi...e se riavvio il router poi si collega...
Eugenio

 Eugenio
Eugenio, 
non ho visto il comando dialer-list nella tua configurazione parziale.
Puoi postarlo, insieme alle eventuali access-list collegate spegando che tipo
di traffico generi per causare la connessione.


Eccoti lo script
Ciao Eugenio
...
interface Ethernet0
 ip address 192.168.2.1 255.255.255.0
 ip access-group 121 in
 no ip proxy-arp
 ip nat inside
!
interface BRI0
 no ip address
 encapsulation ppp
 dialer rotary-group 1
 isdn switch-type basic-net3
 ppp authentication chap pap callin
!
interface Dialer1
 description ISP
 ip address negotiated
 ip access-group 121 in
 no ip proxy-arp
 ip nat outside
 encapsulation ppp
 no ip split-horizon
 dialer in-band
 dialer idle-timeout 180
 dialer string 7020001033 class DialClass
 dialer hold-queue 10
 dialer-group 1
 ppp authentication chap pap callin
 ppp chap hostname xxxxxxxx
 ppp chap password 7 xxxxxxxxxxx
 ppp pap sent-username xxxxxxxxxxx password 7 xxxxxxxxxxx
!
ip nat inside source list 18 interface Dialer1 overload
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
!
map-class dialer DialClass
access-list 18 permit 192.168.2.0 0.0.0.255
access-list 121 deny   udp any eq netbios-dgm any
access-list 121 deny   udp any eq netbios-ns any
access-list 121 deny   udp any eq netbios-ss any
access-list 121 deny   tcp any eq 137 any
access-list 121 deny   tcp any eq 138 any
access-list 121 deny   tcp any eq 139 any
access-list 121 permit ip any any time-range TIME
dialer-list 1 protocol ip permit
!
line con 0
 exec-timeout 120 0
 stopbits 1
line vty 0 4
 exec-timeout 0 0
 login local
!
no rcapi server
!
!
time-range TIME
 periodic daily 0:00 to 23:59
!
end

Eccoti lo script,
ciao Eugenio
....
interface Ethernet0
 ip address 192.168.2.1 255.255.255.0
 ip access-group 121 in
 no ip proxy-arp
 ip nat inside
!
interface BRI0
 no ip address
 encapsulation ppp
 dialer rotary-group 1
 isdn switch-type basic-net3
 ppp authentication chap pap callin
!
interface Dialer1
 description ISP
 ip address negotiated
 ip access-group 121 in
 no ip proxy-arp
 ip nat outside
 encapsulation ppp
 no ip split-horizon
 dialer in-band
 dialer idle-timeout 60
 dialer string 7020001033 class DialClass
 dialer hold-queue 10
 dialer-group 1
 ppp authentication chap pap callin
 ppp chap hostname xxxxxxxxxxxxx
 ppp chap password 7 xxxxxxxxxxx
 ppp pap sent-username xxxxxxxxxxx password 7 xxxxxxxxxxxxxx
!
ip nat inside source list 18 interface Dialer1 overload
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!


Probabilmente è un problema di borchia telecom, perchè staccando
l'alimentazione della stessa tutto funziona.
Grazie cmq dell'aiuto.
Eugenio