With the VLAN Trunk Protocol (VTP) Management page, you can:
VTP is a Layer-2 messaging protocol that maintains VLAN configuration consistency throughout the network. VTP manages the addition, deletion, and reconfiguration of VLANs network-wide by allowing each device to send advertisements on its trunk ports. These advertisements include the VTP management domain name, the current configuration revision number, the VLANs that it knows about, and certain VLAN parameters. By receiving these advertisements, devices in the same management domain learn about new VLANs configured in the transmitting device. These advertisements automatically communicate the changes you make on one switch to all switches in the network.
Not all traffic is needed by all VLANs. To conserve network bandwidth, you can enable VTP pruning on the VTP management domain. When pruning is in effect, VTP blocks flooded traffic (broadcast and multicast messages) to VLANs where the traffic is unnecessary.
Note: Catalyst 2900 and 3500 XL switches do not support VLAN pruning. If you enable pruning from one of these switches, VTP pruning is enabled for the VTP management domain, but VLANs on the switches continue to receive flooded traffic.
VTP minimizes configuration inconsistencies that can arise when changes are made. These inconsistencies can result in security violations. For example, if VLANs are not consistently named, they might be cross-connected as a result. Or if they are incorrectly mapped between one LAN type and another, VLANs can internally disconnect.
The VTP Information section is read only. It shows the maximum number of VLANs supported locally and the current number of VLANs on the switch. It displays the date and time of the last configuration modification, the VTP version, and the IP address of the switch that caused the last configuration change to the database.
Before you create a VLAN, you must decide whether to use VTP in your network. If you choose to use VTP, you must decide whether the switch will be a VTP server or VTP client and whether to enable VTP version 2 mode. If you choose not to use VTP, you must set the switch to transparent mode. Before you start, review the VLAN configuration rules.
To configure VTP:
You cannot add a new VLAN configuration if you set the VTP Control Mode to Client.
To add a new VLAN configuration:
You cannot modify a VLAN configuration if you set the VTP Control Mode to Client.
To modify a VLAN configuration:
You cannot remove a VLAN configuration if you set the VTP Control Mode to Client.
To remove a VLAN configuration:
The VTP mode control determines how a switch interacts with VTP database.
| Field | Description |
| Server | A switch in VTP server mode is enabled for VTP and sends advertisements. You can configure VLANs on it. The switch can recover all the VLAN information in the current VTP database from nonvolatile storage after reboot. By default, every switch is a VTP server, which is the recommended mode of operation. |
| Client | A switch in VTP client mode is enabled for VTP, can send advertisements, but does not have enough nonvolatile storage to store VLAN configurations. You cannot configure VLANs on it. When a VTP client starts up, it does not transmit VTP advertisements until it receives advertisements to initialize its VLAN database. |
| Transparent | A switch in VTP transparent mode is locally disabled for VTP, does not transmit advertisements or learn from advertisements sent by other devices, and cannot affect VLAN configurations on other devices in the network. The switch receives VTP advertisements and forwards them on all trunk ports except the one on which the advertisement was received. |
Note: Catalyst 2912MF, 2924M, and 3500 XL switches support 250 VLANs; all other Catalyst 2900 models support 64 VLANs. If you define more than 250 (64) or if the switch receives an advertisement that contains more than 250 (64) VLANs, the switch automatically enters VTP transparent mode and operates with the VLAN configuration preceding the one that sent it into transparent mode. The count of 250 (64) VLANs always includes VLAN 1 but never includes VLANs 1002 to 1005; the switch supports 250 (64) active VLANs, plus VLANs 1002 through 1005, which are inactive.