Cisco Catalyst 2960 series Configuration Manual page 38

Vlan
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Configuring VTP Mode
Command or Action
Step 2
vtp domain domain-name
Example:
Switch(config)# vtp domain eng_group
Step 3
vtp mode {client | server | transparent |
off} {vlan | mst | unknown}
Example:
Switch(config)# vtp mode server
Step 4
vtp password password
Example:
Switch(config)# vtp password
mypassword
Step 5
end
Example:
Switch(config)# end
Step 6
show vtp status
Example:
Switch# show vtp status
Step 7
copy running-config startup-config
Example:
Switch# copy running-config
startup-config
Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX
26
Purpose
Configures 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.
Note
Configures the switch for VTP mode (client, server, transparent, or off).
• vlan—The VLAN database is the default if none are configured.
• mst—The multiple spanning tree (MST) database.
• unknown—An unknown database type.
(Optional) Sets 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.
Returns to privileged EXEC mode.
Verifies your entries in the VTP Operating Mode and the VTP Domain
Name fields of the display.
(Optional) Saves the configuration in the startup configuration file.
Only VTP mode and domain name are saved in the switch running
configuration and can be copied to the startup configuration file.
Configuring VTP
OL-29065

Advertisement

Table of Contents
loading

Table of Contents