Got it

Access Port vs Trunk Port vs Hybrid Port (info and sample Config)

Latest reply: Aug 25, 2020 13:02:52 481 1 2 0 1

You must have the doubt what’s the  function of the several ports in a switch. Then you need to know what  the link types and port types are.


What are the link types?  

The link type of VLAN can be divided into access link and trunk link.  

Access link is part of only one VLAN, and  normally is for end devices. Any device attached to an access link is  unaware of a VLAN membership. An access-link connection can understand  only standard Ethernet frames. Switches remove any VLAN information from  the frame before it is sent to an access-link device.  

Trunk link can carry multiple VLAN traffic and normally is used to connect switches to other switches or to routers.  


What are the port types?  

Access ports:  

l Belong to one VLAN.  

l Commonly used to connect computer ports.  


Trunk ports:  

l Allow multiple VLANs through.  

l Receive and send multiple VLAN packets.  

l Typically used for connection between switches.  


Hybrid ports:  

l Allow multiple VLANs through.  

l Receive and send multiple VLAN packets.  

l Used for connection between switches, or switch and computer.  


 

You may get well understood on those ports in following table.  


No’  

Port Type  

Support Mode  

Common Use Cases  

Comment/s  

1.  

Access  

Single Untagged VLAN  

PC / Printer to Switch  


2.  

Trunk  

Single Untagged VLAN + Multiple Tagged VLAN’s  

Switch to Switch, Hypervisor to Switch  

-VLAN 1 can be Tagged (Untagged by default)  

3.  

Hybrid  

Support Untagged VLAN’s & Tagged VLAN’s  

Physical Connection: IP Phone to Network Switch Port & a PC to IP Phone’s Switch port  

Logical Connection: Voice VLAN as Tagged & Data VLAN as Untagged & Switch port in Trunk mode  


-Usually the Untagged VLAN number = Native/Default VLAN number     -Support for multi-Untagged Frames, usually require the use of protocol-based VLANs      -VLAN 1 can be Tagged (Untagged by default)    



Here is an egg how these ports perform in a system.

https://www.utepo.net/include/upload/kind/image/20180201/egg.jpg  


 

Access port  

Strip the VLAN information in the packet and forward the packet directly.  


Trunk port  

1. Compare the PVID of the port and the VLAN information in the packet to be transmitted.  

2. If they are the same, proceed to Step 3, otherwise, proceed to Step 4  

3. Strip the VLAN information in the packet and forward  the packet.  

4. Forward the packet directly.  


Hybrid port  

1. Check the VLAN attributes on this port  by running the command disp interface to se whether the VLAN attributes  is "tagged" or "untagged"  

2. If I is untagged, proceed to Step 3, if it is tagged, proceed to step 4.  

3. Strip the VLAN information in the packet and forward the packet.  

4. Forward the packet directly.  



Sample Configuration

sample configuration
Vlan 9 - Santral
Vlan 10 - Data
Vlan 11 - Voice Vlan

interface GigabitEthernet0/0/1
port link-type hybrid
voice-vlan 9 enable
port hybrid pvid vlan 10
port hybrid tagged vlan 11
port hybrid untagged vlan 10


Only the author can view this post
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.