Cisco Catalyst 3750-E Software Configuration Manual page 456

Hide thumbs Also See for Catalyst 3750-E:
Table of Contents

Advertisement

Configuring VTP
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.
Beginning in privileged EXEC mode, follow these steps to configure the VTP mode:
Command
Step 1
configure terminal
Step 2
vtp domain domain-name
Step 3
vtp mode {client | server |
transparent | off} {vlan | mst |
unknown}
Step 4
vtp password password
Step 5
end
Step 6
show vtp status
Step 7
copy running-config startup-config
When you configure a domain name, it cannot be removed; you can only reassign a switch to a different
domain.
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
14-12
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.
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.
This command is optional for modes other than server mode. VTP server
mode requires a domain name. If the switch has a trunk connection to a
VTP domain, the switch learns the domain name from the VTP server in the
domain.
You should configure the VTP domain before configuring other VTP
parameters.
Configure the switch for VTP mode (client, server, transparent or off).
(Optional) Configure the database:
(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.
See the
options available with VTP version 3.
Return to privileged EXEC mode.
Verify your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.
(Optional) Save the configuration in the startup configuration file.
Note
vlan—the VLAN database is the default if none are configured.
mst—the multiple spanning tree (MST) database.
unknown—an unknown database type.
"Configuring a VTP Version 3 Password" section on page 14-13
Only VTP mode and domain name are saved in the switch running
configuration and can be copied to the startup configuration file.
Chapter 14
Configuring VTP
for
OL-9775-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst3560-e

Table of Contents