Monday, August 25, 2014

Cisco 3750G Switch: How To Delete The Vlan Database

I was asked by a customer to take a Cisco 3750G and delete out the config and vlan information so that they could repurpose the switch for another area in the network.  Even though I have done this a lot, I realized that there are a lot of people out there who dont know how to delete the vlan database out.  And, to go with that, I have actually seen some Cisco documentation that is incorrect.  Here is what you have to do to get this vlan data deleted off the switch:
First, I deleted my config information.
Switch#write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [con
Erase of nvram: complete

Next, I delete the vlan information that was recieved from VTP.
Switch#delete flash:/vlan.dat
Delete filename [vlan.dat]?
Delete flash:/vlan.dat? [confirm]

Switch#dir flash:/
Directory of flash:/

    3  -rwx    13006601  Mar 22 2012 16:09:48 +00:00  c3750-ipservicesk9-mz.122-
    4  -rwx        1048   Mar 1 1993 00:08:14 +00:00  multiple-fs
    6  -rwx       10570  Dec 14 2012 06:19:17 +00:00  config.old

32514048 bytes total (19493888 bytes free)

No comments:

Post a Comment

Your comment will be reviewed for approval. Thank you for submitting your comments.