background image
194 Chapter 4: Bridges/Switches and LAN Design
Example 4-12 displays various Spanning Tree information for VLAN1, including the
following:
·
Port e0/1 is in the forwarding state for VLAN1.
·
The root bridge for VLAN1 has a bridge priority of 0, with a MAC address of
00D0.588F.B600.
·
The switch is running the IEEE 802.1d Spanning-Tree Protocol.
VLAN Trunking Protocol (VTP)
VTP is a Layer 2 messaging protocol that maintains VLAN configuration consistency
throughout a common administration domain. VTP manages the additions, deletions, and name
changes of VLANs across multiple switches. VTP minimizes misconfigurations and
configuration inconsistencies that can cause problems, such as duplicate VLAN names or
incorrect VLAN-type specifications.
VTP distributes and synchronizes identifying information about VLANs configured throughout
a switched network. Configurations made to a single switch, which is called the VTP server, are
propagated across trunk links to all switches in the same VTP domain. VTP allows switched
network solutions to scale to large sizes by reducing the manual configuration needs in the
network.
The VTP domain is created by having each switch in the domain configure the same domain
name. The network administrator chooses which switches are in the same domain by deciding
which switches share common VLANs. One switch is chosen and then configured as the VTP
server; then, the others are configured as clients for full VTP operation. (VTP transparent mode,
a third option, will be covered shortly.)
How VTP Works
VTP advertisements are flooded throughout the management domain every 5 minutes, or
whenever there is a change in VLAN configurations. Included in a VTP advertisement is a
configuration revision number, as well as VLAN names and numbers, and information about
which switches have ports assigned to each VLAN. By configuring the details on one server and
propagating the information via advertisements, all switches know the names and numbers of
all VLANs.
One of the most important components of the VTP advertisements is the configuration
revision number
. Each time a VTP server modifies its VLAN information, it increments the
configuration revision number by one. The VTP server then sends out a VTP advertisement that
includes the new configuration revision number. When a switch receives a VTP advertisement
with a larger configuration revision number, it updates its VLAN configuration. Figure 4-30
illustrates how VTP operates in a switched network.
ch04.fm Page 194 Monday, March 20, 2000 5:02 PM