EFFACER/DEBLOQUER password routeur CISCO801

Fermé
Frédéric Kloetzlen - 16 mars 2002 à 17:31
 Nichois - 27 nov. 2006 à 11:40
Salut,

je m'adresse au administrateur/technicien d'un niveau avancé car le problème est de taille!!
je dois mettre à jour la config du routeur de ma boite (CISCO801 ISDN)

mais je n'ai pas le mot de passe de configuration pour modifier le fournisseur d'accés ( je remplace l'ancien responsable informatique..).

j'utilise fast and step 2.6 fr et ciscosurfwanadoo mais le problème reste le même en moment d'effacer l'ancienne config...

à l'aide les neurones, je prend toutes les procédures (anglais/français,telnet/terminale,...) que vous me proposerez...

Si peux à mon tour vous étre utile, je n'hésiterais pas...
;
@++ et bon week-end ( weeh-end vous avez dits week-end?!?!?)
A voir également:

6 réponses

Remettre en config usine :

Au démarrage du routeur par la console Hyperterminal:

Ctrl Pause

rommon1> confreg (Entrée)
" do you wish to change the configuraton?" taper : y (entrée)
Entrée jusqu'à la question suivante :
"enable system config info?" taper : y (ou n pour disable)
Entrée jusqu'à la question suivante :
"change the boot characteristics" taper : n
La première question s'affiche : taper n
rommon> ou rommon 1> s’affiche à nouveau : rebooter ou taper reset (Entrée)

Le routeur redémarre jusqu’à l’affichage de router>
Nous sommes ainsi prêt pour configurer le routeur ou afficher la config en tapant : sh start

router> enable (ou en)
router# conf t
router(config)# hostname lab-A
lab-A(config)# enable secret class (password du mode enable : class)
lab-A(config)# line con 0
lab-A(config)# login
lab-A (config)# password cisco (password du login)
lab-A (config)# line vty 0 4
lab-A (config-line)# login
lab-A (config-line)# password cisco
lab-A (config-line)# exit

Ensuite tu peux configurer les interfaces routeur s, eth, network, etc.
Ne pas oublier de suvegarder :
lab-A# copy running-config startup-config
Tu peux vérifier en tapant sh start ou sh run
Puis rebooter ou taper reset (Entrée)
Le routeur redémarre, il est configuré.
2
brupala Messages postés 109455 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 26 avril 2024 13 623
18 mars 2002 à 10:31
Tu as le cable console ?

et ... Voili  Voilou  Voila !
0
petervlan Messages postés 37 Date d'inscription jeudi 3 janvier 2002 Statut Membre Dernière intervention 17 février 2003 8
18 mars 2002 à 12:13
Marche à suivre pour récupérer son routeur cisco quand on a plus le mot de passe:

- connecte toi en mode console
- à l'écran s'affiche:
nom de ton routeur>

- tape
routeur> sh ver

tu vas voir alors un tas d'informations seul la dernière nous intéresse: configuration register

exemple:
Bridging software.
1 Ethernet/IEEE 802.3 interface(s)
1 ATM network interface(s)
128K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

ici le configuration register est 0x2102 il peut aussi être en 0x100

- éteint ensuite ton routeur

- allume le et pendant le boot fait CTRL-BREAK ( sur certain clavier la touche break est écrit sinon, CRTL-SUPPR, essaie plusieurs combinaisons ... )

- une fois le break envoyé, tu te retrouve avec :

rommon 2>

- tape:
rommon 2> confreg 0x2142 (ou 0x142 si tu avais 0x100 dans ton configuration register)

- tape
rommon2 > reset

le routeur va rebooter

- lorsque le routeur redémarre, tu réponds NO à la première question et tu appuies sur RETURN

tu as désormais :
Routeur >

tape:
Routeur> enable
le prompt change:
Routeur#
tape :
Routeur#copy start run
regarde la start up config:
router# sh startup-config
si le password n'est pas codé tu vas le voir.

sinon tu entres un nouveau mot de passe:

Router#conf t
Router(config)#enable secret (ton nouveau password)
Router(config)#exit
sauvegarde ta nouvelle conf:
Router#copy run start
et pour finir:

Router#conf t

Router(config)#config-reg 0x2102 (ou 0x102)
et

Routeur#exit

le routeur reboot et tu as mis ton nouveau mot de passe.

Voila!

A+
0
brupala Messages postés 109455 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 26 avril 2024 13 623
18 mars 2002 à 15:02
Salut Petervlan,
t'es sur que c'est pas plutot sur un 1600 ça ?
Moi pur un 800, j'ai plutot ça:


Table of Contents
Troubleshooting
Recovering a Lost Enable Password
Troubleshooting ISDN
Debug Commands
Telephone Interfaces


Troubleshooting
This chapter describes problems that could occur with the Cisco 800 series
router software, reasons for the problems, and steps to solve the problems.
The problems are grouped into the following areas:


Recovering a lost enable password


ISDN


Telephone interfaces

Before troubleshooting a software problem, you must connect a terminal or PC
to the router via the light-blue Console port. (For information on making
this connection, see the Cisco 800 Series Routers Hardware Installation
Guide or the Cisco 811 and Cisco 813 Routers Hardware Installation Guide.)
With a connected terminal or PC, you can read status messages from the
router and enter commands to troubleshoot a problem.

As an alternative, you can remotely access the interface (Ethernet, ISDN, or
telephone) by using Telnet. The Telnet option assumes that the interface is
up and running.

For information on troubleshooting hardware problems, refer to the Cisco 800
Series Routers Hardware Installation Guide or the Cisco 811 and Cisco 813
Routers Hardware Installation Guide.

Recovering a Lost Enable Password
This section describes how to recover a password that you configured with
the enable command (enable password).


----------------------------------------------------------------------------
----
Note You can recover a lost enable password but not a password that you
configured with the enable secret command (enable secret password). This
password is encrypted and must be replaced with a new enable secret
password. See the "Hot Tips" section on Cisco Connection Online (CCO) for
information on replacing enable secret passwords.

----------------------------------------------------------------------------
----

Follow these steps to recover a lost enable password:


----------------------------------------------------------------------------
----
Step 1 Connect an ASCII terminal or a PC running a terminal emulation
program to the Console port. For more information, see the Cisco 800 Series
Routers Hardware Installation Guide.

Step 2 Configure the terminal at 9600 baud, 8 data bits, no parity, and 1
stop bit.

Step 3 Reboot the router.

Step 4 From the user EXEC mode, display the existing configuration
register value:

Router> show version



Step 5 Record the setting of the configuration register.

The setting is usually 0x2102 or 0x102.

Step 6 Record the break setting.


Break enabled-bit 8 is set to 0.


Break disabled (default setting)-bit 8 is set to 1.


----------------------------------------------------------------------------
----
Note To enable break, enter the config-register 0x01 global configuration
command.

----------------------------------------------------------------------------
----

Step 7 Do one of the following:


If break is enabled, go to Step 8.


If break is disabled, turn the router off, wait 5 seconds, and turn it on
again. Before the terminal displays Boot..., press Escape or Control-C. The
terminal displays the ROM monitor prompt (boot#).
Go to Step 9.


----------------------------------------------------------------------------
----
Note Some terminal keyboards have a key labeled Break. If your keyboard
does not have a Break key, refer to the documentation that came with the
terminal for instructions on how to send a break.

----------------------------------------------------------------------------
----

Step 8 Send a break. The terminal displays the following prompt:

boot#


Step 9 Reset the configuration register:

boot# set ios-conf = 142



Step 10 Initialize the router:

boot# boot [flash]


The router cycles its power, and the configuration register is set to 0x142.
The router uses the boot ROM system image, indicated by the system
configuration dialog:

--- System Configuration Dialog ---


Step 11 Enter no in response to the prompts until the following message is
displayed:

Press RETURN to get started!


Step 12 Press Return. The following prompt appears:

router>


Step 13 Enter privileged EXEC mode:

router> enable



The prompt changes to the privileged EXEC prompt:

router#


Step 14 Display the enable password in the configuration file:

router# show startup-config



Step 15 Enter configuration mode:

router# configure terminal



Step 16 Reset the configuration register:

router# config-register value



Specify the value that you recorded in Step 5 (usually 0x2102 or 0x102).

Step 17 Press Ctrl-Z to exit configuration mode.


----------------------------------------------------------------------------
----
Note To return to the configuration being used before recovering the lost
enable password, do not save the configuration changes before rebooting the
router.

----------------------------------------------------------------------------
----

Step 18 Reboot the router and enter the recovered password.




et ... Voili  Voilou  Voila !
0
brupala Messages postés 109455 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 26 avril 2024 13 623
18 mars 2002 à 15:20
PS,
Pour envoyer un break avec hyperterminal, c'est CRTL+[break].

et ... Voili  Voilou  Voila !
0
petervlan Messages postés 37 Date d'inscription jeudi 3 janvier 2002 Statut Membre Dernière intervention 17 février 2003 8
18 mars 2002 à 16:22
C'était sur un cisco 827,


la différence se joue apparament sur les valeurs de registre sur les 800 0X142 et quelques commandes
Merci pour l'info

Je peux me renseigner sur la CCO cisco si vous voulez.
0
brupala Messages postés 109455 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 26 avril 2024 13 623 > petervlan Messages postés 37 Date d'inscription jeudi 3 janvier 2002 Statut Membre Dernière intervention 17 février 2003
18 mars 2002 à 17:32
OK,
j'ai vérifié, pour le 827, ça ressemble au 1600 effectivement,
Pour le 801 le boot est différent et les commandes aussi donc.
la valeur du registre (0X142) est la m^me pour tous.
J'ai donc appris aussi kekchose (pour le 827).

et ... Voili  Voilou  Voila !
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
Sans le mot de passe tu est vraiment dans la merde... parce que sans lui on ne fait rien.
A moins que tu sois bricoleur (mais un très bon alors) et que tu ouvres ton routeur, tu déconnecte la flash contenant les informations (et donc le mot de passe) et que tu reflache ça toi même, mais je crois que c'est Mission Impossible.
Bref, retrouve l'ancien mec avec le mot de passe tu aura plus de chance de réussir.
Bon courage.
Ben.
-2
Retrouve l'ancein mec c tout c q tu as à faire
je fais unBTS info et je suis en stage dans une entreprise ou ils sont en Ethernet 10 bs T( paire Torsadée) avec 2 liaisons Fibre Optiq et que des Hubs ils veulent améliorer leur réseau à moindre cout
j'ai penser à un switch mais avec quel caractéristiq ?
ou mettre en place des routeurs(PC avec 2 carte)?
sivous avez des idées ou des réponses je suis ouverte à tout
merci d'avance
-2
brupala Messages postés 109455 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 26 avril 2024 13 623
19 mars 2002 à 17:09
Si c'est à moindre coup, il faudra se contenter de switchs, tout dépend du nombre de prises nécéssaires.
Je ne crois pas qu'un routeur à base de pc avec x cartes ethernet amèliore leur réseau, au contraire, c'est pas fait pour et plutot à réserver au partage d'un accès distant à relativement basse vitesse.

et ... Voili  Voilou  Voila !
0