cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2685
Views
0
Helpful
11
Replies

c2960 Password Recovery not working

MgramsING
Level 1
Level 1

I have about 8 c2960's that our company bought from another country. I went through 5 of them doing the password recovery proccess as listed. Then i got to the next three and the recovery proccess does not work. after I rename that flash:config.text and reboot it just returns to the locked configuration in which i began with. any help?

1 Accepted Solution

Accepted Solutions

Hi,

   Okay, Please let me know if it wasn't what you want.

1. You don't want to use the existing configuration file.

2. If yes,you don't need to do this step "Switch#copy flash:config.text system:running-config"

3. Just configure what you want.

F.e.

!

Switch#conf term

Switch(conf)#enable password 0 cisco123

Switch#write mem

!

HTH,

Toshi

View solution in original post

11 Replies 11

MgramsING
Level 1
Level 1

Switch#copy flash:config.text system:running-config
Destination filename [running-config]?

18029 bytes copied in 1.308 secs (13784 bytes/sec)
JPNBPSWA03#

this is the last command I use before it return to the locked config.

Hi,

  What do you mean locked config?  Can you do anything when you're prompted "JPNBPSWA03#"?

Toshi

i can do show commands and thats all

JPNBPSWA17#config t
% Authorization failed.

JPNBPSWA17#show
% Type "show ?" for a list of subcommands
JPNBPSWA17#show ?
  aaa                Show AAA values
  access-lists       List access lists
  accounting         Accounting data for active sessions
  aliases            Display alias commands
  archive            Archive functions
  arp                ARP table
  auto               Show Automation Template
  auto               Show Automation Template
  boot               show boot attributes
  buffers            Buffer pool statistics
  cable-diagnostics  Show Cable Diagnostics Results
  cca                CCA information
  cdp                CDP information
  class-map          Show QoS Class Map
  clock              Display the system clock
  cluster            Cluster information
  cns                CNS agents
  configuration      Configuration details
  controllers        Interface controller status
  crypto             Encryption module
  dampening          Display dampening information
  debugging          State of each debugging option

Hi,

Okay, Seems we need to verify things. Can you do "JPNBPSWA03#show running" and post it here?  Actually Id like to see the output of  "Switch#more flash:config.text" before you do a copy command.  Seems AAA commands were configured.

Toshi

JPNBPSWA17#show runn
Building configuration...

Current configuration : 19837 bytes
!
version 12.2
service nagle
no service pad
service tcp-keepalives-in
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
!
hostname JPNBPSWA17
!
logging buffered 81920 debugging
logging rate-limit 100
no logging console
enable password 7 011A08030E5E565A
!
username JPiAL007 password 7 091D035A1C0602000E1C056E6F33272131
aaa new-model
aaa authentication fail-message ^CCCLOGIN FAILED^C
aaa authentication password-prompt "Enter Passcode: "
aaa authentication username-prompt "Enter Username: "
aaa authentication login default line
aaa authentication login VTY group tacacs+ local-case
aaa authentication login local-method local-case
aaa authentication enable default enable
aaa authorization config-commands
aaa authorization exec default group tacacs+ none
aaa authorization commands 1 default group tacacs+ if-authenticated
aaa authorization commands 15 default group tacacs+ if-authenticated
aaa authorization reverse-access default group tacacs+ none
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 1 default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
aaa accounting connection default start-stop group tacacs+
aaa accounting system default start-stop group tacacs+
!
aaa session-id common
clock timezone jst 9
vtp mode transparent
udld aggressive

Hi,

  Good, Do you still need AAA commands?

Toshi

No this is the way it was when we purchased that switch.

Hi,

   Okay, Please let me know if it wasn't what you want.

1. You don't want to use the existing configuration file.

2. If yes,you don't need to do this step "Switch#copy flash:config.text system:running-config"

3. Just configure what you want.

F.e.

!

Switch#conf term

Switch(conf)#enable password 0 cisco123

Switch#write mem

!

HTH,

Toshi

Hi,

that worked.

thanks so much.

Hi,

   My pleasure

Thanks

Toshi