Three VLAN Modes

Source: Internet
Author: User

Refer to the H3C document below. Many ports are not necessarily the following three types. You can set the tag/untagged definition for import and export at will.

Differences between sending and receiving packets of different link types

Port type

Processing of received packets

Processing of sent packets

When the received message does not contain a tag

When the received packet carries a tag

Access Port

Add default VLAN tags for packets

L
When the vlan id is the same as the default vlan id

L
When the vlan id is different from the default vlan id, the packet is discarded.

Remove the tag and send the message

Trunk Port

L
When the default vlan id is in the list of VLAN IDs allowed by the port, it receives the packet and adds the tag of the default VLAN to the packet.

L
When the default vlan id is not in the list of VLAN IDs allowed by the port, the packet is discarded.

L
When the vlan id is in the list of VLAN IDs allowed by the port

L
When the vlan id is not in the list of VLAN IDs allowed by the port, the packet is discarded.

L
When the vlan id is the same as the default vlan id and is the vlan id allowed by the port, remove the tag and send the packet

L
When the vlan id is different from the default vlan id and is the vlan id allowed by the port, the original tag is kept and the packet is sent.

Hybrid Port

When the vlan id carried in the packet is the vlan id allowed by the port, the packet is sent andPort Hybrid
VLAN
Command to configure whether the port carries a tag when sending packets of this VLAN (including the default VLAN)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.