0

What happens when an untagged port receives tagged frames, whether they are dropped or not !?. Say, A computer is connected to a switch on untagged port (as most would recommend). On it I have used traffic generator like ostinato to simulate tagged traffic, lets assume tagged traffic contains both configured vlans(switchport access vlan 'x') along with other random ones. How would these be handled at switchport which is in mode "access"?

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Commented Dec 17, 2020 at 17:43

2 Answers 2

0

Imagine you have this configuration:

  • Port 1 trunk tagged VLAN 10
  • Port 2 access untagged VLAN 10

When the switch receives a frame on Port 1 tagged with VLAN 10 and determines that frame should be sent out Port 2, the VLAN tag is popped (removed) during the forwarding process. The device connected to Port 2 is never aware of the VLAN tag.

The reverse happens when Port 2 receives a frame (untagged) bound for a device on Port 1. The switch pushes (adds) the VLAN 10 tag onto the frame as it is forwarded to Port 1.

1
  • In same case, What if port 1 and port 2 are from different switches & are connected back to back. How the port 2 treats received tagged frames sent out by port 1 towards port2.
    – prudv
    Commented May 19, 2020 at 5:56
1

An access port that receives tagged traffic will drop the tagged frames.

3
  • You mean the switch drops all tagged traffic from the Pc , irrespective of vlan id configured on switchport (even native vlan ..) ?
    – prudv
    Commented May 19, 2020 at 6:00
  • That is correct.
    – Ron Trunk
    Commented May 19, 2020 at 10:31
  • That's mostly correct. You should assume tagged frames on an access port will be dropped, but some systems will allow tagged frames for the native VLAN.
    – Ricky
    Commented May 19, 2020 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.