Hi guys, let's discuss on how to reset VLAN and VTP database to factory default settings. This example is made by using Cisco Catalyst 2950.
Steps
1. VLAN and VTP information are stored in vlan.dat file which is located in flash.
2. To display files in flash, enter the command dir flash: or show flash. You will see the file vlan.dat.
4. Delete the file by following below command.
5. Reload the switch by entering below command.
6. After reload, the VLAN and VTP data will be set to default settings.
I hope this post will benefit you guys. Thank you for dropping by.
- Soulpower
Steps
1. VLAN and VTP information are stored in vlan.dat file which is located in flash.
2. To display files in flash, enter the command dir flash: or show flash. You will see the file vlan.dat.
SwitchB#dir flash: Directory of flash:/ 2 -rwx 660 Mar 01 1993 02:13:00 +00:00 vlan.dat 7 -rwx 2412 Mar 01 1993 05:11:18 +00:00 config.old 3 -rwx 3132319 Mar 01 1993 00:09:35 +00:00 c2950-i6q4l2-mz.121-22.EA14.bin 4 -rwx 840 Mar 01 1993 02:40:48 +00:00 config.text 5 -rwx 316 Mar 01 1993 00:12:13 +00:00 env_vars 21 -rwx 109 Mar 01 1993 00:05:00 +00:00 info 22 -rwx 109 Mar 01 1993 00:07:55 +00:00 info.ver 8 -rwx 5 Mar 01 1993 02:40:48 +00:00 private-config.text 7741440 bytes total (4600832 bytes free) SwitchB#show flash Directory of flash:/ 2 -rwx 660 Mar 01 1993 02:13:00 +00:00 vlan.dat 7 -rwx 2412 Mar 01 1993 05:11:18 +00:00 config.old 3 -rwx 3132319 Mar 01 1993 00:09:35 +00:00 c2950-i6q4l2-mz.121-22.EA14.bin 4 -rwx 840 Mar 01 1993 02:40:48 +00:00 config.text 5 -rwx 316 Mar 01 1993 00:12:13 +00:00 env_vars 21 -rwx 109 Mar 01 1993 00:05:00 +00:00 info 22 -rwx 109 Mar 01 1993 00:07:55 +00:00 info.ver 8 -rwx 5 Mar 01 1993 02:40:48 +00:00 private-config.text 7741440 bytes total (4600832 bytes free) |
SwitchB#delete flash:/vlan.dat Delete filename [vlan.dat]? Delete flash:/vlan.dat? [confirm] |
5. Reload the switch by entering below command.
SwitchB#reload Proceed with reload? [confirm] |
SwitchB#sh vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/9 Fa0/10, Fa0/11, Fa0/12 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 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 ------- --------- ----------------- ------------------------------------------ SwitchB#sh vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 128 Number of existing VLANs : 5 VTP Operating Mode : Server VTP Domain Name : VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x3F 0x17 0xC8 0xB8 0x5A 0xE3 0x01 0x66 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 |
- Soulpower
No comments:
Post a Comment