Aiuto per cisco 803

Tutto ciò che ha a che fare con la configurazione di apparati Cisco (e non rientra nelle altre categorie)

Moderatore: Federico.Lagni

Rispondi
Tatanka
n00b
Messaggi: 3
Iscritto il: mer 14 giu , 2006 9:59 pm

Intanto saluto tutti essendo questo il mio primo messaggio...espongo subito il mio problema (ehm dramma direi): ho acquistato su ebay il router 803 ma nn c'è verso di farlo funzionare....ho connessione teleconomy isdn a doppio numero, ho provato configurandolo con i prog. fastsetup e configmaker...ho copiato varie configurazioni trovate su internet (ho aggiornato ios da 12.05 a 12.2)...ora nn so veramente più che fare

posto qui quello che succede all'accensione:


Press RETURN to get started!


00:00:26: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
00:00:27: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed sta
te to up
00:00:30: %LINK-5-CHANGED: Interface BRI0, changed state to administratively dow
n
00:00:30: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:00:30: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down
00:00:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0, changed state to
down
00:00:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state
to down
00:00:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state
to down
00:00:32: %SYS-5-CONFIG_I: Configured from memory by console
00:00:32: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C800 Software (C800-SY6-MW), Version 12.2(1), RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Fri 27-Apr-01 13:27 by cmon



la configurazione attuale:


Current configuration : 1519 bytes
!
version 12.2
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname simba
!
boot system flash c800-sy6-mw.122-1.bin
logging rate-limit console 10 except errors
enable password xxxxx
!
!
dial-peer voice 1 pots
no caller-id
no forward-to-unused-port
no call-waiting
ring 0
registered-caller ring 1
port 1
destination-pattern 014xxxx
!
pots country DK
ip subnet-zero
!
no ip domain-lookup
no ip finger
no ip dhcp-client network-discovery
isdn switch-type basic-net3
!
!
!
interface Ethernet0
ip address 192.168.0.2 255.0.0.0
ip nat inside
!
interface BRI0
no ip address
ip nat outside
encapsulation ppp
shutdown
isdn switch-type basic-net3
isdn incoming-voice modem
cdapi buffers regular 0
cdapi buffers raw 0
cdapi buffers large 0
no cdp enable
ppp multilink
!
interface Dialer0
ip address negotiated
encapsulation ppp
dialer in-band
dialer idle-timeout 600
dialer string 7020187187
dialer hold-queue 10
dialer load-threshold 10 outbound
dialer-group 1
ppp authentication chap callin
ppp chap hostname telecom
ppp chap password 7 06120A2D494D0614
!
ip nat inside source list 1 interface BRI0 overload
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.0
ip route 192.168.0.0 255.255.255.255 Dialer0
!
access-list 1 permit 0.0.0.0 255.0.0.0
dialer-list 1 protocol ip permit
!
line con 0
transport input none
stopbits 1
line vty 0 4
login
!
no rcapi server
!
!
end



Grazie di cuore a che voglia darmi una mano

tat
Renato.Efrati
Holy network Shaman
Messaggi: 637
Iscritto il: gio 07 apr , 2005 9:30 pm
Località: Cisco Systems Inc. West Tasman Drive 170, San Jose CA
Contatta:

leva :

ip route 192.168.0.0 255.255.255.255 Dialer0
ip route 0.0.0.0 0.0.0.0 192.168.0.0

e metti ip route 0.0.0.0 0.0.0.0 dialer0

poi un no sh sotto la bri0 leva la access-list 1 e scrivi :

access-list 1 permit 192.168.0.0 0.0.0.255

leva pots countri dk
e dial-peer voice 1 pots

l'ip nat outside mettilo sotto la dialer0


poi boh nn so nn mi viene in mente altro ho sonno vedi un po cosi' :P

CCIE Routing & Switching # 20567
CCNP R&S - CCNP Sec - CCNP Collaboration - CCNP Datacenter - CCDP - VCP6-DCV

Tatanka
n00b
Messaggi: 3
Iscritto il: mer 14 giu , 2006 9:59 pm

