01-28-2013 10:15 AM - edited 03-07-2019 11:21 AM
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.
01-28-2013 11:48 AM
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
01-28-2013 12:05 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide