Help conf iniziale router cisco

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

Moderatore: Federico.Lagni

sabba
Cisco fan
Messaggi: 36
Iscritto il: sab 10 giu , 2006 4:57 pm

Ciao
Scusatemi ma ho assolutamente bisogno di una mano, ho fatto erase startup-config poi ho salvato ed adesso non ho più nulla.
Ho collegato il cavo console a hyper terminal, ma non riesco a impostare l'indirizzo ip di nessuna porta.
mi da:
% IP addresses may not be configured on L2 links
Cosa posso fare?
Il router e un cisco 877W
Avatar utente
TheIrish
Site Admin
Messaggi: 1840
Iscritto il: dom 14 mar , 2004 11:26 pm
Località: Udine
Contatta:

Penso di aver chiaro il problema, ed è un errore di concetto.
Il router in questione ha 1 interfaccia ethernet e 4 porte (ethernet).
Cosa vuol dire? Vuol dire che quelle quattro porte in realtà sono un switch collegato all'interfaccia.
Ne consegue che all'interfaccia devi dare un indirizzo IP, non alle porte.
Lui ti dice, infatti:
% IP addresses may not be configured on L2 links
Gli indirizzi ip non possono essere configurati su link di Layer 2.
sabba
Cisco fan
Messaggi: 36
Iscritto il: sab 10 giu , 2006 4:57 pm

Ciao
innanzitutto grazie.
Comunque forse mi sono espresso male intendevo che quando configuro la fastethernet0 allimmissione dell'indirizzo ip mi da quell'errore.
Come posso risolvere?
Avatar utente
andrewp
Messianic Network master
Messaggi: 2199
Iscritto il: lun 13 giu , 2005 7:32 pm
Località: Roma

Copiaci la sessione telnet.
Manipolatore di bit.
sabba
Cisco fan
Messaggi: 36
Iscritto il: sab 10 giu , 2006 4:57 pm

Innanzitutto ringrazio anche te.
Allora questo è quello che compare quando accendo:

System Bootstrap, Version 12.3(8r)YI2, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2005 by cisco Systems, Inc.

C870 series (Board ID: 1-148) platform with 131072 Kbytes of main memory

Booting flash:/c870-advsecurityk9-mz.124-4.T2.bin
Self decompressing the image : #################################################
######################### [OK]

Restricted R

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706



Cisco IOS Software, C870 Software (C870-ADVSECURITYK9-M), Version 12.4(4)T2, REL
EASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Feb-06 21:07 by ccai
Image text-base: 0x8002008C, data-base: 0x813F48A0


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsi
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
[email protected].

Cisco 877W (MPC8272) processor (revision 0x200) with 118784K/12288K bytes of m
ory.
Processor board ID FCZ1015222B
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
4 FastEthernet interfaces
1 ATM interface
1 802.11 Radio
128K bytes of non-volatile configuration memory.
24576K bytes of processor board System flash (Intel Strataflash)


--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: no


Press RETURN to get started!


*Mar 1 00:00:06.419: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State change
d to: Initialized
*Mar 1 00:00:06.427: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State change
d to: Enabled
*Mar 1 00:00:07.127: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to
upsslinit fn

*Mar 1 00:00:09.323: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
et0, changed state to up
*Mar 1 00:01:01.307: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to a
dministratively down
*Mar 1 0
Router>0:01:02.307: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0,
changed state to down
*Mar 1 00:01:03.299: %LINK-5-CHANGED: Interface ATM0, changed state to administ
ratively down
*Mar 1 00:01:04.299: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0, chan
ged state to down
*Mar 1 01:34:09.387: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C870 Software (C870-ADVSECURITYK9-M), Version 12.4(4)T2, REL
EASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Feb-06 21:07 by ccai
*Mar 1 01:34:09.387: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing
a cold start
*Mar 1 01:34:09.471: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Mar 1 01:34:09.471: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Mar 1 01:34:10.615: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, cha
nged state to up
*Mar 1 01:34:10.979: %LINK-3-UPDOWN: Interface FastEthernet3, changed state to
up
*Mar 1 01:34:10.987: %LINK-3-UPDOWN: Interface FastEthernet2, changed state to
up
*Mar 1 01:34:10.991: %LINK-3-UPDOWN: Interface FastEthernet1, changed state to
up
*Mar 1 01:34:10.995: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to
up
*Mar 1 01:34:11.147: %LINK-5-CHANGED: Interface Virtual-Dot11Radio0, changed st
ate to administratively down
*Mar 1 01:34:11.979: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
et3, changed state to down
*Mar 1 01:34:11.987: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
et2, changed state to down
*Mar 1 01:34:11.991: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
et1, changed state to down
*Mar 1 01:34:11.995: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
et0, changed state to up
*Mar 1 01:34:12.147: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Do
t11Radio0, changed state to down
Router>
Avatar utente
djdylan78
Network Emperor
Messaggi: 382
Iscritto il: ven 20 gen , 2006 2:01 pm

