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 : 0Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.
Useful variants
show vtp passwordshow vtp counters
What each column or field means
| Field | Meaning |
|---|---|
VTP version running | 1, 2 or 3. All switches in a domain must interoperate on the same version. |
VTP Domain Name | Switches only exchange VTP updates with the same domain name. |
VTP Operating Mode | Server (create VLANs, advertise them), Client (accept updates, cannot create), Transparent (keeps its own VLANs, forwards updates) or Off. |
Number of existing VLANs | Includes the five default VLANs (1 and 1002-1005). |
Configuration Revision | Increments 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
- VLAN Creation & Naming (free)
Learn it in the CCNA path
- DTP & VTP Protocols (2. Network Access)
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.