cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

2487
Views
0
Helpful
6
Replies
Beginner

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

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
Hall of Fame Community Legend

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

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

Beginner

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

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

Cisco Employee

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

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

Beginner

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

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

Hall of Fame Community Legend

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

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

Yes it did.  The y/n question above. 

Beginner

I had the same problem. I got

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

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards