02-07-2007 06:13 AM - edited 03-03-2019 03:39 PM
I have tried the config-register command and it is not available. Here is part of the show ver command. I want to change the config-reg from 0xF to 0x2102.
I have run into this before but don't remember how to correct it.....I think I have to use the boot command but not sure. Here it the output
show ver
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)
ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)
System returned to ROM by power-on
System image file is "flash:c2960-lanbase-mz.122-25.FX/c2960-lanbase-mz.122-25.FX.bin"
cisco WS-C2960-24TT-L (PowerPC405) processor (revision A0) with 61440K/4088K bytes of memory.
Last reset from power-on
4 Virtual Ethernet interfaces
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
64K bytes of flash-simulated non-volatile configuration memory.
Model number : WS-C2960-24TT-L
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C2960-24TT-L 12.2(25)FX C2960-LANBASE-M
Configuration register is 0xF
Thank you
02-07-2007 06:34 AM
try with "confreg" command and see if it works for you.
02-07-2007 06:47 AM
I tried that in global config mode and it does not work.....
Mike
02-07-2007 07:15 AM
hi
Just off your switch and press the mode button
while pressing mode button start the switch again and keep your finger pressed on mode Button ( Mode button is present in front At Left Hand )
Now release the Mode button after 15 to 30 seconds
Now follow the below lines
If the password-recovery mechanism is enabled, this message appears:
The system has been interrupted prior to initializing the flash file system. The following
commands will initialize the flash file system, and finish loading the operating system
software:
flash_init
load_helper
boot
Step 1 Initialize the flash file system:
switch: flash_init
Step 2 If you had set the console port speed to anything other than 9600, it has been reset to that particular speed. Change the emulation software line speed to match that of the switch console port.
Step 3 Load any helper files:
switch: load_helper
Step 4 Display the contents of flash memory:
switch: dir flash:
The switch file system appears:
Directory of flash:
13 drwx 192 Mar 01 1993 22:30:48 c2960-lanbase-mz.122-25.FX
11 -rwx 5825 Mar 01 1993 22:31:59 config.text
18 -rwx 720 Mar 01 1993 02:21:30 vlan.dat
16128000 bytes total (10003456 bytes free)
Step 5 Rename the configuration file to config.text.old.
This file contains the password definition.
switch: rename flash:config.text flash:config.text.old
Step 6 Boot the system:
switch: boot
You are prompted to start the setup program. Enter N at the prompt:
Continue with the configuration dialog? [yes/no]: N
Step 7 At the switch prompt, enter privileged EXEC mode:
Switch> enable
Step 8 Rename the configuration file to its original name:
Switch# rename flash:config.text.old flash:config.text
now I hope you will done with it
If my post helps you then please do rate it
For full details follow this link
And for password recovery section
Take Care
02-07-2007 11:24 AM
I did know about that way. I was trying to change it with out having to take the switch offline.
Thanks,
Mike
02-07-2007 09:32 PM
Hi
Switches and router's password recovery function is different and so its not possible to change config register value in global mode of switch because switch doesn't support it. The thing you can change the password or Config register value is to rename the flash:config.text file with flash:config.old file so your switch will start work in 0x2102
HTH
05-11-2011 06:39 PM
didn't find the info on the web, or docs, but here is the solution if someone else is looking for; too intiutive for cisco tho ;-).
NPM6SWITCH#config t
Enter configuration commands, one per line. End with CNTL/Z.
NPM6SWITCH(config)#line con 0
NPM6SWITCH(config-line)#speed 115200
NPM6SWITCH(config-line)#end
NPM6SWITCH#
12-13-2014 09:16 PM
Listo:
Despues de unas 4 horas de investigacion ya esta solucionado:
El proceso es estricto, y debe seguirse en ese orden sino no funciona
http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/12040-pswdrec-2900xl.html
POR FIN!!!
ANTIGUO!!!!
Tampoco funciona regresarlo a la configuracion express por defecto, asi que no hay solucion hasta el momento
!!!!!!!!!!!!!!!!!!!
ANTIGUO!!!!
El mejor procedimiento es regresarlo a la configuracion express por defecto
He probado con esto y al parecer el registro persiste con esta configuracion!!
Estamos en el caso de que el switch esta trabajando a 115200 y lo queremos pasar a 9600
=======================================================================
Nos conectamos al switch por consola con la velocidad de 115200
Desde consola borramos el archivo de configuracion del switch
switch#erase startup-config
confirmamos!!!
Para restablecer la velocidad de la conexion de consola a 9600
==================================================
Abrir una ventana de terminal configurado a 9600
Apagar el switch y desenchufarlo
Presionar el boton mode y sin soltarlo enchufar el switch
Esperar a que el led SYST cambie a ambar
Nos fijamos que en el prompt del terminal de consola aparecera:
switch:
Ahi escribimos:
set BAUD 9600
luego escribimos:
boot
01-24-2022 01:25 PM
Its been 15 year but still posting
Looks like its not changeable.
https://community.cisco.com/t5/switching/configuration-register-is-0xf-why/td-p/1036217
01-24-2022 10:53 PM
You posted a link to an interesting discussion. So +5 for that.
These are very old discussions. So this demonstrates that the behavior has been very consistent. I would like to ask the question about why we are concerned about the config register for 2960 switches. I suspect that it is because most of us hold a very deep seated belief in the power of 0x2102 vs 0x2142, or other permutations of the config register. But we learned that while dealing with the OS for routers. The OS for 2960 (while we call both of them IOS) is quite different from the OS for routers. And the config register for 2960 switches does not do the same things as the config register for routers.
In support of this statement I would point to the differences in password recovery for routers vs the process for 2960 switches. For routers the password recovery involves changing the value of the config register. But password recovery for 2960 switches does not do anything with the config register! Password recovery for 2960 switches involves changing/hiding the startup config file so that the switch boots without any startup config. The fact that we do not just change the config register is an acknowledgment of the fact that it operates differently (or not at all) on 2960 switches.
02-24-2025 12:35 PM
ing same issue c2960s series 48 ports switch goes directly in romom mode after power cycle , reloading is fine but when i switched off then on iy show the romon prompt .. switch:
installed the fresh ios show flash commands showing the ios file , show boot shows that fresh ios file is there , config-register value ix 0xf , i can canhge it is global configuration mode
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide