VMware Cloud Community
Sam0054
Enthusiast
Enthusiast

How to know if a VLAN has been tagged or not

Hi,

I am quite new with VLAN tagging hence, how would I know if an existing VLAN has been tagged or not?

And if not yet tagged, where/how can I tag a newly created VLAN?

 

Thanks in advance..

Tags (1)
0 Kudos
3 Replies
fabio1975
Commander
Commander

Ciao 

In order to check if the vlan is tagged and untagged it is necessary to check the SWITCH side of the network how the port (s) are configured or where our ESXi is connected. Following this verification we can configure the portgroup (s) in our vvs or vds.
For the configuration, it depends on the type of network switch.

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

s_wieland
Enthusiast
Enthusiast

Hello @Sam0054 

as always, there are different location to look at. If the switch port your using is an access port, the VLAN tag is applied on the physical switch already and you have to used an untagged network on ESXi.

You can check the CDP information on the NIC within vCenter to get the configured VLAN, if CDP is enabled on switch level.

CDP is also helpful to see the name of the switch and the port the NIC is attached to.

s_wieland_0-1652877658229.png

 

If the port on the physical switch is configured as a trunk port, you cannot see what VLAN IDs are allowed and which not. But you can see the default VLAN, that has to be used as untagged. All others have to be tagged.

To tag a network, you have to select the typ VLAN in a distributed portgroup and set the correct VLAN ID. You will see this in the configure tab of the port group.

s_wieland_1-1652877850977.png

 

For a portgroup based on a standard vSwitch you have to check the configuration on each host within "configure -> Virtual switches"

s_wieland_2-1652877980155.png

 

 

0 Kudos
lukaszzasko
Enthusiast
Enthusiast

Vlan ID can be added to newly creatd portgroup. You can also check existing portgroups and look for VLAN_ID field.

0 Kudos