Changing Vtp Modes - Cisco Catalyst 2000 Configuration Handbook

Catalyst series lan switching
Table of Contents

Advertisement

100 Cisco LAN Switching Configuration Handbook
database on each of the switches. To prevent this from occurring, set a VTP password on
the switches you want to exchange information.
(Optional) Set the VTP password:
1.
(privileged) vlan database
(vlan_database) vtp password password
OR
(global)vtp password password
The password is entered on each switch that participates in the VTP domain. The
passwords are case-sensitive and must match exactly. If you want to remove the pass-
words, use the command no vtp password in VLAN database mode.
Note If you choose to set a password for VTP, it must be between 8 and 32 characters in
length.
Note The global configuration command vtp password is not supported on all switches
that run the IOS.

Changing VTP Modes

VTP operates in one of three modes: server, client, and transparent. The modes determine
how VTP passes information, how VLAN databases are synchronized, and whether
VLANs can be managed for a given switch.
To set the VTP mode, enter the following commands:
(privileged) vlan database
(vlan_database) vtp [server | client | transparent]
OR
(global)vtp mode [server | client | transparent]
By default, Cisco switches are in VTP server mode. For a VTP server, you can create,
delete, or modify a VLAN in the local VLAN database. After you make this change, the
VLAN database changes are propagated out to all other switches in server or client mode
in the VTP domain. A server also accepts changes to the VLAN database from other
switches in the domain. You can also run the VTP in client mode. Switches in client mode
cannot create, modify, or delete VLANs in the local VLAN database. Instead, they rely
on other switches in the domain to update them about new VLANs. Clients synchronize
their databases, but they do not save the VLAN information and lose this information if
they are powered off. Clients also advertise information about their database and forward
VTP information to other switches. VTP transparent mode works much like server mode

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents