Configuring A Vtp Client - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 17
Configuring VTP
You can also use VLAN configuration mode to configure VTP parameters. Beginning in privileged
EXEC mode, follow these steps to use VLAN configuration mode to configure the switch as a VTP
server:
Command
Step 1
vlan database
Step 2
vtp server
Step 3
vtp domain domain-name
Step 4
vtp password password
Step 5
exit
Step 6
show vtp status
When you configure a domain name, it cannot be removed; you can only reassign a switch to a different
domain.
To return the switch to a no-password state, use the no vtp password VLAN configuration command.
This example shows how to use VLAN configuration mode to configure the switch as a VTP server with
the domain name eng_group and the password mypassword:
Switch# vlan database
Switch(vlan)# vtp server
Switch(vlan)# vtp domain eng_group
Switch(vlan)# vtp password mypassword
Switch(vlan)# exit
APPLY completed.
Exiting....

Configuring a VTP Client

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.
If extended-range VLANs are configured on the switch, you cannot change VTP mode to client. You
Note
receive an error message, and the configuration is not allowed.
If all switches are operating in VTP client mode, do not configure a VTP domain name. If you do, it is
Caution
impossible to make changes to the VLAN configuration of that domain. Therefore, make sure you
configure at least one switch as a VTP server.
78-11380-12
Purpose
Enter VLAN configuration mode.
Configure the switch for VTP server mode (the default).
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.
Update the VLAN database, propagate it throughout the administrative
domain, and return to privileged EXEC mode.
Verify your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Configuring VTP
17-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents