03-17-2008 11:45 AM - edited 03-13-2019 05:05 PM
We have a flat network of 6 3750g poe switches in a stack. default vlan1 for data.......we are getting ready to go to voip and am need some general guidance in setting up voice vlan. It seems some say the ports should be in trunk mode, others say no. Just looking for simple config examples for the setup. thank you
Solved! Go to Solution.
03-18-2008 04:39 PM
Hi Mark,
I'm sorry, I didn't realise you were running Shoretel IP Phones. You will want the Switchport set in Trunk mode. Here is a really good description of the config;
http://ciscoconfigs.net/index.php?option=com_content&task=view&id=13&Itemid=26
Hope this helps!
Rob
03-17-2008 12:52 PM
interface range fa x/y - z/k
switchport mode access
switchport access vlan
switchport voice vlan
That's it.
03-17-2008 01:46 PM
so they dont have to be in trunk mode? Why do I see some configs where they are putting the ports in trunk mode? and some with access mode and trunk mode again,pc and phone to same port on switch
thanks for you help
03-17-2008 02:00 PM
You can find some more info here
How to configure a Catalyst switch port to connect to a Cisco IP phone
http://www.ciscotaccc.com/kaidara-advisor/lanswitching/showcase?case=K33524366
The 7935 IP Conference Phone is not registering, which causes problems with the voice VLAN
http://www.ciscotaccc.com/kaidara-advisor/voice/showcase?case=K18816621
HTH
javalenc
if this helps, please rate
03-17-2008 05:21 PM
Im still confused on to or not to use trunk mode... from your first link....
With third party IP phones:
Console>(enable) set vlan[vlan id] [mod/port]
!--- This line is for the data VLAN, Native VLAN.
Console>(enable) set trunk[mod/port] on dot1q
Console>(enable) Set trunk [mod/port] [data vlan id, voice vlan id]
Console>(enable) set spantree portfast [mod/port] enable trunk
For Cisco IOS:
Switch(config-if)#switchport modeaccess Switch(config-if)#switchport access vlan vlan id Switch(config-if)#switchport voice vlan Vlan id Switch(config-if)#no shutdown
Alternatively, this configuration can be used:
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport trunk native vlan id
!--- This is the VLAN with untagged frames used by the PC.
Switch(config-if)#switchport mode trunk
!--- This enables trunking on the port for two VLANs, data and voice.
Switch(config-if)#switchport voice vlan id
Switch(config-if)#spanning-tree portfast trunk
so is trunk mode necessary?
03-17-2008 05:45 PM
Hi, with cisco phones, no trunk mode is necessary, except on certain ESW modules for routers. The config you referenced is about third-party phones.
Technically, the access+voice mode is a subset trunk mode with tagging frames limited to 1 vlan.
Hope all that doesn't confuse you further :)
03-17-2008 06:21 PM
Hi Mark,
Welcome to the world of VoIP. This is a great question!My background is primarily voice so it is hard for me to describe why this is a Cisco "best practice". I do know that it is unnecessary to configure the switchport in Trunk mode because when you use the Voice VLAN (with a native vlan) command a "special" dot1q trunk is automatically setup. The reasons I have seen to support this setup are many and vary from minimizing Trunking overhead to ease of configuration and everything in between :) On the older 3500XL Switches the Trunk method was the only way to go, but on all newer versions the need for Sitchport mode Trunk is not necessary. Here is one of the better threads I have ever read on this issue (with some Tac links as well). There are some great answers from Mahesh,Paolo Sankar and others here.
Hope this helps!
Rob
03-18-2008 12:34 PM
Ok, so even if we are using third party shortel phone system, it is not necessary to trunk each port? On the thread you list, it states that trunking the ports is only necessary if you are not using cisco phones, which we wont be using. to trunk or not to trunk, that is the question aaha thank you all very much for your help
03-18-2008 04:39 PM
Hi Mark,
I'm sorry, I didn't realise you were running Shoretel IP Phones. You will want the Switchport set in Trunk mode. Here is a really good description of the config;
http://ciscoconfigs.net/index.php?option=com_content&task=view&id=13&Itemid=26
Hope this helps!
Rob
03-19-2008 07:56 AM
EXACTLY WHAT I WAS LOOKING FOR!! Thank you for clearing things up for me and to everyone that helped.
03-19-2008 04:54 PM
Hi Mark,
Good stuff :) Best of luck with your new deployment.
Take care,
Rob
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide