03-08-2006 06:02 AM - edited 03-03-2019 02:10 AM
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
03-08-2006 06:12 AM
Hello
Try the following command:
switchport trunk vlan allowed 45 , 56
HTH
Leon
* Please reate useful posts
03-08-2006 06:17 AM
Hello
Try the following command:
switchport trunk vlan allowed 45 , 56
HTH
Leon
* Please reate useful posts
03-08-2006 06:19 AM
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.
03-08-2006 06:41 AM
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
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