Configuring VLANs on HP 1910 switch

35,815

Solution 1

I believe I have found the answer on page 148 of the HP 1910 User Guide

For inbound untagged frames:

  • Access port will tag the frame with the PVID of the port.
  • Trunk and Hybrid will check if the PVID of the port is permitted on that port, and tag it. If the PVID is not one of the ones allowed on the port, the frame is dropped.

For inbound tagged frames:

  • Access port will pass the frame along if the VLAN tag matches the port's PVID. Otherwise it will drop the frame.
  • Trunk and Hybrid will receive the frame if the VLAN is one of the ones allowed on that port, otherwise they drop it.

For outbound traffic (this is where Trunk and Hybrid differ):

  • Access port will remove the VLAN tag, and send the frame untagged.
  • Trunk will remove the tag if it matches the PVID and the port belongs to the PVID. It will send it with a VLAN tag if the VLAN is carried on that port, but different from the PVID.
  • Hybrid will send the frame tagged or untagged, depending on whether the VLAN is set for tagged or untagged membership. Hybrid ports can have multiple untagged VLANs.

This still doesn't give a satisfactory explaination of hybrid ports, but explains everything else well enough. Hopefully someone can add some information about hybrid ports.

Solution 2

Traditionally you use either of the two modes

  1. Access - Can have single untagged VLAN
  2. Trunk - Single Untagged VLAN + Multiple Tagged VLANs

The new mode is Hybrid which allows multiple untagged VLANs on the same port which was not possible in the above two modes

One use case of Hybrid mode is when you connect an IP Phone to the switch and a PC connected to IP Phone's switch port. To make two VLANs work - one data and one Voice, we have been making the Voice VLAN as tagged and Data VLAN as untagged and the switch port in trunk mode.

With the switch port in Hybrid mode, both VLANs can be untagged.

Share:
35,815

Related videos on Youtube

Grant
Author by

Grant

If it involves computers or electronics, I probably do it. I have experience with Exchange, Sharepoint, Zabbix, Powershell, Hyper-V clusters, and a whole host of other things. If you need to contact me, my email address is [email protected]

Updated on September 18, 2022

Comments

  • Grant
    Grant over 1 year

    I understand how VLANs work, but am not quite sure what the various settings in my HP switch actually do.

    I have an HP 1910 switch, and I'm using the web interface to configure it (personally I'd prefer the CLI, but we have some CLIphobic people involved).

    I can set a port to be a tagged or untagged member of a VLAN. I can only set one untagged VLAN on a port, which makes sense. I can also set the port type to Access, Trunk or Hybrid.

    What I don't understand is how those two options combine. Why would I set a port as Access, and have it a tagged member of multiple VLANs?

    What is the difference between Access, Trunk and Hybrid, and how do they differ in how they handle incoming and outgoing tagged and untagged traffic?

  • NuckinFutz
    NuckinFutz over 10 years
    I thought hybrid ports could have one untagged and multiple tagged vlans.
  • Grant
    Grant over 10 years
    @toppledwagon According to the documentation, trunk ports can have one untagged and multiple tagged. Hybrid can have multiple UNtagged. Which makes absolutely no sense to me...why would you do that? Hoping someone can clear that part up.