[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1072
  • Last Modified:

Can't get Cisco 4503 to save configuration....

I just got a new 4503 switch and I went through setting the hostname and 'enable secret', along with the vlan1 address and default gateway. However, after I wrote it to the configuration and rebooted the password was not the same and it locked me out. I had to go into ROMMON to get to the enable part and then I reset the password and other information. After I saved the configuration and reloaded the switch all the changes are gone.

I can't seem to save any data if the switch gets reloaded. The Vlan 1 interface is also showing as down even after I give it an ip and do the 'no shutdown' on the interface.

I've also tried running the confreg 0x102 with a reset after to get out of ROMMON but the switch won't save anything still.

Can anyone tell me how to get out of this mode that keeps on overwriting my configuration with no values at all or how I can perform a full factory default reset so that it starts out with the 'do you want to configure with the wizard' question?

I either need to get it totally reset so I can start from the beginning and so it will remember the values, or find a way to get out of this mode where it's dropping all the entries even though I'm writing them before I reload.
0
wlandymore
Asked:
wlandymore
  • 5
  • 5
2 Solutions
 
QuoriCommented:
Start the switch up, once it is finished you need to set the config register back to 0x2101
0
 
wlandymoreAuthor Commented:
I set it back to 0x2101 and it now says that it can't find the boot image and goes right to Rommon. Is this just going to involve me downloading a totally new image, putting it on the TFTP and downloading it to the system?

I wanted to avoid that....
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
wlandymoreAuthor Commented:
yeah, tried the 2102 as well. The functionality of those two commands is basically the same and if it can't find the IOC it's goes right to ROMMON. I can run through the first part of the doc when you are using Ctril+c to bypass the boot but after that it won't go to the Switch> prompt because it would normally be using the IOS to do that. Now that it thinks I don't have one it just goes back to ROMMON no matter what I do.
0
 
QuoriCommented:
Okay, this may or may not work, however try this:

flash_init
load_helper
then do a dir checking for the IOS image
0
 
QuoriCommented:
Though, that method usually only works for fixed config switches.
0
 
wlandymoreAuthor Commented:
Found this link on Cisco's site:

http://www.cisco.com/en/US/products/hw/switches/ps66/products_configuration_example09186a0080094ecf.shtml

I'm going to give that a try and see if I can recover the image.

I'll also try what you have above. Thanks for the input.
0
 
thesherminatorCommented:
can you post the output of show boot and showbootvar.
0
 
wlandymoreAuthor Commented:
Turns out that it was the boot var section that had been wiped out. I didn't get that from your post, Sherminator, but that's what it was.

In the end I ran the 'dir bootflash:' command which showed the image name. then I set the boot variable to the same image name and then ran the confreg back to 2102 again and wrote it to the config.

Thanks.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now