VTP pruning and the danger of VTP: how a revision number deletes every VLAN
Sign in to read this lesson
VTP pruning stops unnecessary VLAN traffic (broadcasts, unknown unicast) on trunks. VTP's big risk is that even a client with a higher revision number can overwrite the VLAN database of the whole domain. A switch returning from the lab can delete every VLAN, leaving ports in a "no man's land" with no VLAN. Protection: reset the revision before connecting a switch to the domain (change the domain name, go transparent and back, delete vlan.dat), a VTP password, VTPv3, or transparent mode everywhere.
What you will learn
- VTP pruning: if a switch has no active ports in a VLAN, that VLAN's broadcast and unknown unicast traffic is not sent over the trunk to that switch.
vtp pruningis typed on the server. VLAN 1 is never pruned. - The danger: a VTP server also works as a client. If a switch with a higher revision joins the same domain (even a client), the whole domain syncs to its VLAN list.
- When a VLAN is deleted, its ports do not return to VLAN 1: they stay in a "no man's land" (inactive) and forward nothing. You have to reassign them by hand.
- Before connecting a switch to the domain, reset the revision: change the domain name and back, go
vtp mode transparentand back, ordelete flash:vlan.dat+ reload. - Practical advice: VTP transparent everywhere + create VLANs locally. If you need VTP:
vtp passwordand, if possible, VTPv3 (only the primary server can make changes).
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.