Chapter 14 Configuring VTP

Configuring VTP

Enabling VTP pruning on a VTP server enables pruning for the entire management domain. Making VLANs pruning-eligible or pruning-ineligible affects pruning eligibility for those VLANs on that trunk only (not on all switches in the VTP domain).

See the “Enabling VTP Pruning” section on page 14-14. VTP pruning takes effect several seconds after you enable it. VTP pruning does not prune traffic from VLANs that are pruning-ineligible. VLAN 1 and VLANs 1002 to 1005 are always pruning-ineligible; traffic from these VLANs cannot be pruned.

Extended-range VLANs (VLAN IDs higher than 1005) are also pruning-ineligible.

VTP pruning is not designed to function in VTP transparent mode. If one or more switches in the network are in VTP transparent mode, you should do one of these:

Turn off VTP pruning in the entire network.

Turn off VTP pruning by making all VLANs on the trunk of the switch upstream to the VTP transparent switch pruning ineligible.

To configure VTP pruning on an interface, use the switchport trunk pruning vlan interface configuration command (see the “Changing the Pruning-Eligible List” section on page 13-22). VTP pruning operates when an interface is trunking. You can set VLAN pruning-eligibility, whether or not VTP pruning is enabled for the VTP domain, whether or not any given VLAN exists, and whether or not the interface is currently trunking.

VTP and Switch Stacks

VTP configuration is the same in all members of a switch stack. When the switch stack is in VTP server or client mode, all switches in the stack carry the same VTP configuration. When VTP mode is transparent, the stack is not taking part in VTP.

When a switch joins the stack, it inherits the VTP and VLAN properties of the stack master.

All VTP updates are carried across the stack.

When VTP mode is changed in a switch in the stack, the other switches in the stack also change VTP mode, and the switch VLAN database remains consistent.

For more information about the switch stack, see Chapter 5, “Managing Switch Stacks.”

Configuring VTP

These sections contain this configuration information:

Default VTP Configuration, page 14-7

VTP Configuration Options, page 14-7

VTP Configuration Guidelines, page 14-8

Configuring a VTP Server, page 14-9

Configuring a VTP Client, page 14-11

Disabling VTP (VTP Transparent Mode), page 14-12

Enabling VTP Version 2, page 14-13

Enabling VTP Pruning, page 14-14

Adding a VTP Client Switch to a VTP Domain, page 14-14

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

14-6

OL-9775-02

 

 

Page 384
Image 384
Cisco Systems 3750E manual Configuring VTP, VTP and Switch Stacks, 14-6