VTP (VLAN Trunking Protocol) Simplified

Listen to this Post

Ever wondered how VLAN information is managed and shared across your network switches? That’s where VTP comes in!

You Should Know:

VTP Domain & Modes

  • Server Mode: Creates, modifies, and forwards VLAN info.
    Switch(config) vtp mode server 
    Switch(config) vtp domain MyDomain 
    
  • Client Mode: Syncs VLAN info but cannot create VLANs.
    Switch(config) vtp mode client 
    
  • Transparent Mode: Forwards VTP updates but doesn’t sync.
    Switch(config) vtp mode transparent 
    

VTP Pruning

Reduces unnecessary VLAN traffic on trunk links.

Switch(config) vtp pruning 

VTP Advertisements

  • Summary Advertisements: Sent every 300 sec or when changes occur.
  • Subset Advertisements: Sent after VLAN modifications.
  • Advertisement Requests: Sent when a switch detects a higher revision number.

Verification Commands

Switch show vtp status 
Switch show vtp counters 
Switch show vtp password 

Security Best Practices

  • Always set a VTP password to prevent unauthorized changes.
    Switch(config) vtp password SecurePass123 
    

Troubleshooting

  • If VLANs aren’t syncing, check:
  • Domain name match
  • Password consistency
  • Revision number (higher rev overwrites lower)

What Undercode Say

VTP is crucial for efficient VLAN management in large networks. However, misconfigurations can cause widespread issues. Always:
– Use transparent mode in mixed-vendor environments.
– Monitor VTP revision numbers to avoid accidental overwrites.
– Test in a lab before deploying in production.

For deeper learning, refer to:

Expected Output:

Switch show vtp status 
VTP Version : 2 
Configuration Revision : 5 
Maximum VLANs supported locally : 1005 
Number of existing VLANs : 10 
VTP Operating Mode : Server 
VTP Domain Name : MyDomain 
VTP Pruning Mode : Enabled 
VTP V2 Mode : Disabled 

References:

Reported By: Nasir Amin – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

Join Our Cyber World:

💬 Whatsapp | 💬 TelegramFeatured Image