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

What VLANs are on a trunk

martinbuffleo
Level 1
Level 1

I have been provided a network connection that I know has two VLANs on it.  One is a private link for which I know the VLAN ID.

The second carries the internet and I cannot remember the VLAN ID can query the trunk port to find what other VLANs are on it.

My switch is only set up for the one VLAN, so cant just use a show run.

5 Replies 5

Hi Martin,

If you know the interface number on which trunk is made, then issue the below command

show interface switchport

HTH,

Smitesh

You could just run 'show interface trunk'. This will show you all trunks on the local switch and what VLANs are currently active on the trunk.

thanks for your reply either they are sending almost every VLAN down that cable or it didn't work.

Can you give me a brief description of your topology?

Does this switch have a cable going out to the internet and the same switch has a cable going internally to your network?

NickNac79
Level 1
Level 1

Hi Martin,

Are you saying that you have no access to the other end of the link, and that you have lost the proper config to put on your end?

If this is the case, you can simply put a ptocol analyser (e.g Wireshark) on the cable ( or SPAN the port) and look for the dot1q tags on the packets you're recieving.

Nick

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: