BuildTheNet

Opening your workspace

Your learning content and tools are loading.

VLANs

show vtp status

Shows the switch’s VTP version, domain name, operating mode and configuration revision number.

Written by a working field network engineer · CCNA, Security+, CySA+

VLAN Trunking Protocol can push the VLAN database from one switch to others in the same domain. This command shows whether that is happening and how risky the switch is: its mode and its configuration revision.

Example output

SW1#show vtp status
VTP Version capable             : 1 to 3
VTP version running             : 2
VTP Domain Name                 : CAMPUS
VTP Pruning Mode                : Disabled
VTP Traps Generation            : Disabled
Device ID                       : 0050.7966.6800
Configuration last modified by 0.0.0.0 at 3-1-93 00:12:44

Feature VLAN:
--------------
VTP Operating Mode                : Transparent
Maximum VLANs supported locally   : 255
Number of existing VLANs          : 8
Configuration Revision            : 0

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
VTP version running1, 2 or 3. All switches in a domain must interoperate on the same version.
VTP Domain NameSwitches only exchange VTP updates with the same domain name.
VTP Operating ModeServer (create VLANs, advertise them), Client (accept updates, cannot create), Transparent (keeps its own VLANs, forwards updates) or Off.
Number of existing VLANsIncludes the five default VLANs (1 and 1002-1005).
Configuration RevisionIncrements with every VLAN change on a server. The highest revision in the domain wins, which is why it matters.

When it doesn’t look right

VLANs disappeared across the network after a switch was added.

The new switch had the same domain and a higher revision number, and its VLAN database replaced everyone else’s. Before connecting a switch, set it to transparent mode or change its domain to reset the revision to 0.

A client switch is not learning VLANs.

Check the domain name (case-sensitive), VTP password and version match, and that the link between them is a trunk.

Related commands

Try it yourself

Learn it in the CCNA path

Topic

VLANs — Create and name VLANs, assign access ports, and read the VLAN table to prove each port is in the broadcast domain you intended.

All 57 commands