06-28-2011 10:49 AM - edited 03-07-2019 01:00 AM
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?
Solved! Go to Solution.
06-28-2011 11:32 AM
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
06-28-2011 11:04 AM
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.
06-28-2011 11:11 AM
Hi,
What do you mean locked config? Can you do anything when you're prompted "JPNBPSWA03#"?
Toshi
06-28-2011 11:12 AM
i can do show commands and thats all
06-28-2011 11:16 AM
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
06-28-2011 11:20 AM
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
06-28-2011 11:21 AM
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
06-28-2011 11:24 AM
Hi,
Good, Do you still need AAA commands?
Toshi
06-28-2011 11:27 AM
No this is the way it was when we purchased that switch.
06-28-2011 11:32 AM
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
06-28-2011 11:41 AM
Hi,
that worked.
thanks so much.
06-28-2011 11:41 AM
Hi,
My pleasure
Thanks
Toshi
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