Chapter 6: VLANs and Trunking 103
Section 6-4
Feature Example
In this example, Access_1, Distribution_1, and Distribution_2 will be assigned to a VTP
domain named GO-CATS. Figure 6-2 shows that Access_1 will be in VTP client mode
with an 802.1Q trunk connecting to Distribution_1. Distribution_1 will be configured in
VTP server mode with an ISL trunk connecting it to Core_1, which is in VTP transparent
mode. Core_1 has an ISL trunk to Distribution_2, which is also in VTP server mode. VTP
pruning has also been enabled for the domain, and all switches are configured so that
VLAN 10 is not prune-eligible on the trunk links. Because VTP runs across trunk links, it
is not necessary to configure the VTP domain name on the Distribution_2 switch or the
Access_1 switch. It is also not necessary to configure the pruning on each switch; this is
also propagated by VTP.
An example of the configuration for Core_1 follows:
Core_1# conf t
Core_1 (config)# vtp mode transparent
Core_1 (config)# interface gigabitethernet 1/1
Core_1 (config-if)# switchport mode trunk
Core_1 (config-if)# switchport trunk encapsulation isl
Core_1 (config-if)# end
Core_1# conf t
Core_1 (config)# interface gigabitethernet 1/2
Core_1 (config-if)# switchport mode trunk
Core_1 (config-if)# switchport trunk encapsulation isl
Core_1 (config-if)# end
Core 1# copy running-config startup-config
An example of the configuration for Distribution_1 follows:
Distribution_1# conf t
Access_1
Distribution_1
Core_1
802.1Q Trunk
G 0/1 2/1
1/1
1/1
ISL Trunk
Distribution_2
1/1
1/2
ISL Trunk
VTP Transparent
VTP Client VTP Server VTP Server
VTP Domain GO-CATS
Figure 6-2 Network Diagram for VTP Configuration on
Access_1, Distribution_1, Distribution_2, and Core_1.