- Forums
- Networking
- How To Reset VLAN Network In A Cisco Switch
To Reset The Vlan Information To The Factory Defaults, All You Have To Do Is Delete The Vlan.dat File From The Flash Or Nvram And Reload The Switch [3485], Last Updated: Mon Jun 24, 2024
Webune Tutorials
Sun Jan 10, 2010
4 Comments
4283 Visits
Welcome to Webune
Webune Offers Web Hosting. If you are tired of your hosting provider. Switch to Webune Today!!!
if you followed us on the previous page of this tutorial, we showed you about
How To Reset Cisco Switch To Factory Defaults on this page we are going to show you the next step, which is to reset your VLAM config to the factory default.
To reset the VLAN information to the factory defaults, all you have to do is delete the vlan.dat file from the Flash or NVRAM and reload the switch, This post is for the purpose of showing you about resetting your VLAN configuration in your cisco catalyst switch. we are going to be using a cisco 2950 for this lab. to change the configurations of the switch, we will need to connect to the switch through the console terminal.
once you have connected a computer to the console terminal on your switch use this command:
1. Enable Mode:
COMMAND:
en
NOTE: you may have to enter the enable password
2. Show current VLAN Configurations in your switch:
COMMAND:
show vlan
###############
VLAN Name Status Ports##########
---- -------------------------------- --------- -------------------------------#########
File "flash:/c295
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
oint:
Fa0/21, Fa0/22, Fa0/23, Fa0/24
2 VLAN0002 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
3. Display the files contain in the flas directory:
COMMAND:
dir flash:
Directory of flash:/
2 -rwx 2888547 Mar 01 1993 00:03:35 c2950-i6q4l2-mz.121-13.EA1.bin
3 -rwx 269 Jan 01 1970 00:03:58 env_vars
7 drwx 832 Mar 01 1993 00:04:31 html
21 -rwx 109 Mar 01 1993 00:04:33 info
22 -rwx 109 Mar 01 1993 00:04:33 info.ver
23 -rwx 616 Mar 01 1993 02:09:46 vlan.dat
7741440 bytes total (2870272 bytes free)
if you look at the output information, you will see a file called:
vlan.dat this is the file we need to delete
4. Display the files contain in the flas directory:
COMMAND:
delete flash:vlan.dat
Delete filename [vlan.dat]?Enter
Delete flash:vlan.dat? [confirm]Enter
5. show the files contain in the flash directory again, you should not see the vlan.dat file anymore:
COMMAND:
dir flash:
5. reload the switch:
COMMAND:
reload
5. save the changes:
COMMAND:
System configuration has been modified. Save? [yes/no]: yes
Building configuration...
[OK]
Proceed with reload? [confirm] (Enter)
5. now that you have reset your flash defaults and VLAN, you can configure yout switch:
COMMAND:
setup
thats it, now you can configure your switch:
if you need more information you can visit cisco:
//www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800c4546.shtml