cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2484
Views
0
Helpful
8
Replies

VLAN Pruning

kradjesh13
Level 1
Level 1

switchport trunk allowed vlan 1,6

In my VLAN configuration i have used the above command in the Trunk Port for pruning in 4506 switch. Do i need to add some other command to make Vlan Pruning to work with the above command.

If so, can any one give me the sample configs.

Thanks

1 Accepted Solution

Accepted Solutions

Hi Friend,

Pruning is a all together different concept then clearing of vlans. When you Prune the vlan BPDU still passes the link but if you clear the vlans BPDU will also stop passing the link.

What you have configured is clearing of vlans

switchport trunk allowed vlan vlan_list

And if you want to set the list of VLANs that are enabled for VTP pruning when the switch is in trunking mode then run this command

switchport trunk pruning vlan vlan_list

This link will guide you the configuration for IOS on 4506 switch

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat4000/12_1_20/cmdref/snmp_vtp.htm#wp1022676

To guide you more about VTP pruning please read this doc for 4506 switch with IOS

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat4000/12_1_20/config/vtp.htm#1020444

HTH

Ankur

View solution in original post

8 Replies 8

balajitvk
Level 4
Level 4

Yes you have add other commands to make vlan pruning

Hope this link clears ur doubt,

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat5000/rel_4_2/config/vlans.htm#12000

Thanks for your reply Balaji

The above link which you sent for Cat OS. The switch which i am handling is the IOS version. It will be great if you attach some Document or Sample config lines for IOS version.

Thanks

Rajesh Krishnamurthy

Thanks Prame.

I did't get proper solution from the document. Since mine is the IOS verson of 4506 switch.

Just want to know if i use "switchport trunk allowed vlan 1,6" on a trunk port, do i need to add "VTP purning" in the Vlan config mode.

Can u guys kindly let me know other commands to be added along with the above 2 commands.

Thanks

Hi rajesh

sorry i did send u the link about VTP Pruning ,with the command ur using up on the trunk will allow only vlan 1 and 6 to transmit & recieve traffic thru the trunk interface.

If ur intention is to allow only those vlans (1,6) via the trunk then it will do.

regds

Yes Prame,

My intention is to send only Vlan 1 & 6 for sixth floor, 1 & 7 for seventh floors trunk interfaces. So i think the

interface range gigabitEthernet 1/1 - 4

description ---> VLAN TRUNK FOR SIXTH FLOOR <----

switchport mode trunk

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 1,6

no shut

exit

interface range gigabitEthernet 1/5 - 8

description ---> VLAN TRUNK FOR SEVENTH FLOOR <----

switchport mode trunk

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 1,7

no shut

exit

will do without the need of the command "vtp prouning" inside vlan config mode.

Thanks Prem.

Hi Friend,

Yes if your intention is just to allow vlan on specific floors then what commands you have posted above will work fine and give you the desired results.

You need not configure Pruning for this purpose.

Regards,

Ankur

Hi Friend,

Pruning is a all together different concept then clearing of vlans. When you Prune the vlan BPDU still passes the link but if you clear the vlans BPDU will also stop passing the link.

What you have configured is clearing of vlans

switchport trunk allowed vlan vlan_list

And if you want to set the list of VLANs that are enabled for VTP pruning when the switch is in trunking mode then run this command

switchport trunk pruning vlan vlan_list

This link will guide you the configuration for IOS on 4506 switch

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat4000/12_1_20/cmdref/snmp_vtp.htm#wp1022676

To guide you more about VTP pruning please read this doc for 4506 switch with IOS

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat4000/12_1_20/config/vtp.htm#1020444

HTH

Ankur

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: