Change Password CISCO Switch...Cambiar Password de Switch CISCO

It is very common to educated persons to share several different devices used in class, almost never use the same device for all classes, so it has a problem that occurs frequently in these classes is not to know the keys access assigned to the previous devices.

This article explains step by step and easily, remove the password of CISCO switch to assign a new and able to work with the
Previous steps to recover the password on a Cisco switch:

Connect a terminal or a PC with a terminal emulator (eg Hyper Terminal) to the console port of the switch
Set the line speed on the emulation software to 9600 baud.
Disconnect the switch power cord.
Press the Mode button while connecting the power cord to the switch.
You can release the mode button a second or two after the LED above port 1X goes off. Several lines of information about the software appear with instructions to report whether the password recovery procedure has been disabled or not.
If a message that begins with this:
The system has been interrupted prior to initializing the flash file system.
Type the following commands to initialize the flash file system
The system has been interrupted prior to initializing the flash file system.

The following commands will initialize the flash filesystem, and finish loading the operating system

software:

flash_init

load_helper

boot

1). Start the flash file system:

switch # flash_init

2). Switch # write next step load_helper upload any help

3). Display the contents of Flash memory:

Switch # dir flash:

3 drwx 10176 Mar 01 2001 00:04:34 HTML
6-rwx 2343 Mar 01 2001 03:18:16 config.text
171-rwx 1667997 Mar 01 2001 00:02:39 c2950-mz.121-i6q412-14.EA1.bin
7-rwx 3060 Mar 01 2001 00:14:20 vlan.dat
172-rwx 100 Mar 01 2001 00:02:54 env_vars
7741440 bytes total (3884509 bytes free) Do not forget to place the final two points of K.

4). Rename the configuration file for config.text.old.

This file contains the password defined.

Switch # rename flash: flash config.text: config.text.old
5). Boot the system

Switch # boot 6). You will be prompted to start the setup program. Enter N at the prompt:

Continue with the configuration dialog? [yes / no]: N
7). Enter the privileged EXEC mode: Switch> enable
8). Rename the configuration file to its original name:

Switch # rename flash: flash config.text.old: config.text

9). Copy the configuration file in memory: Switch # copy flash: config.text system: running-configSource filename [config.text]? Destination filename [running-config]? 10). Enter global configuration mode

Switch # configure terminal11). Change password

Switch (config) # enable secret that passwordRecordemos where password is the word we want to enter the password, the password can be 1 to 25 alphanumeric characters, can start with a number, is case sensitive, and allows spaces but ignore them

12). We return to the privileged exec mode

Switch (config) # exit Switch # 13). Enter the address to the boot configuration settings file:
Switch # copy running-config startup-configLa new password is now in the boot configuration
........................................................
Es muy común a nivel educativo que se compartan varias personas los diferentes dispositivos utilizados en clase, casi nunca utilizamos el mismo dispositivo para todas las clases, es por eso que un problema que se presenta con frecuencia en estas clases es la de no conocer las claves de acceso que le asigno la persona anterior a estos dispositivos.
En este articulo se explicara paso a paso y de manera sencilla, como eliminar la contraseña de los switch CISCO para asignar una nueva y poder trabajar con el
Pasos previos a la recuperacion del password en un switch CISCO:

Conecte un terminal o un PC con un emulador de terminal (por ejemplo, Hyper Terminal) para el puerto de consola del conmutador
Ajuste la velocidad de línea en el software de emulación a 9600 baudios.
Desconecte el interruptor cable de alimentación.
Pulse el botón de modo y al mismo tiempo conecte el cable de alimentación al interruptor.
Puede soltar el botón de modo de un segundo o dos después de que el LED por encima del puerto 1X se apaga. Varias líneas de información sobre el software aparecen con instrucciones, informar si el procedimiento de recuperación de contraseña se ha inhabilitado o no.
Si aparece un mensaje que empieza con esto:

El sistema ha sido interrumpido antes de inicializar el sistema de archivos flash.

Escriba Los siguientes comandos al inicializar el sistema de archivos flash

El sistema ha sido interrumpido antes de inicializar el sistema de archivos flash.

Los siguientes comandos inicializar el sistema de archivos flash, y terminar de cargar el sistema operativo

software:

flash_init

load_helper

boot

1). Iniciar el sistema de archivos flash:

switch#flash_init

2). Paso siguiente escribimos switch#load_helper Cargar archivos de cualquier ayuda

3). Mostrar el contenido de la memoria Flash:

Switch# dir flash:

3 drwx 10176 Mar 01 2001 00:04:34 HTML
6 -rwx 2343 Mar 01 2001 03:18:16 config.text
171 -rwx 1667997 Mar 01 2001 00:02:39 c2950-i6q412-mz.121-14.EA1.bin
7 -rwx 3060 Mar 01 2001 00:14:20 vlan.dat
172 -rwx 100 Mar 01 2001 00:02:54 env_vars
7741440 bytes total (3884509 bytes free)No olvidemos colocarle los dos puntos al final del comando

4). Cambie el nombre del archivo de configuración para config.text.old.

Este archivo contiene la contraseña definida.

Switch# rename flash: config.text flash: config.text.old
5). Boot al sistema

Switch# boot 6). Se le pedirá que inicie el programa de instalación. Introduzca el N en el símbolo del sistema:

Continue with the configuration dialog? [yes/no]: N
7). ingrese el modo EXEC privilegiado:Switch> enable
8). Cambie el nombre del archivo de configuración a su nombre original:

Switch# rename flash:config.text.old flash:config.text

9). Copie el archivo de configuración en la memoria:Switch# copy flash:config.text system:running-configSource filename [config.text]?Destination filename [running-config]?10). Entre en el modo de configuración global

Switch# configure terminal11). Cambie la contraseña

Switch (config)# enable secret passwordRecordemos que donde se encuentra la palabra password digitamos la contraseña que deseamos, la contraseña puede ser de 1 a 25 caracteres alfanuméricos, puede empezar con un número, es sensible a mayúsculas y minúsculas, y permite los espacios pero hace caso omiso de ellos.

12). Retornamos al modo exec privilegiado

Switch (config)# exit Switch#13). Escriba la dirección a la configuración de inicio archivo de configuración:

Switch# copy running-config startup-configLa nueva contraseña se encuentra ahora en la configuración de inicio

No hay comentarios:

Protected by Copyscape Original Article Checker