VMware vSphere

 View Only
  • 1.  How to know if a VLAN has been tagged or not

    Posted May 18, 2022 07:01 AM

    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..



  • 2.  RE: How to know if a VLAN has been tagged or not

    Posted May 18, 2022 11:11 AM

    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.



  • 3.  RE: How to know if a VLAN has been tagged or not

    Posted May 18, 2022 12:46 PM

    Hello  

    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

     

     



  • 4.  RE: How to know if a VLAN has been tagged or not

    Posted May 18, 2022 04:58 PM

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