Access Link and Trunk Link Explained

A switch supports two types of VLAN connections: access link and trunk link. An access link connection carries the traffic of a single VLAN, whereas a trunk link connection carries the traffic of multiple VLANs.

VLAN is a switch feature. It allows you to break a large broadcast domain into smaller broadcast domains. VLANs are not limited to a single switch. They can span across the network. For example, if your network has five Ethernet switches, you can create and configure the same VLAN on all five Ethernet switches.

If you create the same VLAN on two switches, you must change the default connection type on the port that connects the switches. There are two types of connections: access link and trunk link.

Access Link

An access link belongs to and carries the traffic of only one VLAN. It transports the traffic in native formats with no VLAN information. It connects an end device to an access port.

An access port works only with a single VLAN. It forwards all incoming frames from the ports that belong to the VLAN configured on it. Any device attached to an access port through an access link is unaware of a VLAN membership. It does not understand the VLAN concept and physical network topology. It assumes the connected link and network as a single broadcast domain.

Switches remove all VLAN information from frames before forwarding them through access ports.

Trunk link

A trunk link belongs to and carries the traffic of multiple VLANs. It transports the traffic with VLAN information. It connects another switch or the device that understands VLANs to a trunk port.

A trunk port works with multiple VLANs. It adds VLAN information to frames before forwarding them. Since it attaches VLAN information to frames, the device connected to it must understand VLAN concepts. You can attach a switch or a router to a trunk port.

Administrators use trunk ports to connect switches in a multi-VLAN environment.

access link and trunk link

Differences between an access link and a trunk link

The following table lists the differences between an access link (or port) and a trunk link (or port)

Access link (or port)Trunk link (or port)
It connects an end device to the switch.It connects a switch or a router to the switch.
It works with a single VLAN.It works with multiple VLANs.
It removes all VLAN information from frames before forwarding them.It adds VLAN information to frames before forwarding them.
By default, all switch ports work as access ports.By default, no switch port works as a trunk port.
It carries the traffic on a single VLAN.It carries the traffic of many VLANs.

You can only configure a switch port to be either an access port or a trunk port—not both. So you’ve got to choose one or the other and know that if you make it an access port, that port can be assigned to one VLAN only. And if you make it a trunk port, you need to add a device that understands VLANs on the other end of it.

ComputerNetworkingNotes CCNA Study Guide Access Link and Trunk Link Explained