cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3209
Views
0
Helpful
2
Replies

show int f0/1 trunk

sarahr202
Level 5
Level 5

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.

2 Accepted Solutions

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

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

View solution in original post

Ganesh Hariharan
VIP Alumni
VIP Alumni

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

View solution in original post

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

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

Ganesh Hariharan
VIP Alumni
VIP Alumni

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

Review Cisco Networking products for a $25 gift card