Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Enabling VTP Prunning

I am trying to undersand how VTP pruning works when enabled at the configuration level.
I have Enabled VTP Prunning at the Global Configuration, then assigned some interfaces on Switch1 and Switch2 to different vlans.

However there is Vlan on SW1 that has no ports assigned to it is still showing on SW2 and vice versa

Here VLan 33 has no interfaces assigned to it and it still showing in SW1
SW1#sh vlan br

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Et0/3
10   VLAN0010                         active    
11   VLAN0011                         active    
20   VLAN0020                         active    
33   VLAN0033                         active    
40   VLAN0040                         active    Et0/1, Et0/2
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup
SW1#

Here Vlan 40, has no interfaces assigned to it , but is showing :
SW2#sh vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Et0/2, Et0/3
10   VLAN0010                         active    
11   VLAN0011                         active    
20   VLAN0020                         active    
33   VLAN0033                         active    Et0/1
40   VLAN0040                         active    
1002 fddi-default                     act/unsup
1003 trcrf-default                    act/unsup
1004 fddinet-default                  act/unsup
1005 trbrf-default                    act/unsup
SW2#
0
jskfan
Asked:
jskfan
  • 2
  • 2
2 Solutions
 
Don JohnstonCommented:
Pruning does not delete a VLAN from a switch.  It removed the VLAN from the allowed VLAN list on a trunk.  

So if you issue a "show int trunk" on the remote switch, you should see the VLAN not listed in the "Vlans in spanning tree forwarding state and not pruned" section.
0
 
jskfanAuthor Commented:
I see the Output below. What do they mean by:
 Port        Vlans in spanning tree forwarding state and not pruned
Et0/0       1,33


SW1#sh interfaces trunk 

Port        Mode             Encapsulation  Status        Native vlan
Et0/0       on               802.1q         trunking      1

Port        Vlans allowed on trunk
Et0/0       1-4094

Port        Vlans allowed and active in management domain
Et0/0       1,10-11,20,33,40

Port        Vlans in spanning tree forwarding state and not pruned
Et0/0       1,33
SW1#

Open in new window


SW2#sh interfaces trunk

Port        Mode             Encapsulation  Status        Native vlan
Et0/0       on               802.1q         trunking      1

Port        Vlans allowed on trunk
Et0/0       1-4094

Port        Vlans allowed and active in management domain
Et0/0       1,10-11,20,33,40

Port        Vlans in spanning tree forwarding state and not pruned
Et0/0       1,40
SW2#
0
 
Don JohnstonCommented:
I see the Output below. What do they mean by:
 Port        Vlans in spanning tree forwarding state and not pruned
Et0/0       1,33

The only VLANs able to cross the trunk are VLANs 1 and 33.

Which means 10, 11, 20 and 40 will not be carried over that trunk.
0
 
jskfanAuthor Commented:
Excellent!!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now