Ciao grazie intantoperl'interessamento...purtroppo però mi sono accorto che la versione che hocopiato primaèdiversa da quella che ho nel file che ho importato mediante tftp (forse perchèhocopiatoda hyperterminal...sottometto quella con telnet) emi sonoaccorto che ho un altro problema...ovvero avendo fatto aggiornamentoalla versione 12.2... son rimasti sulla flash i vecchi file e in automatico il boot lofa dalla 12.05...lo strano (per me) è che se do il comando boot system flash c800-sy6-mw.122-1.bin (che è ios 12.2) me lo carica ma tenendola stessa configurazione si comporta in modo diverso (sorry per la confusione :-\)

la flash:
=============================================

0 ---- 49096 Aug 03 1999 01:22:22 TinyROM-1.2(2)
18 -r-- 2649 <no date> n
19 -r-- 1327 <no date> startupconfig
42 -r-x 2662040 Jul 23 1999 11:19:01 c800-y6-mw.120-5.t
84 -r-x 3949288 Apr 27 2001 22:30:40 c800-sy6-mw.122-1.bin
=============================================
configurazione telnet:

Current configuration : 2526 bytes
!
version 12.2
no service single-slot-reload-enable
no service pad
service timestamps debug datetime localtime
service timestamps log datetime localtime
no service password-encryption
no service dhcp
!
hostname simba
!
boot system flash c800-sy6-mw.122-1.bin
logging buffered 4096 debugging
logging rate-limit console 10 except errors
enable password xxxxx
!
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
!
ip subnet-zero
!
ip name-server 212.216.112.112
no ip finger
no ip dhcp-client network-discovery
isdn switch-type basic-net3
isdn tei-negotiation first-call
!
!
!
interface Ethernet0
description connected to EthernetLAN
ip address 192.168.0.2 255.255.255.0
ip nat inside
no cdp enable
!
interface BRI0
description connected to Internet
no ip address
dialer pool-member 1
isdn switch-type basic-net3
isdn voice-priority 014xxxxxx out always
isdn voice-priority 014xxxxxx in always
isdn incoming-voice modem
cdapi buffers regular 0
cdapi buffers raw 0
cdapi buffers large 0
no cdp enable
!
interface Dialer1
description connected to Internet
ip address negotiated
ip nat outside
encapsulation ppp
no ip split-horizon
ip tcp header-compression
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap pap callin
ppp chap hostname telecom
ppp chap password 7 06120A2D494D0614
ppp pap sent-username telecom password 7 09584B051C06181F
ppp multilink
!
router rip
version 2
passive-interface Dialer1
network 192.168.0.0
no auto-summary
!
ip nat translation timeout 900
ip nat translation tcp-timeout 900
ip nat translation udp-timeout 600
ip nat translation finrst-timeout 300
ip nat translation syn-timeout 120
ip nat translation dns-timeout 300
ip nat translation icmp-timeout 120
ip nat translation max-entries 8192
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static tcp 192.168.1.2 4662 interface Dialer1 4662
ip nat inside source static udp 192.168.1.2 4672 interface Dialer1 4672
ip nat inside source static tcp 192.168.1.2 6881 interface Dialer1 6881
ip nat inside source static udp 192.168.1.2 6881 interface Dialer1 6881
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
access-list 1 permit 192.168.0.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
line con 0
exec-timeout 0 0
password xxxxx
login
transport input none
stopbits 1
line vty 0 4
access-class 1 in
exec-timeout 0 0
password xxxxx
login
!
sntp server 193.204.114.232
no rcapi server
!
!
end

==============================

cioòche succede con boot 12.2:

Processor board ID JAD04010SKX
CPU part number 0x2100
X.25 software, Version 3.0.0.
Bridging software.
Basic Rate ISDN software, Version 1.1.
2 POTS Ports
1 Ethernet/IEEE 802.3 interface(s)
1 ISDN Basic Rate interface(s)
4M bytes of physical memory (DRAM)
8K bytes of non-volatile configuration memory
8M bytes of flash on board (4M from flash card)

%Configure a "dialer in-band", or "dialer pool" first.
%Configure a "dialer in-band", or "dialer pool" first.
%Configure a "dialer in-band", or "dialer pool" first.


Press RETURN to get started!


