cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
34481
Views
24
Helpful
9
Replies

How to set the config-register on a 2960

burleyman
Level 8
Level 8

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

9 Replies 9

sourabhagarwal
Level 4
Level 4

try with "confreg" command and see if it works for you.

I tried that in global config mode and it does not work.....

Mike

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

http://www.cisco.com/en/US/products/ps6406/products_configuration_guide_chapter09186a0080511fe2.html#wp1021182

And for password recovery section

http://www.cisco.com/en/US/products/ps6406/products_configuration_guide_chapter09186a0080511fe2.html#wp1090048

Take Care

I did know about that way. I was trying to change it with out having to take the switch offline.

Thanks,

Mike

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

patricksoltani
Level 1
Level 1

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#

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

 

Kandarp.patel
Level 1
Level 1

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

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.

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card