Reset Search
 

 

Article

How to determine if a port or port channel is configured for both tagged and untagged traffic?

« Go Back

Information

 
TitleHow to determine if a port or port channel is configured for both tagged and untagged traffic?
Question
  • A port is configured for tagged traffic if the frame that the traffic came in on is assigned to a single VLAN or to multiple VLANs, depending on the VLAN ID in the frames VLAN tag. This is called trunk mode.
  • A port is configured for untagged traffic only if theframes that the traffic came in on are assigned the port VLAN ID (PVID) assigned to the port. This is called access mode.
Environment
Answer

If a port or port-channel receives tagged frames and untagged frames, for configured native VLANs, then all tagged and untagged frames would be processed as follows:

  • All untagged frames are classified into native VLANs configured.
  • Any tagged frames coming with a VLAN tag equal to the VLANs configured under port or port-channel for the command switchport trunk allowed vlan <>, are processed.

Here is an example of a port-channel configured for tagged traffic for VLAN 100 & VLAN 101 and untagged traffic for VLAN 30:

interface Port-channel 1
vlag ignore-split
description 1
switchport
switchport mode trunk
switchport trunk allowed vlan add 100-101
switchport trunk tag native-vlan
switchport trunk native-vlan 30
no shutdown

Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255