background image
LAN Switch Configuration 197
Figure 4-31
VTP Pruning
Several parameters can be set for VTP operation on a switch. The server, client, and transparent
mode options have already been discussed. Several other important parameters are allowed. The
default VTP configuration parameters for the Catalyst 1900 switch are as follows:
·
VTP domain name: None
·
VTP mode: Server
·
VTP password: None
·
VTP pruning: Disabled
·
VTP trap: Enabled
The VTP domain name can be specified or learned. By default, the domain name is not set,
and the switch is set to the VTP server mode. If a switch using the defaults receives a VTP
advertisement with a domain name, then that switch assumes the use of that domain name.
However, if a switch is configured with one domain name and it receives an advertisement that
includes a different domain name, the advertisement is ignored. One advantage of this process
is that with default configuration on all switches, VTP will be enabled, all switches will be in
server mode, but all will be listening for advertisements--thus, VTP will still work. If one
switch is configured with the domain name, then it will propagate to the other switches. Or, if
multiple domains are in use, simply configure each switch with the correct name, and the other
domains' VTP updates will be ignored.
A password can be set for the VTP management domain. The password entered must be the
same for all switches in the domain. If you configure a VTP password, VTP does not function
properly unless you assign the same password to each switch in the domain.
B
A
VLAN
10
Switch 2
Switch 4
Switch 5
Switch 6
Switch 3
Switch 1
Port 1
Port 2
Flooded
Traffic is
Pruned
ch04.fm Page 197 Monday, March 20, 2000 5:02 PM