vtp version

To configure the administrative domain to a VLAN Trunking Protocol (VTP) version, use the vtp version command. To revert to the default version, use the no form of this command.

vtp version version

no vtp version

Syntax Description

version

VTP version. The range is from 1 to 2.


Command Default

Version 1 enabled

Version 2 disabled

Command Modes

Global configuration mode

Command History

Release
Modification

4.2(1)N1(1)

This command was introduced.


Usage Guidelines

Before you use this command, you must enable VTP on the switch by using the feature vtp command.

If you enable VTP, you must configure either version 1 or version 2. If you are using VTP in a Token Ring environment, you must use version 2.

Examples

This example shows how to enable VTP version 2 for Token Ring VLANs:

switch(config)# vtp version 2 
switch(config)#

Related Commands

Command
Description

feature vtp

Enables VTP on the switch.

show vtp status

Displays VTP information.