00:00:26: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
*Mar 1 01:00:27: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, cha
nged state to up
*Mar 1 01:00:32: %SYS-5-CONFIG_I: Configured from memory by console
*Mar 1 01:00:32: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C800 Software (C800-SY6-MW), Version 12.2(1), RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Fri 27-Apr-01 13:27 by cmong
*Mar 1 01:00:33: %LINK-3-UPDOWN: Interface BRI0, changed state to up

=============================================

ciò che succede con boot 12.05:

Cisco Internetwork Operating System Software
IOS (tm) C800 Software (C800-Y6-MW), Version 12.0(5)T, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 23-Jul-99 01:30 by kpma
*Mar 1 01:00:33: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 85 changed to
up
*Mar 1 01:00:35: %LINK-3-UPDOWN: Interface BRI0:2, changed state to up
*Mar 1 01:00:36: %DIALER-6-BIND: Interface BRI0:2 bound to profile Dialer1
*Mar 1 01:00:36: %DIALER-6-UNBIND: Interface BRI0:2 unbound from profile Dialer
1
*Mar 1 01:00:36: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down
*Mar 1 01:00:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, change
d state to down
*Mar 1 01:00:38: %LINK-3-UPDOWN: Interface BRI0:2, changed state to up
*Mar 1 01:00:38: %DIALER-6-BIND: Interface BRI0:2 bound to profile Dialer1
*Mar 1 01:00:38: %ISDN-6-CONNECT: Interface BRI0:2 is now connected to 70201871
87
*Mar 1 01:00:38: %DIALER-6-UNBIND: Interface BRI0:2 unbound from profile Dialer
1
*Mar 1 01:00:38: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down

===============================================

ehm...capisco di esser statomolto confusionario...spero si capisca...

grazie ancora
Avatar utente
mip
Cisco enlightened user
Messaggi: 149
Iscritto il: mer 23 nov , 2005 5:10 pm
Località: Rovigo

Ciao.
Allora, intanto per eliminare le vecchie immagini di IOS dalla Flash, dovresti entrare in boot mode e digitare

Codice: Seleziona tutto

delete c800-y6-mw.120-5.t
A questo punto, digitando di nuovo

Codice: Seleziona tutto

list
dovrebbe apparirti di nuovo l'immagine eliminata, ma stavolta con il flag "D" aggiuntivo.
Ora, dai un bel

Codice: Seleziona tutto

erase
e la tinyrom effettuerà la reale cancellazione dell'immagine vecchia. Puoi ovviamente ricontrollare al termine della "erase" digitando "list" di nuovo per vedere che la vecchia immagine è sparita.
A questo punto c'è una cosa che mi lascia perplesso nella tua config: dov'è finito il numero del destinatario da chiamare? Dovrebbe esserci un

Codice: Seleziona tutto

dialer string 7020187187
all'interno della Dialer1.
Poi ti manca parte del ppp e la configurazione delle pots...facciamo così, ti posto una conf che ho usato per un 803 con ios 12.2-32 con feature "IP", dagli un'occhiata e correggi la tua in base a quella.
Magari, prima di ricopiare la mia conf, dai un bel

Codice: Seleziona tutto

erase nvram:
Poi...facci sapere.

Codice: Seleziona tutto

!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname <tuo hostname>
!
boot system flash c800-y6-mw.12.2-32.bin
logging buffered 4096 debugging
enable secret <tua password>
!
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
!
dial-peer voice 1 pots
 caller-id
 no forward-to-unused-port
 no call-waiting
 ring 0
 registered-caller ring 1
 port 1
 destination-pattern <tuo num telefono>
!
pots country DK
ip subnet-zero
!
ip name-server 212.216.112.112
ip name-server 212.216.172.62
ip telnet source-interface Ethernet0
isdn switch-type basic-net3
isdn tei-negotiation first-call
!
!
!
interface Ethernet0
 description connected to EthernetLAN
 ip address 192.168.0.2 255.255.255.0
 ip nat inside
 no cdp enable
!
interface BRI0
 description connected to Internet
 no ip address
 encapsulation hdlc
 dialer pool-member 1
 isdn switch-type basic-net3
 isdn voice-priority always
 isdn incoming-voice modem
 no cdp enable
 no shutdown
