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

trunk pruning quesion

Hello, I have a list of vlan on my network (45, 56,70, 90 ...) I want on my trunk ports only to let pass traffic for specific vlan.

If I want to let pass only traffic of vlan's 45 and 56 on a trunk port what do I do?

I tried to use the following command

switchport trunk pruning vlan except 45,56

but I have this message: Command rejected: Bad VLAN pruning list

Why this message? My vtp mode is client

thanks

4 Replies 4

leonvd79
Level 4
Level 4

Hello

Try the following command:

switchport trunk vlan allowed 45 , 56

HTH

Leon

* Please reate useful posts

leonvd79
Level 4
Level 4

Hello

Try the following command:

switchport trunk vlan allowed 45 , 56

HTH

Leon

* Please reate useful posts

For the switchport trunk pruning vlan command try to add spaces before and after the VLAN number "40 , 50 ".

It could be that pruning VLANs is not allowed when running VTP in client mode.

c.lemaire
Level 1
Level 1

Hello,

If I were you I would configure the trunk to accept only needed vlans (for example 45 and 56) with the command "switchport trnuk allowed vlan 45,56"

The command "switchport trunk pruning vlan except 45,56" is rejected because you cannot disable the pruning on vlans 1,1002-1005. So the command "switchport trunk pruning vlan except 1,45,56,1002-1005" should be accepted. However, you will only disable the pruning on the other vlans (70, 90 ...) This will not block them at all.

I hope this helps...

Regards,

Christophe

Regards,

Christophe

Review Cisco Networking for a $25 gift card