Trunk interface configuration for VOIP telephone or computer

My configuration looks like this.

interface FastEthernet1/0/1
 switchport access vlan ddd
 switchport trunk encapsulation dot1q
 switchport trunk native vlan ddd
 switchport trunk allowed vlan ddd,vvv
 switchport mode trunk
 srr-queue bandwidth share 10 10 60 20
 srr-queue bandwidth shape 10 0 0 0
 queue-set 2
 mls qos trust dscp
 no cdp enable
 spanning-tree portfast
 spanning-tree bpduguard enable

ddd is data vlan and vvv is voice vlan number

Does this look ok for a non-Cisco VOIP phone.

should the "switchport access vlan ddd" command be removed?
Who is Participating?
Don JohnstonConnect With a Mentor InstructorCommented:
"switchport access vlan ddd" will have no effect when the "switchport mode trunk" command is applied.

So your config looks fine.
You should configure the port as an access port, not as a trunk port, so you need to remove:
switchport mode trunk
switchport trunk native vlan ddd
switchport trunk allowed ddd,vvv

switchport mode access
switchport voice vlan vvv
Don JohnstonInstructorCommented:
Does the phone have a data port for the PC? Or will this port be strictly VoIP only?
Dragon0x40Author Commented:
I believe this VOIP system configuration requires a trunk.

I was asking if having the "switchport access vlan ddd" was going to cause any problems with the trunk.

These are not Cisco VOIP phones so the configuration is somewhat non-standard.

We don't use the voice vlan option in any of our configs but we don't have Cisco VOIP phone either.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.