Configuring A Vtp Client - Cisco Catalyst 2928 Software Configuration Manual

Ios release 12.2(55)ez
Table of Contents

Advertisement

Chapter 14
Configuring VTP
Beginning in privileged EXEC mode, follow these steps to configure the switch as a VTP server:
Command
Step 1
configure terminal
Step 2
vtp domain domain-name
Step 3
vtp mode server
Step 4
vtp password password
Step 5
end
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 global configuration command.
This example shows how to use global configuration mode to configure the switch as a VTP server with
the domain name eng_group and the password mypassword:
Switch# config terminal
Switch(config)# vtp domain eng_group
Switch(config)# vtp mode server
Switch(config)# vtp password mypassword
Switch(config)# end

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.
Follow these guidelines:
OL-23389-01
Purpose
Enter global configuration mode.
Configure the VTP administrative-domain name. The name can be 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.
Configure the switch for VTP server mode (the default).
(Optional) Set the password for the VTP domain. The password can be 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.
Return to privileged EXEC mode.
Verify your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.
If extended-range VLANs are configured on the switch, you cannot change VTP mode to client. You
receive an error message, and the configuration is not allowed.
If you configure the switch for VTP client mode, the switch does not create the VLAN database file
(vlan.dat). If the switch is then powered off, it resets the VTP configuration to the default. To keep
the VTP configuration with VTP client mode after the switch restarts, you must first configure the
VTP domain name before the VTP mode.
Catalyst 2928 Switch Software Configuration Guide
Configuring VTP
14-9

Advertisement

Table of Contents
loading

Table of Contents