cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5234
Views
0
Helpful
6
Replies

erasing a config and vlan.dat file in Catalyst 4507R Switch

Saroj Pariyar
Level 1
Level 1

Hi,

I am unable to erase the configuration from Catalyst 4507R Switch.When i do "write erase" and reload the switch,the configuration still remains on the switch.

Switch1#write erase

Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]

[OK]

Erase of nvram: complete

mp024-dc-nr00#sh start

startup-config is not present

After this i did reload and configuration still didn't get removed.

I  tried

erase /all nvram:

reload

This also didn't help.

I also tried:

erase /all non-default

reload

This also didn't help.

Can anyone suggest how to erase the config on Catalyst 4507R Switch.

Thanks,

6 Replies 6

Leo Laohoo
Hall of Fame
Hall of Fame

You need to reboot after doing the command "wr erase".

I rebooted the switch using "reload" command. But still the switch comes online with the original config. The strange thing is when i put the reload command, it doesnot ask me to save the config as other switch(Catalyst 6500,3750) does.

Thanks

Hi Saroj,

do you see the below symtoms:

Cat4500# write erase

Erasing the nvram filesystem will remove all files! Continue? [confirm]y[OK]

Erase of nvram: complete

Cat4500# reload

System configuration has been modified. Save? [yes/no]: n   

!--- Do not save the configuration at this prompt. Otherwise, the switch

!--- reloads with the current running configuration and does not reset to default.

Proceed with reload? [confirm]y                             

2w0d: %SYS-5-RELOAD: Reload requested

To erase the vlan.dat file on the 6500/6000 switches, issue the erase const_nvram: command. On the 4500/4000 switches, issue the erase cat4000_flash: command. On the fixed configuration switches, issue the delete flash:vlan.dat command.

HTH

Regards

Inayath

I didn't see that symptom and thats' where my concern is:

Cat4500# reload

System configuration has been modified. Save? [yes/no]: n   

when i put reload the switch will reload without asking me to save the config.

Thanks

when i put reload the switch will reload without asking me to save the config.

Yes it did.  The y/n question above. 

sedm0ndson
Level 1
Level 1

I had the same problem. I got it to erase after I typed reload and it prompted me that the configuration has been changed do you want to save it:yes/no. I typed no and reloaded. It came up clean

Review Cisco Networking for a $25 gift card