background image
198 Chapter 4: Bridges/Switches and LAN Design
VTP pruning eligibility defines where VTP pruning is enabled for the entire management
domain
. Enabling or disabling VTP pruning on a VTP server propagates the change throughout
the management domain. If pruning is enabled, all VLANs are pruned except VLAN1; VLAN1
is used for propagating VTP advertisements, so any pruning would make it difficult to graft the
branches back into the tree. Pruning can be globally enabled in the domain and then selectively
disabled for specified VLANs on specified trunks using the vtp trunk pruning-disable vlan-
list
trunk interface subcommand.
Enabling a VTP trap causes an SNMP message to be generated every time a new VTP message
is sent out. VTP trap is enabled by default.
Examples 4-13 and 4-14 show the complete configuration of Switch1 and Switch2 from
Figure 4-29. Switch1 will be the VTP server.
Example 4-13
Switch1 Complete Configuration as VTP Server
Switch1# configure terminal
Switch1(config)#ip address 10.5.5.11 255.255.255.0
Switch1(config)#ip default-gateway 10.5.5.3
Switch1(config)# vtp server domain Hartsfield pruning enable
Switch1(config)# vlan 2 name VLAN2
switch1(config)# vlan 3 name VLAN3
switch1(config)# interface e 0/5
switch1(config-if)# vlan-membership static 2
switch1(config-if)# interface e 0/6
switch1(config-if)# vlan-membership static 2
switch1(config-if)# interface e 0/7
switch1(config-if)# vlan-membership static 2
switch1(config-if)# interface e 0/8
switch1(config-if)# vlan-membership static 2
switch1(config-if)# interface e 0/9
switch1(config-if)# vlan-membership static 3
switch1(config-if)# interface e 0/10
switch1(config-if)# vlan-membership static 3
switch1(config-if)# interface e 0/11
switch1(config-if)# vlan-membership static 3
switch1(config-if)# interface e 0/12
switch1(config-if)# vlan-membership static 3
Switch1(config)# interface fa 0/26
switch1(config-if)# trunk on
switch1(config-if)# vlan-membership static 1
switch1(config-if)# vlan-membership static 2
switch1(config-if)# vlan-membership static 3
switch1(config-if)# interface fa 0/27
switch1(config-if)# trunk on
switch1(config-if)# vlan-membership static 1
switch1(config-if)# vlan-membership static 2
switch1(config-if)# vlan-membership static 3
ch04.fm Page 198 Monday, March 20, 2000 5:02 PM