Introduction to vswitch Port Link types

Source: Internet
Author: User

Vswitch Port LinkThere are many types. Let's take a look at them.

1. Introduction to vswitch Port Link types

The Ethernet port of a vswitch has three link types: Access, Trunk, and Hybrid.

1. An Access port can only belong to one VLAN and is generally used to connect to a computer;

2. A Trunk port can belong to multiple VLANs and can receive and send packets from multiple VLANs. It is generally used for ports connected between switches;

3. A Hybrid port can belong to multiple VLANs and can receive and send packets from multiple VLANs. It can be used for Switch Connection or user computer connection.

Hybrid and Trunk ports share the same characteristics that both link-type ports can be tagged when packets from multiple VLANs are sent; the difference is that the Hybrid port allows packets of multiple VLANs to be sent without tags, while the Trunk port only allows packets of the default VLAN to be sent without tags.

Three types of ports can exist on an Ethernet switch. However, you cannot directly switch between the Trunk port and the Hybrid port, but you can only set it to Access port first and then another type of port. For example, the Trunk port cannot be directly set to the Hybrid port, but can only be set to the Access port and then to the Hybrid port.

2. Precautions for using ports of Different Types

When configuring the Trunk port or Hybrid port and sending multiple VLAN packets using the Trunk port or Hybrid port, note that the default vlan id (PVID of the port) of the local port and the peer port) be consistent.

When isolate-user-vlan is used on a vswitch For L2 port isolation, the link type of the port involved in this configuration is automatically changed to the Hybrid type.

Hybrid port is flexible to meet special application requirements. Most of these requirements are on switches that cannot issue access control rules. The processing mechanism for sending and receiving packets through the Hybrid port is used to implement layer-2 Access Control between PCs in the same network segment.

Processing of various types of ports when receiving and sending packets

1. Processing when the port receives packets:

2. Processing when sending packets on the Port:

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.