Configuring VTP

Configuring VTP
All Cisco switches are configured to be VTP servers by default. To configure VTP, first you
have to configure the domain name you want to use. And of course, once you configure the
VTP information on a switch, you need to verify it.
When you create the VTP domain, you have a bunch of options, including setting the
domain name, password, operating mode, and pruning capabilities of the switch. Use the vtp
global configuration mode command to set all this information. In the following example, I’ll
set the S1 switch to a vtp server, the VTP domain to Lammle, and the VTP password to todd:
Here in Table 6.9 are the commands you need:
TABLE 6 . 9 VTP Commands
Command Meaning
vtp mode server Configures a switch to be a VTP server. In Server mode, the
VLAN database is allowed to be modified. VLANs can be added,
deleted, modified or changed. Server is the default vtp mode for
a Cisco switch.
Changing the server option to client or transparent would
configure the switch to that mode.
vtp domain Configures the VTP domain name for a group of switches in the
layer-2 switch fabric.