cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1365
Views
0
Helpful
4
Replies

manually pruning of vlan and vtp

sarahr202
Level 5
Level 5

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

gpulos
Level 8
Level 8

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

View solution in original post

4 Replies 4

gpulos
Level 8
Level 8

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

thanks for your reply.

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

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

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:

Review Cisco Networking products for a $25 gift card