Cisco Systems N3KC3064TFAL3 vtp version 1, vtp file file-name, vtp password, exit, startup-config

Models: N3KC3064TFAL3 N3KC3048TP1GE

1 164
Download 164 pages 5.98 Kb
Page 49
Image 49
vtp version {1 2}

Configuring VLANs

Configuring VTP

 

Command or Action

Purpose

Step 3

switch(config)# vtp domain

Specifies the name of the VTP domain that you want

 

domain-name

 

this device to join. The default is blank.

Step 4

switch(config)#

vtp version {1 2}

Sets the VTP version that you want to use. The default

 

 

 

 

is version 1.

Step 5

switch(config)#

vtp file file-name

Specifies the ASCII filename of the IFS file system

 

 

 

 

file where the VTP configuration is stored.

Step 6

switch(config)#

vtp password

Specifies the password for the VTP administrative

 

password-value

 

domain.

Step 7

switch(config)#

exit

Exits the configuration submode.

Step 8

switch#

show vtp status

(Optional)

 

 

 

 

Displays information about the VTP configuration on

 

 

 

 

the device, such as the version, mode, and revision

 

 

 

 

number.

Step 9

switch#

show vtp counters

(Optional)

 

 

 

 

Displays information about VTP advertisement

 

 

 

 

statistics on the device.

Step 10

switch#

show vtp interface

(Optional)

 

 

 

 

Displays the list of VTP-enabled interfaces.

Step 11

switch#

show vtp password

(Optional)

 

 

 

 

Displays the password for the management VTP

 

 

 

 

domain.

Step 12

switch#

copy running-config

(Optional)

 

startup-config

 

Copies the running configuration to the startup

 

 

 

 

configuration.

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

 

----------------------

: 2 (capable)

VTP Version

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

Page 49
Image 49
Cisco Systems N3KC3064TFAL3 vtp version 1, vtp file file-name, vtp password, exit, show vtp status, show vtp counters