šŸ” LAB 7.1: VTP Domain Configuration & VLAN Synchronization

Cisco CCNP 350-401 (ENCOR) & 300-410 (ENARSI) Enterprise Networking
VLAN Trunking Protocol Configuration, Management, and Optimization
šŸ”’ Protected
Duration
90-120 min
Difficulty
Intermediate-Advanced
Lab Version
1
Certification
CCNP 350-401
šŸ“‹ Lab Overview & Objectives

This lab provides comprehensive hands-on training on VLAN Trunking Protocol (VTP) configuration, management, and optimization. Students will configure VTP domains, implement server/client/transparent modes, manage revision numbers, and optimize trunk links with VTP pruning .

Learning Objectives:
  • Configure VTP server, client, transparent, and off modes
  • Manage VTP domain membership and revision numbers
  • Implement VTP version selection (1, 2, and 3)
  • Optimize trunk links using VTP pruning techniques
  • Troubleshoot VTP synchronization issues
  • Implement VTP security with password protection
ā„¹ļø Key Concept: VTP is a Cisco proprietary protocol designed to reduce the burden of provisioning VLANs across multiple switches by centralizing VLAN management
šŸ” Section 1: VTP Fundamentals & Architecture
What is VTP?

VTP is a Layer 2 messaging protocol that allows automatic propagation of VLAN configurations across a network domain. VTP saves time and helps avoid configuration errors by centralizing VLAN management . VTP is enabled by default on all Cisco switches, and the default mode is server .

VTP Versions Comparison
Feature Version 1 & 2 Version 3
VLAN Range Supported 1–1005 1–4094 (full range)
Default Version Version 1 is default Requires manual configuration
Primary Server Automatic selection Configured using `vtp primary` command
Enhancement Standard operation Enhanced VLAN handling; pruning not required
VTP Configuration Revision Number

VTP advertisements include a 32-bit configuration revision number that identifies the most current VLAN database revision . Any change to the VLAN database increments the configuration revision number by 1 . A higher revision number represents a newer database .

āš™ļø Section 2: VTP Roles & Configuration
VTP Role Definitions
VTP Role Description Capabilities
Server Creates, modifies, and deletes VLANs Creates VLANs; sends advertisements to propagate changes
Client Receives VTP advertisements and updates local VLAN database Cannot configure VLANs locally
Transparent Receives and forwards VTP advertisements; does not modify local database Configures VLANs only locally; maintains independent VLAN configuration
Off Does not participate in VTP VTP communication completely disabled
VTP Configuration Steps

Step 1: Define the VTP version

enable
configure terminal
vtp version {1 | 2 | 3}
end

Step 2: Define the VTP domain

enable
configure terminal
vtp domain domain-name
end

Step 3: Define the VTP switch role

enable
configure terminal
vtp mode {server | client | transparent | off}
end

Step 4 (Optional): Secure VTP domain (Recommended)

enable
configure terminal
vtp password password
end
Complete VTP Server Configuration Example
enable
configure terminal
vtp version 2
vtp domain MARKETING
vtp mode server
vtp password VTPsecure123
end
write memory
Complete VTP Client Configuration Example
enable
configure terminal
vtp version 2
vtp domain MARKETING
vtp mode client
vtp password VTPsecure123
end
write memory
šŸ“” Section 3: VTP Advertisement Types
Summary Advertisements

Sent by both VTP servers and clients every 300 seconds (5 minutes) . Contains information about VTP domain: version, domain name, configuration revision number, timestamp, and MD5 digest .

Subset Advertisements

Contains detailed VLAN information . Sent immediately after VLAN database changes . Received by VTP clients to update their local VLAN database .

Advertisement Requests

Sent by VTP clients to request VLAN information from VTP server . Typically sent after client boots up or detects configuration mismatch .

Advertisement Type Sent By Frequency Contents
Summary Servers & Clients Every 5 minutes Domain info, revision number, MD5 digest
Subset Servers On VLAN change Detailed VLAN data
Request Clients On mismatch Request for VLAN database
šŸ“ Lab Network Topology
VTP Lab Topology Diagram
VTP Lab Topology: 4-Switch Domain Configuration
Showing Server-Client Hierarchy with Trunk Links
šŸ”„ Section 4: VTP Revision Number Management
āš ļø Critical Best Practice: Reset revision number before production deployment. Configure a new switch as VTP client and reset its revision number to zero to prevent the new switch from overwriting VLAN database with outdated revision
Method 1: Change VTP Domain Name (Resets Revision to 0)
enable
configure terminal
vtp domain TEMP_DOMAIN
vtp domain MARKETING
end
show vtp status
Method 2: Change VTP Mode to Transparent (Resets Revision to 0)
enable
configure terminal
vtp mode transparent
vtp mode server
end
show vtp status
āœ‚ļø Section 5: VTP Pruning Optimization
VTP Pruning Concept

