Table of Contents
VTP Configuration Steps
Configuring VTP is very simple. However, please remember that VTP assumes that the switches are connected to each other by trunks. First, make sure that the switches are connected by trunk links. After that, there are two steps to configure.
- Configure VTP domain
- Configure VTP mode
Then, if necessary, configure VTP pruning to stop unnecessary flooding on the trunk.
Trunk configuration is explained in the following article.
Configure VTP domain
Please note the following points regarding the configuration of VTP domain names.
- distinguish between uppercase and lowercase letters
- Once configured, it can be changed, but cannot be deleted.
- Not configured by default.
To configure the VTP domain name, use the following command.Configure VTP domain
Switch(config)# vtp domain <domain-name>
<domain-name> :VTP domain name
Note that the VTP domain name is advertised by CDP, and switches without a VTP domain will automatically reflect the VTP domain name advertised by CDP. You can also set the VTP password if necessary, using the following commandConfigure VTP password
Switch(config)# vtp password <password>
<password> : VTP password
If you have configured a VTP password, it must, of course, be a common password for all switches.
Configure VTP mode
To configure the VTP mode, use the following command.Configure VTP mode
Switch(config)# vtp mode { server | client | transparent }
Default VTP mode is server. Specify other modes as needed.
Configure VTP pruning
To enable VTP pruning, use the following command on any of the switches in the VTP domain in server mode.Enable VTP pruning
Switch(config)# vtp pruning
Verify VTP configuration
To verify VTP configuration, use the following command.
- show vtp status
- show vtp password
The show vtp status command allows you to see all the information such as VTP domain name, VTP mode, configuration revision number, pruning enable/disable, etc. The show vtp password command allows you to see the VTP password.
show vtp status
The following are the results displayed by the show vtp status command.
SW1#show vtp status VTP Version : 2 Configuration Revision : 7 Maximum VLANs supported locally : 16 Number of existing VLANs : 8 VTP Operating Mode : Server VTP Domain Name : SWITCH VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x19 0xA4 0x01 0x0F 0x47 0xC9 0x5F 0xF6 Configuration last modified by 0.0.0.0 at 3-9-93 05:18:28 Local updater ID is 0.0.0.0 (no valid interface found)
From the above display result of the show vtp status command, you can see that this switch has configuration revision number 7, VTP mode is server mode, VTP domain name is SWITCH, and VTP pruning is disabled. In addition, the “MD5 digest” in the above display result represents the checksum of the VTP advertisement.
show vtp password
The following is an example of output from show vtp password.
SW1#show vtp password VTP Password: abcde
From the above, you can see that the VTP password is set to “abcde”.
VLAN(Virtual LAN)
- The need to divide the network
- Details of dividing the network
- VLAN Overview
- VLAN behavior
- Access port : Port assigned to only one VLAN
- Trunk port : Port assigned to multiple VLANs
- Summary of Trunk Protocols – IEEE802.1Q and ISL
- Native VLAN
- Specific example of native VLAN mismatch
- Cisco DTP
- Cisco Configuring and Verifying VLAN
- Cisco VLAN Detailed Configuration Example
- Notes on deleting VLANs
- Voice VLAN – VLAN for connecting IP phones
- VTP :Synchronize VLAN configuration
- VTP pruning – Stopping unnecessary flooding of trunk links
- Configuring and Verifying Cisco VTP
- Inter VLAN routing overview
- Inter-VLAN routing by router
- Inter-VLAN routing by Layer 3 switch
- Configuring and Verifying Inter-VLAN Routing by Cisco Router
- Cisco Configuring Inter-VLAN routing by Layer3 switch : SVI/routed port
- Cisco Layer3 Switch Basic Configuration Example
- Summary of Layer 3 Switch Port Concepts – Access Port/Trunk Port/SVI/Routed Port
- LAN Design pattern : 2-tier and 3-tier