!
interface Dialer1
 description connected to Internet
 ip address negotiated
 ip nat outside
 encapsulation ppp
 ip tcp header-compression
 no ip split-horizon
 dialer pool 1
 dialer remote-name <tuo num telefono>
 dialer string 7020187187
 dialer caller <tuo num telefono>
 dialer hold-queue 10
 dialer-group 1
 custom-queue-list 1
 no cdp enable
 ppp authentication chap pap callin
 ppp chap hostname telecom
 ppp chap password Telecom
 ppp pap sent-username telecom password Telecom
 ppp multilink
 ppp multilink load-threshold 1 either
!
router rip
 version 2
 passive-interface Dialer1
 network 192.168.0.0
 no auto-summary
!
ip nat translation timeout 900
ip nat translation tcp-timeout 900
ip nat translation udp-timeout 600
ip nat translation finrst-timeout 300
ip nat translation syn-timeout 120
ip nat translation dns-timeout 300
ip nat translation icmp-timeout 120
ip nat translation max-entries 8192
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static tcp 192.168.1.2 4662 interface Dialer1 4662
ip nat inside source static udp 192.168.1.2 4672 interface Dialer1 4672
ip nat inside source static tcp 192.168.1.2 6881 interface Dialer1 6881
ip nat inside source static udp 192.168.1.2 6881 interface Dialer1 6881
ip http server
ip http access-class 1
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
access-list 1 permit 192.168.0.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
snmp-server community public RO 1
snmp-server location xxxx
snmp-server contact [email protected]
snmp-server enable traps tty
no service config
!
line con 0
 exec-timeout 0 0
 transport preferred all
 transport output all
 stopbits 1
line vty 0 4
 access-class 1 in
 exec-timeout 0 0
 password <tua password>
 login
 transport preferred all
 transport input all
 transport output all
!
sntp server 150.145.55.6
no rcapi server
!
!
end
Saluti

mip

UPDATE:
Ho modificato la configurazione per il tuo uso.
Dovrai solamente sostituire il tuo numero di telefono e la tua password dove specificati. L'snmp è attivo, e può essere utile per la visione delle statistiche del router. E' attivo anche il server http (solo per la rete interna ovviamente), tramite quello, con un paio di link sul desktop, ti puoi gestire i problemi più comuni che ti possono capitare.
Es.:

Disconnetti tutti i canali
http://hostname:[email protected]/le ... /BRI/0/all

Statistiche Caller
http://hostname:[email protected]/le ... er/full/CR

Stato linea
http://hostname:[email protected]/le ... /active/CR

Riavvio Router
http://hostname:[email protected]/le ... /reload/CR

L'unico dubbio è su "Disconnetti tutti i canali", che non ricordo se sulla 12.2 sia
http://hostname:[email protected]/le ... /BRI/0/all
o
http://hostname:[email protected]/le ... /BRI/0/all

Saluti

mip
Tatanka
n00b
Messaggi: 3
Iscritto il: mer 14 giu , 2006 9:59 pm

Intanto grazie per la disponibilità, dopovarie peripezie son riuscito a cancellare i files che nn servivanonella flashe a caricare la tua configurazione, nn si connette (anche se si accendono luci sulrouter che prima nn vedevo) e il log è questo:

Codice: Seleziona tutto

Memory Protection Violation:
    epc  =0x00654F94, location of fault
    eva  =0x00000???, read fault address
    error=0x00000082, illegal address
    pti  =0x00000000
    pte  =0x02102100


CPU Register Context:
PC  = 0x00654F94  MSR = 0x00009032  CR  = 0x33000033
LR  = 0x00654D38  CTR = 0x00654B34  XER = 0xE000007F
R0  = 0x00000001  R1  = 0x00831460  R2  = 0x02000000  R3  = 0xFFFFFFFF
R4  = 0x00000018  R5  = 0x00000000  R6  = 0x00000003  R7  = 0x0000000A
R8  = 0x0299C63C  R9  = 0x00000000  R10 = 0x0000000A  R11 = 0x00000000
R12 = 0x0282B9E4  R13 = 0x00000000  R14 = 0x02849F38  R15 = 0x00000001
R16 = 0x00000000  R17 = 0x00000001  R18 = 0x00000000  R19 = 0x0299C63C
R20 = 0x00000000  R21 = 0x00000001  R22 = 0x02849F38  R23 = 0x0282B9E4
R24 = 0x00000000  R25 = 0x00008011  R26 = 0x00000000  R27 = 0x00000000
R28 = 0x00000000  R29 = 0x00000001  R30 = 0x00000000  R31 = 0x00000000

