Configuring VLANs
Command or Action
Step 2
feature vtp
Example:
switch(config)# feature vtp
switch(config)#
Step 3
vtp domain domain-name
Example:
switch(config)# vtp domain accounting
Step 4
vtp version {1 | 2}
Example:
switch(config)# vtp version 2
Step 5
vtp mode {client | server| transparent| off}
Example:
switch(config)# vtp mode transparent
Step 6
vtp file file-name
Example:
switch(config)# vtp file vtp.dat
Step 7
vtp password password-value
Example:
switch(config)# vtp password cisco
Step 8
exit
Example:
switch(config)# exit
switch#
Step 9
show vtp status
Example:
switch# show vtp status
Step 10
show vtp counters
Example:
switch# show vtp counters
Step 11
show vtp interface
Example:
switch# show vtp interface
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
Purpose
Enables VTP on the device. The default is disabled.
Specifies the name of the VTP domain that you want this
device to join. The default is blank.
Sets the VTP version that you want to use. The default is
version 1.
Sets the VTP mode to client, server, transparent, or off.
Beginning with NX-OS Release 5.0(2)N2(1), you can
configure VTP in client or server mode.
Specifies the ASCII filename of the IFS file system file
where the VTP configuration is stored.
Specifies the password for the VTP administrative domain.
Exits the configuration submode.
(Optional)
Displays information about the VTP configuration on the
device, such as the version, mode, and revision number.
(Optional)
Displays information about VTP advertisement statistics on
the device.
(Optional)
Displays the list of VTP enabled interfaces.
Configuring VTP
51