Cisco Nexus 7000 Series Configuration Manual page 67

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring VTP
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# vtp pruning
3. (Optional) switch(config)# no vtp pruning
4. (Optional) switch(config)# show interface interface-identifier switchport
5. switch(config)# interface port-channel channel-number
6. switch(config-if)# switchport trunk pruning vlan [add | remove | except | none | all] VLAN-IDs
7. switch(config-if)# end
8. (Optional) switch# show vtp counters
9. (Optional) switch# clear vtp counters
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# vtp pruning
Step 3
switch(config)# no vtp pruning
Step 4
switch(config)# show interface interface-identifier
switchport
Step 5
switch(config)# interface port-channel
channel-number
Step 6
switch(config-if)# switchport trunk pruning vlan
[add | remove | except | none | all] VLAN-IDs
Step 7
switch(config-if)# end
Step 8
switch# show vtp counters
Step 9
switch# clear vtp counters
This example shows how to set VLANs 9 to 54 to be pruning eligible and set VLANs 2 to 8 and 55 to 1001
as not eligible for VTP pruning:
switch(config-if)# switchport trunk pruning vlan 9-54
VLAN 1 is never pruning eligible, because it is a factory-default VLAN. VLANs 1002 to 1005 are reserved
for Token Ring networks. The VLANs 1006 is not pruning eligible.
Purpose
Enters global configuration mode.
Enables VTP pruning on the device. The default is disabled.
(Optional)
Disables VTP pruning on the device. The default is disabled.
(Optional)
Displays the VTP pruning eligibility of the trunk port. The
default is that all the VLANs from 2 to 1001 are pruning
eligible.
Creates a port-channel interface and enter interface
configuration mode.
Sets the specified VLANs to be VTP pruning eligible.
returns to privileged EXEC mode.
(Optional)
Displays VTP pruning information and counters.
(Optional)
Resets all the VTP pruning counter values.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Configuring VTP Pruning
51

Advertisement

Table of Contents
loading

Table of Contents