Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Bronze

manually pruning of vlan and vtp

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Blue

Re: manually pruning of vlan and vtp

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

4 REPLIES
Blue

Re: manually pruning of vlan and vtp

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

Bronze

Re: manually pruning of vlan and vtp

thanks for your reply.

Gold

Re: manually pruning of vlan and vtp

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

Blue

Re: manually pruning of vlan and vtp

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

885
Views
0
Helpful
4
Replies