Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

How to Configure a VTP Secondary Server

Hi

I have a VTP Version 2 enable with 1 Server and many clients..

I want to convert one of the clients in a Vtp Secondary server.

In the case of a failure of the primary the Vlan Database persist in the Domain.

6 REPLIES
Cisco Employee

Re: How to Configure a VTP Secondary Server

You sure can do it.. if it IOS switch, do the following

switch#vlan database

switch(vlan)#vtp mode server

switch(vlan)#exit

If it is CAT OS, issue

Console(enable) set vtp mode server

New Member

Re: How to Configure a VTP Secondary Server

But when i create this new VTP Server how i can ensure it takes the database from the existent????

Whith the revision number??

New Member

Re: How to Configure a VTP Secondary Server

Just make sure the revision number is lower on the secondary vtp server. If it isnt, change the domain to "null" an then back again, this will reset the revision number. I believe changing the vtp mode to transparent and then to server mode will also reset the counter.

Re: How to Configure a VTP Secondary Server

Hi,

you said "I want to convert one of the clients in a Vtp Secondary server".

So if your VTP domain works correctly, the client switch should have the same VLAN database and revision number as the server switch.

You can check it with sh vtp status or sh vtp domain command.

Just change the client mode to server.

The switch will save the current VLAN database to the flash (or config in CatOS) and work as VTP server with no problem.

Regards,

Milan

New Member

Re: How to Configure a VTP Secondary Server

OK

The revision number is the same and apparently the only thing that i have to do is to change the mode from client to Server.

But in the case that i want to make a backup to the Vlan.dat file in a CatOS switch where i can find?

Re: How to Configure a VTP Secondary Server

There is no Vlan.dat file in CatOS.

The VTP and VLAN info is saved as a part of VTP server config.

Use sh config sys

and find #VTP in the output.

You'll see set VTP ... and set VLAN ... commands.

That's it.

Regards,

Milan

535
Views
0
Helpful
6
Replies
CreatePlease to create content