Courseiva
Layer 2Global Config

vtp mode [server|client|transparent]

Controls whether a switch can create/modify VLANs via VTP or just receives VLAN configuration.

Definition: vtp mode [server|client|transparent] is a Cisco IOS global config command. Sets the VTP (VLAN Trunking Protocol) operational mode of a switch. Server mode allows creating/modifying VLANs and propagating them. Client mode receives VLAN info but cannot modify. Transparent mode does not participate in VTP but forwards VTP advertisements.

Syntax·Global Config
vtp mode {server | client | transparent | off}

When to Use This Command

  • Setting access switches to VTP client mode to receive VLAN configuration automatically.
  • Configuring a distribution switch as VTP server to manage VLANs centrally.
  • Isolating a switch with unique VLANs in transparent mode to prevent VTP contamination.
  • Disabling VTP propagation on switches connecting to external or untrusted networks.

Command Examples

Set switch to VTP client mode

SW2(config)# vtp mode client
Setting device to VTP CLIENT mode.

SW2 is now a VTP client — it will receive VLAN updates from VTP servers on trunk links but cannot create or delete VLANs locally.

Set switch to transparent mode (isolated)

SW3(config)# vtp mode transparent
Setting device to VTP TRANSPARENT mode.

SW3 will not synchronize VLANs with other switches. It keeps its own VLAN database and forwards VTP frames through trunk links. Useful for switches with unique VLANs that shouldn't be overwritten.

Understanding the Output

The command displays a confirmation message indicating the new mode. Verify with 'show vtp status' — look for 'VTP Operating Mode' field. VTP version 2 (default on most switches) propagates on all trunk links automatically once the domain and mode are set.

CCNA Exam Tips

1.

CCNA exam tip: The 3 modes: Server (can create VLANs, propagates), Client (receives VLANs, cannot create), Transparent (ignores VTP sync but forwards VTP frames).

2.

CCNA exam tip: VTP is active on trunk links only. Access ports do not participate in VTP.

3.

CCNA exam tip: A switch in client mode that connects to a server with a higher revision number will immediately sync — potentially deleting VLANs. This is the classic VTP disaster scenario.

4.

CCNA exam tip: Setting a switch to 'vtp mode off' completely disables VTP (version 3 only).

Common Mistakes

Mistake 1: Adding a new switch with a higher VTP revision number to the network in server/client mode — it overwrites the VTP database on all switches, potentially deleting production VLANs.

Mistake 2: Forgetting that VTP only works on trunk links — access port connections cannot carry VTP updates.

Mistake 3: Confusing VTP transparent mode with disabling VTP entirely — transparent still forwards VTP frames.

vtp mode [server|client|transparent] vs vtp domain [name]

VTP mode and VTP domain are both global configuration commands that control VLAN propagation, but they serve different roles. They are commonly confused because both are required for VTP to function and are often configured together on switches.

Aspectvtp mode [server|client|transparent]vtp domain [name]
ScopeSets operational role (server/client/transparent)Defines administrative domain name
Configuration modeGlobal configurationGlobal configuration
PersistenceSaved in running-config and startup-configSaved in running-config and startup-config
PrecedenceMode determines behavior within a matching domainDomain must match for VTP synchronization
Typical useDefine switch as server (create VLANs), client (learn only), or transparent (pass through)Set domain name to group switches that share VLAN database

Use vtp mode [server|client|transparent] when you need to control whether the switch can create, modify, or only learn VLANs via VTP.

Use vtp domain [name] when you need to ensure switches belong to the same administrative domain for VLAN synchronization.

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