Traceback:
 0x0064F9F4
 0x005DFBE0
 0x005DFBB0
 0x00000000
00:08:36: %LINK-3-UPDOWN: Interface BRI0:2, changed state to up
00:08:36: %DIALER-6-BIND: Interface BR0:2 bound to profile Di1

00:08:38: %ISDN-6-DISCONNECT: Interface BRI0:2  disconnected from 7020187187 sta
ck1, call lasted 1 seconds
00:08:38: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down
00:08:38: %DIALER-6-UNBIND: Interface BR0:2 unbound from profile Di1

questo è lo sh run attuale:

Codice: Seleziona tutto

Current configuration : 2967 bytes
!
version 12.2
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname simba
!
boot system flash c800-sy6-mw.122-1.bin
logging buffered 4096 debugging
logging rate-limit console 10 except errors
enable secret 5 $1$251I$dZURfVMMXrHNMEwjcQL4I1
!
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
!
dial-peer voice 1 pots
 caller-id
 no forward-to-unused-port
 no call-waiting
 ring 0
 registered-caller ring 1
 port 1
 destination-pattern 014xxxx
!
pots country DK
ip subnet-zero
!
ip name-server 212.216.112.112
ip name-server 212.216.172.62
no ip finger
ip telnet source-interface Ethernet0
no ip dhcp-client network-discovery
isdn switch-type basic-net3
isdn tei-negotiation first-call
!
!
!
interface Ethernet0
 description connected to EthernetLAN
 ip address 192.168.0.2 255.255.255.0
 ip nat inside
 no cdp enable
!
interface BRI0
 description connected to Internet
 no ip address
 dialer pool-member 1
 isdn switch-type basic-net3
 isdn incoming-voice modem
 cdapi buffers regular 0
 cdapi buffers raw 0
 cdapi buffers large 0
 no cdp enable
!
interface Dialer1
 description connected to Internet
 ip address negotiated
 ip nat outside
 encapsulation ppp
 no ip split-horizon
 ip tcp header-compression
 no ip mroute-cache
 dialer pool 1
 dialer remote-name 014xxxxxx
 dialer string 7020187187
 dialer caller 014xxxxxx
 dialer hold-queue 10
 dialer-group 1
 custom-queue-list 1
 no cdp enable
 ppp authentication chap pap callin
 ppp chap hostname telecom
 ppp chap password 7 046F0E0A0A224343
 ppp pap sent-username telecom password 7 06320A2D494D0614
 ppp multilink
 multilink load-threshold 1 either
!
router rip
 version 2
 passive-interface Dialer1
 network 192.168.0.0
 no auto-summary
!
ip nat translation timeout 900
ip nat translation tcp-timeout 900
ip nat translation udp-timeout 600
ip nat translation finrst-timeout 300
ip nat translation syn-timeout 120
ip nat translation dns-timeout 300
ip nat translation icmp-timeout 120
ip nat translation max-entries 8192
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static udp 192.168.1.2 6881 interface Dialer1 6881
ip nat inside source static tcp 192.168.1.2 6881 interface Dialer1 6881
ip nat inside source static udp 192.168.1.2 4672 interface Dialer1 4672
ip nat inside source static tcp 192.168.1.2 4662 interface Dialer1 4662
ip http server
ip http access-class 1
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
access-list 1 permit 192.168.0.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
snmp-server community public RO 1
snmp-server location xxxx
snmp-server contact [email protected]
snmp-server chassis-id JAD04010SKX
!
line con 0
 exec-timeout 0 0
 transport input none
 stopbits 1
line vty 0 4
 access-class 1 in
 exec-timeout 0 0
 password 7 01110716590E140E
 login
!
sntp server 150.145.55.6
no rcapi server
!
!
end
Non so se cambia qualcosa avendo isdn doppio numero...devospecificarli entrambi? (ehm...dove e come :oops: )potrebbe esser solo questo il problema?

Ciao,

tat
Rispondi