03-23-2015 05:01 AM - edited 03-07-2019 11:12 PM
Is there an exception to the rule "vlans cannot be created or modified" in client mode in vtp
03-23-2015 05:13 AM
Hi,
No exception its the main reason to be in Client mode, Try Server or Transparent mode to create/modify VLANs.
Kind Regards.
03-23-2015 11:27 PM
Hello Sarbjit,
Thanks for the response. I was asked about this in an interview question. And I replied the same. but he asked me it is possible and gave me as a homework. :) so was curious to know.
Regards
Vipul
03-24-2015 12:30 AM
Vipul,
Not sure what your interviewer was expecting as an answer. But yes your understanding is perfectly correct that you cannot create/modify/delete the vlans from client mode as it would through you the error saying: " VTP vlan configuration ont allowed when the device is in CLIENT mode.".
The only difference I can think of: As a _user_ in VTP client mode you have restrictions on_what you can do_ (create,delete,modify) to the vlan.dat file whereas in Server mode you(the user) have none of those restrictions. But from the _switches'_ own perspective it doesn't make the distinction between the two modes. In other words the switch is not aware of the mode the other switches are in.
A switch would not advertise to another switch like "hey I am a client/server" but will advertise "hey this is my revision number" and the other switch will then compare to it's own. The one with the highest revision number will be the one who gets the privelege to 'sync' its vlan.dat to the other switch.
HTH
03-24-2015 05:25 AM
The only way it could change anything in client mode is if you stick a new switch into the vtp domain (in client mode) with a higher vtp revision , if you do that then everything in the domain will change to the vlan setup on the switch that was inserted into the network. Maybe thats what he was going for .
03-24-2015 08:43 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Or a possible variation (i.e. not needing a new switch), shut down trunk link(s), change VTP mode to server, change VLAN information, change VTP mode to client, then lastly, unshut the trunk link(s).
All rather involved, but it would permit a "client" mode switch to change VLAN information used by other switches.
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