Courseiva
Layer 2Global Config

vtp version [1|2|3]

Selects the VTP version, with version 3 supporting extended VLANs and better security.

Definition: vtp version [1|2|3] is a Cisco IOS global config command. Sets the VTP version used by the switch. VTP version 1 is the default and most compatible. Version 2 adds support for Token Ring VLANs and transparent mode forwarding improvements. Version 3 adds support for extended VLANs (1006-4094), private VLANs, and password hashing.

Syntax·Global Config
vtp version {1 | 2 | 3}

When to Use This Command

  • Enabling VTP version 3 to support extended VLAN range (1006–4094).
  • Standardizing VTP version across all switches in a domain.
  • Upgrading from VTPv1 to VTPv2 for improved transparent mode behavior.
  • Required when using private VLANs in conjunction with VTP.

Command Examples

Upgrade to VTP version 2

SW1(config)# vtp version 2
SW1(config)#

All VTP server and client switches should be upgraded together. Transparent mode switches forward VTPv2 frames without needing to match versions.

Check current VTP version

SW1# show vtp status
VTP Version capable             : 1 to 3
VTP version running             : 2
VTP Domain Name                 : COURSEIVA

'VTP version running: 2' confirms version 2 is active. 'VTP Version capable: 1 to 3' shows this switch hardware supports all versions.

Understanding the Output

VTP version must match between servers and clients for synchronization. Transparent mode switches forward VTP frames regardless of version mismatch. Version 3 is only needed when extended VLANs (1006-4094) or private VLANs are required — for standard CCNA labs, version 1 or 2 is sufficient.

CCNA Exam Tips

1.

CCNA exam tip: Default VTP version is 1. CCNA 200-301 focuses on VTPv1 and VTPv2 — version 3 is rarely tested.

2.

CCNA exam tip: Extended VLANs (1006-4094) are only supported in VTPv3 or with VTP transparent mode.

3.

CCNA exam tip: All VTP participants (servers and clients) should run the same version for consistent behavior.

4.

CCNA exam tip: The 'vtp version' command only matters if you're using VTP — if all switches are in transparent mode, it's irrelevant.

Common Mistakes

Mistake 1: Running different VTP versions on servers and clients — VTPv1 and v2 are not compatible in some features.

Mistake 2: Forgetting that extended VLANs (1006-4094) require VTPv3 or transparent mode — configuring them in v1/v2 server mode fails.

Mistake 3: Setting VTP version without matching it on all switches in the domain.

vtp version [1|2|3] vs vtp mode [server|client|transparent]

VTP version and VTP mode are commonly confused because both commands configure VLAN Trunking Protocol (VTP) behavior, but they control independent parameters: version defines the protocol variant and feature set, while mode determines the switch's role in VTP updates.

Aspectvtp version [1|2|3]vtp mode [server|client|transparent]
FunctionSets VTP protocol version (1, 2, or 3)Sets VTP role: server, client, or transparent
Impact on VLANsDetermines VLAN range and features (e.g., extended VLANs in v3)Controls whether local VLAN changes are propagated or accepted
CompatibilityAll switches in domain must run same version for full interoperabilityMixed modes allowed; transparent mode forwards regardless of version
Configuration PersistenceEffective immediately; stored in running-configEffective immediately; stored in running-config
DefaultDefaults to version 1Defaults to server mode on switches with default config
InteroperabilityVersion mismatch can cause VTP domain issues; v3 backward compatibleServer and client must match version; transparent can ignore version

Use vtp version [1|2|3] when you need to enable extended VLANs (v3), private VLANs (v3), or Token Ring support (v2), and all switches in the domain support the target version.

Use vtp mode [server|client|transparent] when you need to define whether the switch will originate VLAN changes (server), passively accept them (client), or act as a non-participating relay (transparent).

Related Commands

Practice for the CCNA 200-301

Test your knowledge with practice questions covering all CCNA 200-301 exam domains.

Practice CCNA 200-301 Questions