Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enables VTP pruning on the device. The default
is disabled.
switch(config)# vtp pruning
Step 2
(Optional)
Disables VTP pruning on the device. The default
is disabled.
switch(config)# no vtp pruning
Step 3
(Optional)
Displays the VTP pruning eligibility of the trunk
port. The default is that all the VLANs from 2 to
1001 are pruning eligible.
switch(config)# show interface
interface-identifier switchport
Step 4
Creates a port-channel interface and enter interface
configuration mode.
switch(config)# interface port-channel
channel-number
Step 5
Sets the specified VLANs to be VTP pruning
eligible.
switch(config-if)# switchport trunk
pruning vlan [add | remove | except |
none | all] VLAN-IDs
Step 6
Returns to privileged EXEC mode.switch(config-if)# end
Step 7
(Optional)
Displays VTP pruning information and counters.
switch# show vtp counters
Step 8
(Optional)
Resets all the VTP pruning counter values.
switch# clear vtp counters
Step 9
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
139
Configuring VTP V3
Configuring VTP V3 Pruning