×

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 Mode not staying set?

Unanswered Question
Feb 16th, 2006
User Badges:

I was configuring a C3560-48PS for deployment in my new job and I asked my boss if he wanted to review my config before I setup a swap time. He did and came back to me stating I needed to set the switch to be a VTP client on suchandsuch domain. Hmm.. I thought I did that. So I con'd the switch, conf t, vtp mode client, vtp domain ABC123, ctrl-z. did a status on vtp, in client mode. great! So did a copy ru star and reloaded. Switch came up, just for grins did a vtp status. It's back in server mode (the switch is not currently on the network). Hmm.. So I inquired to my boss, he was puzzled and suggested an IOS upgrade. I loaded up the 12.2(25)SEE version. reloaded. attempt to set vtp to client again, saved, reloaded. and it's STILL saying it's in server mode. What the heck? This should be a fairly simple process. Any idea?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
lgijssel Thu, 02/16/2006 - 13:19
User Badges:
  • Red, 2250 points or more

The process is almost simple as you assume!

You probably missed one step:

I think you should exit the vtp config mode using "exit". It is then that the changes are applied.

After that you may terminate config mode with ctrl-z or end. Don't forget to save and good luck with your new job! ;-)


Regards,

Leo

raun.williams Thu, 02/16/2006 - 13:53
User Badges:

Thank you for the reply.

EXIT will save your vlan / vtp config in the vlan database and then drop you back to host#. However, in configure terminal, exit will drop you back to the next top layer or root of the configuration. If your at root, it'll drop you to host# as well, just like END or CTRL-Z. Regardless. I tried your suggestion anyways, same result :( help..

jarathbu Thu, 02/16/2006 - 13:53
User Badges:
  • Bronze, 100 points or more

Hello,


The default is VTP Server with a NULL domain. VLAN and VTP data is stored within the flash:vlan.dat file. If you change the VTP mode to client first, client's can't change VTP attributes per se. If you don't have a vlan.dat file in flash and you change vtp to client and then save - these changes will not be applied. However, while in default server mode, simply set the domain name, then save the config, verify you have a vlan.dat file - then you can make any changes you like (see attachment).


Hope this helps.



Regards,


James





Attachment: 
raun.williams Thu, 02/16/2006 - 14:09
User Badges:

gah.. i knew it had to be something so simple. always is. Thank you very much. I appreciate that text file, very helpful in explaining as well.

raun.williams Thu, 02/16/2006 - 14:11
User Badges:

Curious though, I can understand that when you set it to client, it won't change the domain. But why would it not save the fact you changed it to client? Is this because there was not vlan.dat file, as there wasn't. And what would cause the vlan.dat file not to be there?

jarathbu Thu, 02/16/2006 - 14:24
User Badges:
  • Bronze, 100 points or more

Hello,


As you said this was a NEW switch - I suspect there wasn't a vlan.dat file to start with.


Regards,


James

Actions

This Discussion