Lessons · Network switches · server, client, transparent
Server, client, transparent
The VTP mode decides where a switch keeps its VLANs: transparent puts them in the running configuration, server and client keep them in vlan.dat.
Hone is a place to practise programming. This is one of its lessons, written out in full and free to read without an account.
What it is for
It is the difference between a config file being the whole truth about a switch and being most of it. On a site managed as text files, transparent is the mode that makes the files honest.
How to think about it
`show vtp status` is one of the first five commands to type on an unfamiliar switch, because everything about backing it up depends on the answer.
Worked example
enableIn.
show vtp statusOperating Mode: Server. That is what a switch ships as.
configure terminalChange it deliberately.
vtp mode transparentAnnounced, the way IOS announces it.
vlan 10Now make a VLAN.
name STAFFNamed.
exitOut.
exitAnd out.
show running-config | include vlan 10In transparent mode it IS in the configuration.
Your turn
Find out which VTP mode this switch is in.
show vtp
Console into a switch
The trap
Assuming the mode because the site is small. A switch nobody has touched in years is a server with no domain name, and its VLANs are in a file.