Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

VTP configuration is not in show run

Unanswered Question
Aug 4th, 2006
User Badges:


On a Catalyst 4506, where can I see the VTP saved configuration (VTP mode, VTP Domain name,...)? In which file ? Or with which command ?

Because show run does not make it appear !

And the VLAN config also ?

Thank you


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (5 ratings)
mheusinger Fri, 08/04/2006 - 03:13
User Badges:
  • Green, 3000 points or more


the vtp stuff is not in the running config, but in the vlan.dat in flash.

Use "show vtp status" to see what the current status of your switch is.

Switch#show vtp status

VTP Version : 2

Configuration Revision : 12

Maximum VLANs supported locally : 250

Number of existing VLANs : 13

VTP Operating Mode : Client

VTP Domain Name : MyVTP1

VTP Pruning Mode : Disabled

VTP V2 Mode : Disabled

VTP Traps Generation : Disabled

MD5 digest : 0xCB 0x1E 0xF2 0x66 0xE4 0x67 0xCD 0x57

Configuration last modified by at 3-2-93 17:02:57

show vtp password

sh vtp counters

VTP statistics:

Summary advertisements received : 76

Subset advertisements received : 27

Request advertisements received : 0

Summary advertisements transmitted : 71

Subset advertisements transmitted : 22

Request advertisements transmitted : 0

Number of config revision errors : 1

Number of config digest errors : 0

Number of V1 summary errors : 0

VTP pruning statistics:

Trunk Join Transmitted Join Received Summary advts received from

non-pruning-capable device

---------------- ---------------- ---------------- ---------------------------

Fa0/1 0 0 0

Fa0/2 0 0 0

Hope this helps! Please rate all posts.

Regards, Martin

farkascsgy Fri, 08/04/2006 - 03:44
User Badges:
  • Silver, 250 points or more

VLAN related configurations are stored in vlan.dat file.

For example:to set the VTP domain name to NULL (factory default) you can do this only with deleting the vlan.dat file. (it's a binary file not text)

And also show vlan command is useful to check the VLAN database...



Please rate me if I helped.

p.tavan Fri, 08/04/2006 - 04:40
User Badges:


Thank you, but when I do : show bootflash, I think I do not see the file vlan.dat,do you know why ?


farkascsgy Fri, 08/04/2006 - 04:55
User Badges:
  • Silver, 250 points or more

Check the flash the vlan.dat should be there...



Please rate me if I helped.

p.tavan Fri, 08/04/2006 - 05:20
User Badges:

OK, I will look more precisely, thank you FCS.


Roberto Salazar Fri, 08/04/2006 - 10:20
User Badges:
  • Gold, 750 points or more

You will not find vlan.dat on this platform on bootflash: or flash: or nvram:. It's in the cat4000_flash: file directory:

cat4000# dir ? >>> you should see all the filesystem directory. And you should see "cat4000_flash:", if you then do this:

cat4000#dir cat4000_flash:

Directory of cat4000_flash:/

1 -rw- 2116 vlan.dat

524280 bytes total (522164 bytes free)

To copy it to tftp server:

cat4000#copy cat4000_flash:vlan.dat tftp

Address or name of remote host []?

Destination filename [vlan.dat]?

As you can see above it's in the cat4000_flash:, that's NOT flash or bootflash or nvram.

Please rate the posts if it helped or resolve this issue.

p.tavan Sat, 08/05/2006 - 12:45
User Badges:


Thanks a lot, because effectively it does not appear in bootflash.



This Discussion