03-08-2020 04:43 AM - edited 03-08-2020 04:43 AM
when i get a blank output of the show int trunk, this means that the link is down.
But how should i fix that besides reentering all the code again? Is there an easy way?
Also, how can i see, when using vlans, which port has which vlan connected? show vlan isnt doing that
thanks for looking into this.
03-08-2020 06:58 AM
I do not have a suggestion of how to fix show interface trunk but I do have a suggestion of how to show which port has which vlan connected. Use the command show interface status and it will show for each interface which vlan it belongs to.
03-08-2020 07:06 AM
>when i get a blank output of the show int trunk, this means that the link is down.
Issue show int gix/y to get the status-parameters of a corresponding physical trunk link
>Also, how can i see, when using vlans, which port has which vlan connected? show vlan isnt doing that
show int status will provide this overview
M.
11-29-2024 05:53 PM
Thank you! The issue of down links is the correct reason for why the show interfaces trunk command was showing a blank block for me in PT. I linked it to a router and activated the interface and the command worked as intended. Problem solved!
11-30-2024 06:59 AM
Thanks for sharing your experience with the community.
03-08-2020 10:51 AM
Hi,
I would say that in the end, you want to see not only which interfaces are of which type (access or trunk) and in which VLAN's, but rather what traffic for which VLAN's is forwarded or not over a link. So i would use the following commands:
" show panning-tree vlan x", "show spanning-tree interface x/y", "show spanning-tree vlan x interface x/y"
Play around with the commands, for both access and trunk, and you'll figure out by yourself when to use which one.
Regards,
Cristian Matei.
09-30-2022 07:50 AM
If you don't see anything with the "show interface trunk" command it could be because your running on an older IOS. Try these two commands on your trunk ports to resolve this:
switchport trunk encapsulate dot1q
switchport mode trunk
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