大网数据广告活动
服务器运维问答

Configuring VLANs on HP 1910 switch

· 52CE 我爱测

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 …

问题原文

原帖链接 · Grant · CC BY-SA 3.0

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?

已采纳解答

原帖链接 · Grant · CC BY-SA 4.0

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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2014-01-14)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。