B
B
by_EL2019-07-09 17:08:31
Computer networks
by_EL, 2019-07-09 17:08:31

What is the main difference between trank port and access port?? except tagged is it clear?

The question is, what is the main difference between a trunk port and an access port, how do they differ? (I know I read these tagged untaged) but when is it used when is access used and when is a trunk used to link switches ???

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
athacker, 2019-07-09
@by_EL

The BASIC difference - in it. That the trunk port can drive tagged traffic from several vlans, and the access port will receive / send untagged traffic belonging to only one vlan (traffic as belonging to a vlan will be marked only inside the switch).
A minor difference is that trunk ports can support auto-negotiation/VLAN protocols. These are DTP or VTP protocols.
Switches can be connected by access ports if you join two infrastructures with overlapping vlans. Such a case arises with Internet providers, for example. When you need to connect a client switch, and you have a vlan allocated for this client, say, 666. But the client already uses this vlan. You cannot break your VLAN plan and the client cannot. Then you configure the port towards the client's switch to 666 vlan with an access, and the client on its side configures the port in the vlan that it has allocated as a docking port with an access. Well, for example, 777. And it turns out the world-friendship-chewing gum, and everyone works according to their VLAN plans without any problems. But technically it turns out that two switches are connected by access ports.

D
DDwrt100, 2019-07-09
@DDwrt100

Trunk link to which a bunch of tagged packets (Read Vlanov) can go, in connection with this feature, this type of link is usually used to connect a switch to a switch.
Access , which can be translated as access, and is used for end device connections. Only one Vlan is fed to this port, the peculiarity (we are talking about cisco equipment) is that the packet will already come to the end device with the VLAN tag cut out, that is, the packets to the workstation will already be untagged.
This is in the general case.
The rule is not strict, and in principle, some nuances can be turned inside out.
Concerning LACP, it is link aggregation. If you rely on the ideology described above, this is precisely aggregation. LACP link can be in trunk and access status.

D
d-stream, 2019-07-09
@d-stream

This is more likely due to differences in terminology, for example, cisco and others.
A generalized trunk - where tagged packets fly, access is already a port where packets are untagged and related to the corresponding vlan
, although the trunk still appears in various timing variations (IEEE 802.3ad / LACP) when several ethernets give multiple bandwidth - such as several intel network cards in team-mode are connected by patch cords to several ports of the hp switch, which are assembled into a trunk there) and it turns out, for example, 2Gbit ethernet

R
Rodion Kudryavtsev, 2019-07-09
@rodkud

Trunk - interswitch, router-switch (as a rule, but options are possible here). Access - switch-end host

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question