Write Erase - Remove VLANS
Another common question I see from people setting up a Cisco lab for their CCNA is...
"I did a write erase on the switch but the old vlans are still there. What gives?"
Well, doing a write erase will remove delete your startup config but it doesn't touch the vlan database.
If you would like to remove all traces of previous vlans as well as startup configurations do the following.
Rack1SW4#del vlan.dat
Delete filename [vlan.dat]?
Delete flash:vlan.dat? [confirm]
Rack1SW4#write erase
Make sure you answer no if prompted to save your config.
This works on Cisco 2900's, 3550's and 3560's and possibly others but I haven't tested them.
