Difference between a trunk port and an untagged port

Solved
kamal -  
 valouvalouvalou -
Hello,

I would like to know the difference between a switch port configured in trunk mode and a port in untagged mode, knowing that both allow communication with all VLANs of the switch.

1 answer

  1. valouvalouvalou
     
    When defining the ports associated with each VLAN, there are 3 modes: Untagged, Tagged, and No:

    Untagged: The port is associated with only one VLAN. This means that any equipment connected to this port will be part of the VLAN.

    Tagged: Means that the frames arriving and leaving the port are marked with an additional 802.1q header in the Ethernet field.
    A port can be "tagged" on multiple different VLANs.
    The advantage of Tagged mode is the ability to have a server that can communicate with all the stations of the VLANs without the VLANs being able to communicate with each other.

    No: No configuration in the VLAN.

    Trunk mode allows you to "carry" your VLANs over the network.

    Just like VRFs (layer 3).
    1
    1. kamal
       
      thank you so much.
      0
    2. valouvalouvalou
       
      with pleasure!
      0