Trunk interface configuration for VOIP telephone or computer

Posted on 2011-09-19
Last Modified: 2012-05-12
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?
Question by:Dragon0x40
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 36561681
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
LVL 50

Expert Comment

by:Don Johnston
ID: 36561810
Does the phone have a data port for the PC? Or will this port be strictly VoIP only?

Author Comment

ID: 36561827
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.
LVL 50

Accepted Solution

Don Johnston earned 500 total points
ID: 36561870
"switchport access vlan ddd" will have no effect when the "switchport mode trunk" command is applied.

So your config looks fine.

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

724 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