Solved

difference between trunk and tagged vlans...

Posted on 2010-11-24
5
982 Views
Last Modified: 2012-08-13
I know the cisco concept of trunk and access ports, i wanna know the difference between tagged ports and untagged ports in other vendor implementations like foundry etc...
0
Comment
Question by:tpat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 34210780
Hi,

Tagged port means = cisco trunk port
Unteagged port means = cisco access port

0
 
LVL 17

Expert Comment

by:Kvistofta
ID: 34210815
you can see each vlan as a channel or frequency. In an access-port you have only one channel (vlan) and therefore each packet doesnt need to be marked individually.

In a trunk, because you send traffic from different vlans in the same carrier, each packet needs to be marked (tagged), otherwise the remote end doesnt know which vlan each received packet belongs to.

Ok. So in a trunk, each packet is marked. But what if I (the switch) receive a NOT marked packet in a trunk? A packet that is not tagged belongs to what in Cisco-terms is called native vlan. This is by default vlan1 but can be configured differently.

In Cisco-terms we talk about trunks and which vlans that belongs to a specific port. But other vendors see it differently. For example HP Procurve where you configure this tagging per vlan and not per port. If you have a trunk port in a HP-switch you can add additional vlans as tagged to that port (tagged port) but only one vlan can be untagged on that port.  

If you have an access-port (in cisco-terms) which means that you have 0 tagged vlans and 1 tagged vlan, that is how the other end needs to be configured aswell.

If you in HP (or other vendors) add a previously unused switchport as tagged to a vlan, that means that this is (in cisco terms) a trunk that contains one single vlan, and that is tagged. This is in Cisco-switches configured as follows:

int gi0/x
 switchport mode trunk
 switchport trunk allowed vlan 123
 switchport trunk native vlan 1 (or whatever, except for 123)
!

Does this make sense?

/Kvistofta
0
 

Author Comment

by:tpat
ID: 34211007
your explanation was quite good,
but i dont understand
' If you have a trunk port in a HP-switch you can add additional vlans as tagged to that port (tagged port) but only one vlan can be untagged on that port'

What i know from cisco is a trunk port can carry traffic of multiple vlan's whereas an  access port only belongs to one vlan .
0
 
LVL 17

Accepted Solution

by:
Kvistofta earned 500 total points
ID: 34211134
Yes, you are right and there is no contradiction in what I wrote and what you are saying.

The technology is the same, no matter brand. The difference is the way to configure it. In HP you add ports to vlan, in Cisco you add vlans to ports.

What I say (that you quoted) is that in a trunk you can only have one untagged vlan. You cannot send multiple vlans as untagged. In the HP-world you configure vlan/ports by saying "add vlan x to port y as (un)tagged". If port y already was configured with an untagged vlan z, that vlan z will be removed from the port and vlan x will be the untagged (native) vlan instead.

/Kvistofta
0
 

Author Comment

by:tpat
ID: 34214350
i got it! thanks for helping Kvistofta!!
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question