mardi 27 avril 2010

reset mot de passe cisco

Au démarrage sur le port série appuyer sur la touche Suppr sur le clavie dans les 60 secondes suivant le boot afin de passer le routeur en mode ROMMON.

I. Taper confreg 0x2142 au prompt rommon 1> afin de boot sur la flash

Cette étape permet d'outre passer la startup configuration ou les mots de passes sont sauvegardé.

II.  taper reset

image

Vous vous retrouvez avec un accès au routeur sans mot de passe.
  • Tapez configure memory ou copy startup-config running-config afin de copier la RAM(NVRAM) dans la mémoire courante (running config)

  • Ensuite tapez enable pour passer en mode configurationSource cisco web site in English

  • Tapez : enable secret motdepasse

  • Tapez username akabou privilege 15 secret 0 akabou

  • config-register 0x2102

  • tapez ctr-z

  • copy running-config startup-config

  • Vous pouvez a présent vous loguer avec votre nouveau mot de passe et login.





  • Type confreg 0x2142 at the rommon 1> prompt in order to boot from Flash.This step bypasses the startup configuration where the passwords are stored.
  • Type reset at the rommon 2> prompt.The router reboots, but ignores the saved configuration.

  • Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure.

  • Type enable at the Router> prompt.You are in enable mode and should see the Router# prompt.

  • Type configure memory or copy startup-config running-config in order to copy the nonvolatile RAM (NVRAM) into memory. Important: Do not type copy running-config startup-config or write. These commands erase your startup configuration.

  • Type show running-config.The show running-config command shows the configuration of the router. In this configuration, the shutdown command appears under all interfaces, which indicates all interfaces are currently shut down. In addition, the passwords (enable password, enable secret, vty, console passwords) are in either an encrypted or unencrypted format. You can reuse unencrypted passwords. You must change encrypted passwords to a new password.

  • Type configure terminal.The hostname(config)# prompt appears.

  • Type enable secret <password> in order to change the enable secret password. For example:

    hostname(config)#enable secret cisco




  • Issue the no shutdown command on every interface that you use.If you issue a show ip interface brief command in privilege EXEC mode, every interface that you want to use should display up up. For example:Router#show ip interface brief

  • Type config-register <configuration_register_setting>. Where configuration_register_setting is either the value you recorded in step 2 or 0x2102 . For example:

    hostname(config)#config-register 0x2102




  • Press Ctrl-z or end in order to leave the configuration mode.The hostname# prompt appears.

  • Type write memory or copy running-config startup-config in order to commit the changes.


  • Cisco password recovery

    Aucun commentaire:

    Enregistrer un commentaire