cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2987
Views
23
Helpful
8
Replies

VTP configuration is not in show run

p.tavan
Level 1
Level 1

Hello,

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

Patrice

8 Replies 8

mheusinger
Level 10
Level 10

Hi,

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 0.0.0.0 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

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...

bye

FCS

Please rate me if I helped.

Thank you FCS.

Martin,

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

Patrice

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

bye

FCS

Please rate me if I helped.

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

Patrice

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 []? 10.1.1.1

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.

Bosalaza,

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

Patrice