cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
766
Views
0
Helpful
3
Replies

Pruning not removing vlans in forwarding state on trunk

mojogar
Level 1
Level 1

I have 2 switches with a trunk between them (both ports set to <sw mode trunk>, <sw nonnegotiate>).  One is a 3650 and the other is a 2960.

 

The 3650 is in VTP server mode

The 2960 is in VTP client mode (both ver 1)

Pruning is enabled on both switches

The 2960 switch has only 2 vlans enabled in it of a network total of 15.  Here I am showing the ports that are in vlans on the 2960:

 

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1/0/25, Gi1/0/26, Gi1/0/27, Gi1/0/28, Te1/1/1, Te1/1/2
4 athletic active
5 student active
11 production active Gi1/0/1, Gi1/0/2, Gi1/0/3, Gi1/0/4, Gi1/0/5, Gi1/0/6, Gi1/0/7, Gi1/0/8
Gi1/0/9, Gi1/0/10, Gi1/0/11, Gi1/0/12, Gi1/0/13, Gi1/0/14, Gi1/0/15
Gi1/0/16, Gi1/0/17, Gi1/0/18, Gi1/0/19, Gi1/0/20, Gi1/0/21, Gi1/0/22
Gi1/0/23
12 guest active
13 prod-wifi active
328 VLAN0328 active
329 VLAN0329 active
688 VLAN0688 active

 

Here I am showing the output from the interface trunk on the 3650:

 

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

Port Vlans allowed on trunk
Te1/0/40 1-4094

Port Vlans allowed and active in management domain
Te1/0/40 1,4-5,11-13,328-329,688

Port Vlans in spanning tree forwarding state and not pruned
Te1/0/40 1,4-5,11-13,328-329,688

 

 

Im perplexed as to why pruning is not working

1 Accepted Solution

Accepted Solutions

To fix this, I turned off VTP pruning globally and then re-enabled.

View solution in original post

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni
You only need to enable it on the server in VTP, once it show in vtp status as enabled there it passes it to the clients from what i remember , but you may be hitting some bug if its not working you could debug vtp to see whats happening it may give more info , you can always manually prune which is usually more preferred as its user controlled , switchport trunk allowed vlan

Just one thing the vlans names match exactly on both switches yes no white spaces or typos as that would cause it not to prune correctly as the DB would be diff on each switch

To fix this, I turned off VTP pruning globally and then re-enabled.

Review Cisco Networking for a $25 gift card