Solved

difference between trunk and tagged vlans...

Posted on 2010-11-24
5
976 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can Cisco resolve internet address internally 4 29
What is CPU in "RP/0/RSP0/CPU0:router#"? 6 27
Hybrid WAN vs SD WAN 4 25
BGP Network restrictions 6 18
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

929 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now