Configuring Vtp; Configuring Vtp Server Mode; Configuring Vtp Client Mode - Cisco Catalyst 2950 Software Manual

Desktop switch software configuration guide
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Using VTP

Configuring VTP

You can configure VTP through the CLI by entering commands in the VLAN database command mode.
When you enter the exit command in VLAN database mode, it applies all the commands that you
entered. VTP messages are sent to other switches in the VTP domain, and you enter privileged EXEC
mode.
If you are configuring VTP on a cluster member switch to a VLAN, use the rcommand privileged EXEC
command to log in to the member switch. For more information on how to use this command, refer to
the Catalyst 2950 Desktop Switch Command Reference.
The Cisco IOS end and Ctrl-Z commands are not supported in VLAN database mode.
Note
After you configure VTP, you must configure a trunk port so that the switch can send and receive VTP
advertisements. For more information, see the
page

Configuring VTP Server Mode

When a switch is in VTP server mode, you can change the VLAN configuration and have it propagated
throughout the network.
Beginning in privileged EXEC mode, follow these steps to configure the switch for VTP server mode:
Command
Step 1
vlan database
Step 2
vtp domain domain-name
Step 3
vtp password password-value
Step 4
vtp server
Step 5
exit
Step 6
show vtp status

Configuring VTP Client Mode

When a switch is in VTP client mode, you cannot change its VLAN configuration. The client switch
receives VTP updates from a VTP server in the VTP domain and then modifies its configuration
accordingly.
Catalyst 2950 Desktop Switch Software Configuration Guide
8-12
8-23.
Purpose
Enter VLAN database mode.
Configure a VTP administrative-domain name.
The name can be from 1 to 32 characters.
All switches operating in VTP server or client mode under the same
administrative responsibility must be configured with the same domain name.
(Optional) Set a password for the VTP domain. The password can be from 8 to
64 characters.
If you configure a VTP password, the VTP domain does not function properly if
you do not assign the same password to each switch in the domain.
Configure the switch for VTP server mode (the default).
Return to privileged EXEC mode.
Verify the VTP configuration.
In the display, check the VTP Operating Mode and the VTP Domain Name fields.
"Changing the Pruning-Eligible List" section on
Chapter 8
Configuring VLANs
78-11380-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents