In this article, we will provide a sequence of commands to reset the configuration of a Cisco router. So:
Switch# delete flash:vlan.dat | Removes the VLAN database from flash memory |
Delete filename [vlan.dat]? | Press |
Delete flash:vlan.dat? [confirm] | Reconfirm by pressing Enter |
Switch# erase startup-config | Erases the file from NVRAM |
<output omitted> | |
Switch# reload | Restarts the switch |
Switch# write erase | Erases the startup-config file from NVRAM. This is an older version of the erase startup-config command |