06-13-2010 04:25 PM - edited 03-06-2019 11:33 AM
Hi every body
I was reading my book. The book says when this command, " show int f0/1 trunk" is issued, the last line of output,"active not pruned" shows the list which is subset of " allowed and active" list with any vtp pruned vlans removed.
So vlans which are being pruned would not be listed under this line" active and not pruned" . How about if i manually configure pruning on trunk as:
switchport trunk pruning vlan 2 . will vlan2 be listed or not listed under " active and not pruned list" ?
thanks and have a good day.
Solved! Go to Solution.
06-13-2010 05:03 PM
Hi Sarah,
Even if you add it manually, it will not show up
Here vlan 90 is pruned manually but it does not show up when I do "do sh int fa0/29 trunk"
Management-Switch(config-if)#do sh int fa0/29 trunk
Port Mode Encapsulation Status Native vlan
Fa0/29 on 802.1q trunking 1
Port Vlans allowed on trunk
Fa0/29 100
Port Vlans allowed and active in management domain
Fa0/29 100
Port Vlans in spanning tree forwarding state and not pruned
Fa0/29 100
Management-Switch(config-if)#
Management-Switch(config-if)#do sh run int fa0/29
Building configuration...
Current configuration : 186 bytes
!
interface FastEthernet0/29
description connection-to-cisco-2611-router
switchport trunk allowed vlan 100
switchport trunk pruning vlan 90
switchport mode trunk
no ip address
end
HTH
Reza
06-13-2010 11:50 PM
Hi every body
I was reading my book. The book says when this command, " show int f0/1 trunk" is issued, the last line of output,"active not pruned" shows the list which is subset of " allowed and active" list with any vtp pruned vlans removed.
So vlans which are being pruned would not be listed under this line" active and not pruned" . How about if i manually configure pruning on trunk as:
switchport trunk pruning vlan 2 . will vlan2 be listed or not listed under " active and not pruned list" ?
thanks and have a good day.
Hi Sarah,
As per the documents you are right it only shows the not pruned vlans on the output,if you manually prune a vlan it will not show that vlan in the output.
Another command to check the pruning vlan on unnder interface
Switch#show interfaces fastEthernet 0/1 switchport
http://www.ciscopress.com/articles/article.asp?p=102157&seqNum=6
Hope to Help !!
Ganesh.H
06-13-2010 05:03 PM
Hi Sarah,
Even if you add it manually, it will not show up
Here vlan 90 is pruned manually but it does not show up when I do "do sh int fa0/29 trunk"
Management-Switch(config-if)#do sh int fa0/29 trunk
Port Mode Encapsulation Status Native vlan
Fa0/29 on 802.1q trunking 1
Port Vlans allowed on trunk
Fa0/29 100
Port Vlans allowed and active in management domain
Fa0/29 100
Port Vlans in spanning tree forwarding state and not pruned
Fa0/29 100
Management-Switch(config-if)#
Management-Switch(config-if)#do sh run int fa0/29
Building configuration...
Current configuration : 186 bytes
!
interface FastEthernet0/29
description connection-to-cisco-2611-router
switchport trunk allowed vlan 100
switchport trunk pruning vlan 90
switchport mode trunk
no ip address
end
HTH
Reza
06-13-2010 11:50 PM
Hi every body
I was reading my book. The book says when this command, " show int f0/1 trunk" is issued, the last line of output,"active not pruned" shows the list which is subset of " allowed and active" list with any vtp pruned vlans removed.
So vlans which are being pruned would not be listed under this line" active and not pruned" . How about if i manually configure pruning on trunk as:
switchport trunk pruning vlan 2 . will vlan2 be listed or not listed under " active and not pruned list" ?
thanks and have a good day.
Hi Sarah,
As per the documents you are right it only shows the not pruned vlans on the output,if you manually prune a vlan it will not show that vlan in the output.
Another command to check the pruning vlan on unnder interface
Switch#show interfaces fastEthernet 0/1 switchport
http://www.ciscopress.com/articles/article.asp?p=102157&seqNum=6
Hope to Help !!
Ganesh.H
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