how switches see tagged frames

Unanswered Question
Apr 3rd, 2008
User Badges:

Hi all, when using cos for my voice phones, if i have a pc and phone plugged into the same port, the phone is vlan 2, the pc is vlan 1, how does my switch know to put the phone in vlan 2, does it see that the phone has a 802.1p tag, thus meaning its a tagged frame and puts it in vlan 2?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
nambi_gct Thu, 04/03/2008 - 02:22
User Badges:
  • Bronze, 100 points or more

It is not the switch, but the IP phone which creates the .1q header and marks the traffic.If you remember the trust boundary is ur ip phone.

carl_townshend Thu, 04/03/2008 - 04:06
User Badges:

as the phone is only setting the 802.1p priority in the frame, is this also creating a .1q tag ?

nambi_gct Thu, 04/03/2008 - 04:26
User Badges:
  • Bronze, 100 points or more

802.1p is just a standard that talks about how the CoS can be made use of to provide L2QoS.So the IP phone creates a dot1q header and marks the CoS for the voice signal and voice data.

Kevin Dorrell Thu, 04/03/2008 - 04:30
User Badges:
  • Green, 3000 points or more

You can set an 802.1p priority without setting an 802.1q tag by leaving the 802.1q part as zero. That is a convention that means the access VLAN, whatever it happens to be. Null tag, if you like.


Cisco phones can go one step further. If they tag the priority as 5 and the dot1q tag as zero, then the switch interprets it as "voice vlan". You configure the port with an access vlan and a different voice VLAN. That allows you to form a sort of 2-vlan implicit "trunk" without having to configure a dot1q tag explicitly in the phone.


Kevin Dorrell

Luxembourg


carl_townshend Thu, 04/03/2008 - 05:07
User Badges:

Hi Kevin


thanks for your repsonse, im getting a little closer now, when you say null tag, does that mean there is a tag there but with no info such as vid in there etc? im guessing you mean vlan id of 0 ? the switch will automatically see this tag and put it into the correct vlan ?

Actions

This Discussion