VTP Domain Command on CISCO Router/Switch

Other Cisco Other Cisco Material Original source

Command

VTP Domain

Use

This is the legacy command for setting up a VTP domain name and enabling VTP on a network. If you have full communication between your VTP network, you only need to use this command on the VTP server because other switches will automatically learn the VTP domain from received updates. Note: Switches will not change their domain automatically if they already are in a VTP domain.

Syntax

Switch(vlan)#vtp domain

Example

In the below example we will configure SW1 to be in the vtp domain howtonetwork.net.

Copy

Cat1#vlan database

% Warning: It is recommended to configure VLAN from config mode,

as VLAN database mode is being deprecated. Please consult user

documentation for configuring VTP/VLAN in config mode.



SW1(vlan)#vtp domain howtonetwork.net

SW1(vlan)#exit

APPLY completed.

Exiting….

Cat1#

Checking SW4, we can see it automatically joined howtonetwork.net.

Copy

SW4(config)#do show vtp status

VTP Version : 2

Configuration Revision : 17

Maximum VLANs supported locally : 1005

Number of existing VLANs : 6

VTP Operating Mode : Server

VTP Domain Name : howtonetwork.net

VTP Pruning Mode : Disabled

VTP V2 Mode : Disabled

VTP Traps Generation : Disabled

MD5 digest : 0xF5 0xC1 0x1A 0xEA 0x88 0xE6 0xE6 0xAF

Configuration last modified by 0.0.0.0 at 3-1-93 02:38:19

Local updater ID is 0.0.0.0 (no valid interface found)
← All Other Cisco articles Home