User's Manual

Table Of Contents
PurposeCommand or Action
Specifies the name of the VTP domain that you want
this device to join. The default is blank.
switch(config)# vtp domain
domain-name
Step 3
Sets the VTP version that you want to use. The default
is version 1.
switch(config)# vtp version {1 | 2}
Step 4
Specifies the ASCII filename of the IFS file system
file where the VTP configuration is stored.
switch(config)# vtp file file-name
Step 5
Specifies the password for the VTP administrative
domain.
switch(config)# vtp password
password-value
Step 6
Exits the configuration submode.switch(config)# exit
Step 7
(Optional)
Displays information about the VTP configuration on
the device, such as the version, mode, and revision
number.
switch# show vtp status
Step 8
(Optional)
Displays information about VTP advertisement
statistics on the device.
switch# show vtp counters
Step 9
(Optional)
Displays the list of VTP-enabled interfaces.
switch# show vtp interface
Step 10
(Optional)
Displays the password for the management VTP
domain.
switch# show vtp password
Step 11
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 12
This example shows how to configure VTP for the device:
switch# configure terminal
switch(config)# feature vtp
switch(config)# vtp domain accounting
switch(config)# vtp version 2
switch(config)# exit
switch#
This example shows the VTP status and that the switch is capable of supporting Version 2 and that the switch
is running Version 1:
switch(config)# show vtp status
VTP Status Information
----------------------
VTP Version : 2 (capable)
Configuration Revision : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs : 502
VTP Operating Mode : Transparent
VTP Domain Name :
VTP Pruning Mode : Disabled (Operationally Disabled)
VTP V2 Mode : Disabled
Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)
OL-26590-01 35
Configuring VLANs
Configuring VTP