Cisco Certified
Spark
Cisco fan
Messaggi: 53
Iscritto il: ven 26 mag , 2006 3:27 pm

E' stato il primo problema che ho avuto anch'io col mio 837... :P
Il router ha 4 *porte*, non 4 *interfacce*.

Non devi configurare la fa0, ma la eth0.
Avatar utente
TheIrish
Site Admin
Messaggi: 1840
Iscritto il: dom 14 mar , 2004 11:26 pm
Località: Udine
Contatta:

Spark ha scritto:E' stato il primo problema che ho avuto anch'io col mio 837... :P
Il router ha 4 *porte*, non 4 *interfacce*.

Non devi configurare la fa0, ma la eth0.
Quello che volevo dire... in parole comprensibili.
sabba
Cisco fan
Messaggi: 36
Iscritto il: sab 10 giu , 2006 4:57 pm

Ciao
Grazie per le guide
Comunque non ho capito una cosa, ma se devo configurare le porte qual'è il comando?
Perchè ogni guida mi dice:
Router(config)#interface ethernet 0
che tra l'altro da me non funziona a meno che non metta fastethernet0.
Avatar utente
TheIrish
Site Admin
Messaggi: 1840
Iscritto il: dom 14 mar , 2004 11:26 pm
Località: Udine
Contatta:

Fa' un'opera pia, posta uno show interfaces.
Grazie
Avatar utente
djdylan78
Network Emperor
Messaggi: 382
Iscritto il: ven 20 gen , 2006 2:01 pm

magari anche un bel show ip interface brief
Cisco Certified
Avatar utente
andrewp
Messianic Network master
Messaggi: 2199
Iscritto il: lun 13 giu , 2005 7:32 pm
Località: Roma

Ehm...quando ho chiesto la sessione telnet intendevo cosa scrivi tu a manina e non il boot dell'apparato :P
Manipolatore di bit.
sabba
Cisco fan
Messaggi: 36
Iscritto il: sab 10 giu , 2006 4:57 pm

Ciao
Scusami se non ti ho capito.
Allora quello che scrivo è quello che vi è scritto nelle guide che mi sono state consigliate.
Ho seguito pure quella sulla versione per 827 su tiscali:
Router>enable
Router#
Router#conf t
Router(config)#
Router(config)#interface fastethernet0
Router(config -if)#
Router(config -if)#ip address 192.168.1.1 255.255.255.0
ma qui mi dà errore al 2l
Router(config -if)#no shutdown
Router(config -if)#exit
Router(config)#

Router#show ip interface brief
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0 unassigned YES unset up up

FastEthernet1 unassigned YES unset up down

FastEthernet2 unassigned YES unset up down

FastEthernet3 unassigned YES unset up down

Dot11Radio0 unassigned YES TFTP administratively down down

ATM0 unassigned YES unset administratively down down

Vlan1 unassigned YES unset up up

Virtual-Dot11Radio0 unassigned YES TFTP administratively down down
Scusatemi ma lo shoe interface non riesco a copiarlo.
Avatar utente
Ulisse31
Cisco fan
Messaggi: 26
Iscritto il: ven 10 mar , 2006 9:46 am
Località: Firenze
Contatta:

La butto lì... e se provi invece a fare:

Router>enable
Router#
Router#conf t
Router(config)#
Router(config)#interface ethernet0
Router(config -if)#
Router(config -if)#ip address 192.168.1.1 255.255.255.0

cosa succede?
Oddìo il crash di sistema!
Oddìo oddìo oddìo....
S-si prega d-di far r-r-riavviare s-solo da ragazza CARINA!
Avatar utente
TheIrish
Site Admin
Messaggi: 1840
Iscritto il: dom 14 mar , 2004 11:26 pm
Località: Udine
Contatta:

Ah ok... errore mio, non avevo fatto caso al modello del router.
L'indirizzo ip devi assegnarlo alla Vlan1.
Rispondi