manually pruning of vlan and vtp

Answered Question
May 19th, 2008
User Badges:
  • Bronze, 100 points or more

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!

Correct Answer by gpulos about 8 years 11 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
sarahr202 Thu, 05/22/2008 - 18:02
User Badges:
  • Bronze, 100 points or more

thanks for your reply.

srue Thu, 05/22/2008 - 18:31
User Badges:
  • Blue, 1500 points or more

you can use the 'switchport trunk allowed vlan' command to get the same desired effect, if vtp is not enabled.

lamav Thu, 05/22/2008 - 19:37
User Badges:
  • Blue, 1500 points or more

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

Actions

This Discussion