VTP Pruning is a feature used to optimize bandwidth utilization on trunk links . By default, switches in VTP domain flood broadcast, multicast, and unknown unicast traffic to all trunk links, even if receiving switch has no ports in that VLAN . VTP Pruning prevents unnecessary traffic from being sent across trunk links to switches that do not have ports in the VLAN .

How VTP Pruning Works
  • VTP Pruning dynamically identifies which VLANs are active on each switch
  • If a VLAN is not active on a switch, that switch is removed from flooding list for that VLAN
  • Traffic for pruned VLANs is not forwarded on trunk links to switches that do not need it
Benefits of VTP Pruning
  • Reduces unnecessary bandwidth consumption on trunk links
  • Improves network performance by reducing traffic load
  • Decreases CPU utilization on switches
Global VTP Pruning Configuration
enable
configure terminal
vtp domain MARKETING
vtp pruning
vtp mode server
end
write memory
Per-Interface Trunk Pruning Configuration
enable
configure terminal
interface GigabitEthernet1/0/1
switchport trunk pruning vlan ?
exit
end
Optional: Restrict VLANs on Trunk Ports

Manually restricting VLANs on trunk links using `switchport trunk allowed vlan` overrides VTP pruning . Manual restrictions take precedence over automatic pruning decisions .

enable
configure terminal
interface GigabitEthernet1/0/1
switchport trunk allowed vlan 10,20,30
end
VTP Pruning Considerations
Consideration Details
Version Support Works with VTP v1 and v2. In VTP v3, pruning not required; protocol includes enhanced VLAN handling
Transparent Mode Switches in Transparent Mode do not participate in VTP pruning
Manual Pruning Manual VLAN restrictions override VTP pruning
Spanning Tree Ensure STP topology is stable before implementing VTP Pruning as it dynamically modifies VLAN trunk configurations
āœ“ Best Practice: Always stabilize your Spanning Tree topology before enabling VTP Pruning to avoid unexpected STP recalculations
šŸ”§ Section 6: Verification & Troubleshooting
Show Commands for VTP Verification
! Verify VTP status
show vtp status

! Verify VTP password
show vtp password

! Verify VLAN synchronization
show vlan brief

! View running configuration
show running-config | include vtp
Expected Output Analysis

show vtp status will display:

  • VTP Operating Mode (Server/Client/Transparent/Off)
  • Current Configuration Revision
  • Number of existing VLANs
  • VTP Pruning Mode enabled/disabled
Common Troubleshooting Issues
Issue Cause Resolution
VLANs not synchronizing Domain mismatch or revision number conflict Verify domain name matches; reset revision number using Method 1 or 2
Revision number too high Multiple VLAN changes accumulated Reset using transparent mode method or domain name change
Password mismatch error Inconsistent VTP password across domain Verify all switches use same VTP password
Advertisements not received Trunk link down or protocol disabled Verify trunk links active; check VTP mode not set to Off
šŸ–„ļø Equipment Required
4 Cisco Switches (Catalyst 2960, 3560, or higher)
Ethernet cables for trunk connections
Console cables (RJ-45 to USB or Serial)
Terminal emulation software (PuTTY, Tera Term)
šŸ“ Hands-On Lab Exercises
Exercise 1: Configure VTP Server and Clients
  1. Configure SW1 as VTP Server for MARKETING domain
  2. Configure SW2 and SW3 as VTP Clients
  3. Create VLANs 10, 20, 30 on SW1
  4. Verify synchronization on SW2 and SW3 using show vlan brief
Exercise 2: Implement Revision Number Reset
  1. Add new switch (SW4) with higher revision number
  2. Reset revision to 0 using transparent mode method
  3. Verify revision number reset with show vtp status
Exercise 3: Configure VTP Pruning
  1. Enable global VTP pruning on SW1 (VTP Server)
  2. Configure per-interface pruning on trunk link
  3. Verify pruning status with show vtp status
  4. Monitor trunk utilization before and after pruning
Exercise 4: Implement VTP Security
  1. Configure VTP password on all switches
  2. Test authentication by mismatching password on one switch
  3. Verify synchronization fails without correct password
  4. Restore correct password and verify sync resumes
āœ“ Lab Completion Checklist
Configured VTP Server with domain name and appropriate version
Configured VTP Clients to synchronize with server
Verified VLAN creation on server propagates to clients
Reset revision number to 0 before production deployment
Implemented and verified VTP pruning optimization
Configured VTP password for domain security
Successfully troubleshot domain mismatch scenario
All switches show synchronized VLAN database
šŸŽÆ CCNP 350-401 Exam Focus Areas
ā„¹ļø This lab covers the following CCNP 350-401 exam objectives:
  • 1.3: Implement and troubleshoot VTP (server, client, transparent, off)
  • 1.3a: VTP domain, version, pruning, password
  • 2.1: Describe common issues and best practices in multi-switch topologies
  • 2.1a: VLAN management and synchronization best practices