cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
630
Views
0
Helpful
5
Replies

Timing loops

lokesh.sharma
Level 1
Level 1

How to detect a port is associated with two VLAN tags?

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame

Is the port configured as a Trunk or Private VLAN?

The port is not configured by me. But I am interested in knowing whether a port has multiple VLANs.

One more thing to add: My objective is to check the loop in the topology with the help of VLAN IDs. However, if a port has been configured as a trunk, in that case, my VLAN id gets changed. So I am interested to know how I can resolve this scenario to detect a loop. Thank you in advance.  

"sh interface status" will show different VLANs configured for access ports, however, if the port is configured for Private VLAN, it will show two VLANs. 

"sh interface trunk" will show which ports are configured for Trunk and what VLANs are enabled.  

Thank you for the quick reply. However, I am interested in knowing other interfaces VLAN information. Here other means are the downstream devices of my network topology.