11-15-2021 08:53 AM
hi all,
when the 3850s are stacked and i want to delete all configs, ie vlan config and startup config, do i need to do this for every single switch or can i do it on the master switch only
thanks,
rob
11-15-2021 09:09 AM
Stack master is good enough.
11-15-2021 09:49 AM - edited 11-15-2021 09:58 AM
so will this work
delete nvram: startup-config
write erase
delete flash: vlan.dat
what one is best to use, write erase or delete nvram: startup-config
and once its reloaded do i do a
copy run start or a
copy start run?
11-15-2021 11:40 AM
write erase should do the job, you can also delete vlan.dat and startup-config, do not write, just reload.
11-15-2021 11:44 AM
Thanks balaji!!!
and obviously to save any changes I make after that I do a
Copy run start
I've seen other places you can literally just do a
Wr
Is that just the same as copy run start
11-15-2021 11:46 AM
Once all the configuration is erased, (personally no need to write) just reload it will go with quick start ask you to config.
11-15-2021 11:49 AM
Ok so once I reload, you say no need to save changes but then any changes I make is it best to do
Wr
Or
Copy run start
11-15-2021 05:05 PM
when the 3850s are stacked and i want to delete all configs, ie vlan config and startup config, do i need to do this for every single switch or can i do it on the master switch only
Lets go back to your original post, you looking to clear the stack config to Factory,. when you do delete files from flash except for IOS image, and wr erase all gone here. and reload go to factory whole stack. that means all the information is gone.
If you like to save any new config, If you like to configure once reloaded and save the config ? hope is this clear? or am i misunderstanding, (why I was keen to ask since you mentioned 2 times you want to write config so be sure we are both on the same page of understanding)
11-16-2021 03:11 AM
when you do delete files from flash except for IOS image, and wr erase
when you say the above, would a "write erase" command do this or do i have to do another command like
delete nvram: startup-config?
11-16-2021 04:04 AM - edited 11-16-2021 04:05 AM
Write erase does the job, but it not delete vlan.dat (it stored in NVRAM)
for safer side we delete startup-config or vlan.dat file.
delete flash:startup-config
or
delete flash:vlan.dat
11-16-2021 04:15 AM - edited 11-16-2021 04:26 AM
but "write erase" erases the startup config doesnt it?
edit - just found out as startup config in nvram write erase will delete all in nvram but not flash
11-16-2021 04:35 AM
yes it does :
just did test for you.
#write erase Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [OK] Erase of nvram: complete %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram #reload
Once reboot done, if you see any vlan.dat ( safe side delte it)
Hope this information help you get your head around the topic and take action now.
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