12-27-2005 04:07 AM - edited 03-03-2019 01:15 AM
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
Solved! Go to Solution.
12-27-2005 06:44 AM
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
12-27-2005 04:11 AM
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
12-27-2005 04:36 AM
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
12-27-2005 04:41 AM
Hi
hope this helps u out ...
http://cisco.com/en/US/tech/tk389/tk689/technologies_tech_note09186a0080094c52.shtml#cat_6k_fam
regds
12-27-2005 05:19 AM
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
12-27-2005 06:12 AM
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
12-27-2005 06:34 AM
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.
12-27-2005 06:55 AM
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
12-27-2005 06:44 AM
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
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: