cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2285
Views
0
Helpful
5
Replies

Difference between vty pruning and allowed vlans command

Is there a difference between vtp pruning and controlling the vlans allowed using the switchport trunk allowed vlan vlan-list?

Thank you.

5 Replies 5

cisconoobie
Level 2
Level 2

VTP pruning removes the unnecessary vlans from the trunk but does not remove the spanning-tree instance that is still running for that vlan.

using the trunk allowed command totally removes it from trunk.

anand.dahiya
Level 1
Level 1

Hi

Well the "switchport trunk valn vlan list" only allowed the trafic for specific vlans that u add to the vlan list in the above commant where as if enable the vtp prunning that only forward the traffic if same vlan exist on both the swith for eg. if one switch is having vlan 2,3,4 and another have vlan 2,5,6 in this scenerio only vlan 2 trafgfic can cross the trunk.

Thanx

Edison Ortiz
Hall of Fame
Hall of Fame

They both perform the same task. One is done dynamically (you enable vtp pruning in the entire vtp domain) while the other is a manual process and it's a per switchport configuration.

If you are running vtp transparent mode, you only have one option, that is - you need to do it manual way since you don't have a vtp domain.

Hi

Just to clarify, as one of the other posters pointed out there is a slight difference in that vtp pruning will stop any traffic being sent down a trunk link to a switch which has no ports in that vlan.

Vtp allowed ... defines which vlans are allowed across the trunk so in that sense they are the same. But unlike VTP pruning, when you remove a vlan off the trunk the STP instance for that vlan still runs but not down to the switch that is at the other end of the trunk. So in effect you can control across which switches STP is run per-vlan.

Jon

Thanks everybody for your responses. It helped.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: