background image
Configuring VTP
627
2621(config-subif)#exit
2621(config)#int f0/0
2621(config-if)#no shutdown
After setting the encapsulation and IP address for VLAN 1, I did the same
configurations for VLANs 2, 3, and 4. Notice, however, that each subinter-
face is in a separate subnet.
Configuring VTP
A
Catalyst 1900 switch is configured by default to be a VLAN Trunk
Protocol (VTP) server, as are all switches. To configure VTP, first configure the
domain name you want to use, as discussed in the next section. Once you con-
figure the VTP information on a switch, you need to verify the configuration.
Configuring the Domain
When you create the VTP domain, you have the option to set the domain
name, password, operating mode, and pruning capabilities of the switch (we
discuss pruning in a minute). Use the vtp global configuration mode com-
mand to set this information. In the following example, I set the switch to a
vtp server
, the VTP domain to Lammle, and the VTP password to todd.
Todd1900EN(config)#vtp ?
client VTP client
domain Set VTP domain name
password Set VTP password
pruning VTP pruning
server VTP server
transparent VTP transparent
trap VTP trap
Todd1900EN(config)#vtp server
Todd1900EN(config)#vtp domain lammle
Todd1900EN(config)#vtp password todd
After you configure the VTP information, you can verify it with the show
vtp
command.
Todd1900EN#sh vtp
VTP version: 1
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com