cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4970
Views
0
Helpful
2
Replies

Some VLANs disappear from VLAN database after switch reboot

oldcreek12
Level 1
Level 1

Hi, I am having a weird issue with VLAN database on Cat6509 running "s72033-advipservicesk9-mz.122-33.SRE1.bin", I am not running VTP, so VTP is in default server mode, there are about 20 VLANs in the switch. After a power failure, the switch boots up with some VLANs missing, for VLANs that are NOT missing, VLAN names were gone. What could've caused this behavior? This has happened twice, yes, I saved the configuration via "wr mem" and "copy run start" multiple times after I made any configuration changes prior to power failure.

2 Replies 2

mgalazka
Level 1
Level 1

If you are not using VTP actively in your environment, it is recommended to configure your switches to use VTP transparent mode (vtp mode transparent).  This will prevent any inadvertant VLAN learning from happening within the environment.  Even if your switch is configured as a VTP server, if there is another VTP server in the same domain that is sending a higher config revision number, it will adjust its config with those settings.

That being said, if you change the mode to transparent but still have issues with vlan info not staying updated after reload, I suppose you could ensure your changes are being made to your vlan.dat file, which is where your VLAN info is stored.  On a 6509 you should be able to do:

more const_nvram:vlan.dat

and it will output a hex / ASCII dump of the file.  You should be able to read your ASCII dump of your vlan name (easiest change to make and validate is written).  Except from vlan.dat below for example (Vlan ID 200 (0xC8); Vlan name Switch-Mgmt):

00000150:  00000000 0B537769 7463682D 4D676D74    .... .Swi tch- Mgmt           

00000160:  00000000 00000000 00000000 00000000    .... .... .... ....           

00000170:  00000000 00000101 05DC00C8 00018768    .... .... .\.H ...h

Hopefully this helps you in your troubleshooting.

Matt

Hi, Matt,

Thanks a lot for your time, I do have the other switch default to VTP server mode which has identical VLANs, even the rebooted switch somehow synced VLAN from this switch (this should not happen as there is no vtp domain configured), how could some VLANs be missing? and surviving VLANs lost VLAN names?

To be on the safe side, I will change the VTP mode to transparent.

Jian

Review Cisco Networking for a $25 gift card