05-19-2008 08:04 AM - edited 03-05-2019 11:04 PM
hi every body!
Is it possible to prune vlan manually on interface by using " switchport trunk pruning vlan " command, while vtp is not enabled?
thanks!
Solved! Go to Solution.
05-19-2008 08:19 AM
You cannot 'prune' with out VTP being enabled.
Pruning requires VTP operation as it is a function of VTP.
Please see the following link for more info:
http://www.cisco.com/en/US/tech/tk389/tk689/technologies_tech_note09186a0080094c52.shtml#vtp_pruning
05-19-2008 08:19 AM
You cannot 'prune' with out VTP being enabled.
Pruning requires VTP operation as it is a function of VTP.
Please see the following link for more info:
http://www.cisco.com/en/US/tech/tk389/tk689/technologies_tech_note09186a0080094c52.shtml#vtp_pruning
05-22-2008 06:02 PM
thanks for your reply.
05-22-2008 06:31 PM
you can use the 'switchport trunk allowed vlan' command to get the same desired effect, if vtp is not enabled.
05-22-2008 07:37 PM
Sara:
There is a bit of contradiction in your question. Pruning "manually" does not mean utilizing that command. That command is utilized within the framework of VTP, as was pointed out.
You can, however, prune manually, as you ask, by using the switchport trunk allowed vlan [vlan list] command under the trunk interface configuration. You simply list the vlans that you want to allow, all others will be blocked by default. In the absence of this command, all vlans will be allowed.
In CatOS switches, you can use the clear trunk command as follows:
Switch> (enable) clear trunk 1/1 2-9,12,14-1005
Removing Vlan(s) 2-9,12,14-1005 from allowed list. Port 1/1 allowed vlans modified to 1,10,11,13.
HTH
Victor
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide