cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6260
Views
0
Helpful
9
Replies

3750 VLAN for Voice

urbanrunner2010
Level 1
Level 1

I have a 3750 in a stack and some trunks to 3560s.  We are implementing a new phone system with non-cisco phones.  The phones we are using are aastra's.  Our switches have the auto qos turn on for the trunks. The intention is to plug the existing desktop computers in to the port on the phones.  I am looking for simple config so that we have a separate vlan for our voice.  Secondly, since auto qos is already enabled I -assume- for a basic configuration I can just leave that as is.

I have read about the cisco voice vlan and am wondering if in order to create a vlan for this new phone system I just need to for example add "switchport accesss voice vlan 200" to each port?

Our typical desktop port looks like this:

interface FastEthernet1/0/5
switchport access vlan 10
switchport mode access
switchport port-security maximum 3
switchport port-security
switchport port-security aging time 30
switchport port-security aging type inactivity
storm-control broadcast level 30.00 10.00
storm-control multicast level 30.00 10.00
storm-control unicast level 60.00 10.00
spanning-tree portfast

THANKS FOR THE HELP!!

9 Replies 9

Reza Sharifi
Hall of Fame
Hall of Fame

Hi Bart,

Since you are adding a second vlan, you would need to trunk the ports and use dot1q for encapsulation:

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

HTH

Reza

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Bart,

with Cisco IP phones it is actually  enough to add

switchport voice vlan y

to the port to create a so called mini trunk.

I'm not sure that the same configuration is fine with non Cisco devices.

In that case, the configuration suggested by Reza is good I would just add

switchport trunk allowed vlan x,y

where x is the data vlan and y is the voice vlan.

I would suggest to test using two phones the two types of configuration: look for correct registration of phones, capability to call / receive calls and also check qos statistics on the port to be sure traffic is treated correctly.

Hope to help

Giuseppe

So is it correct to say that for non-cisco phones you should not use the Cisco Voice Vlan?

Also, is the method described above what most people use (anyone else out there agree / disagree with what's already been said) ? 

Thanks again!

Hello Bart

I would for sure go with Rezas configuration ... ie to configure a trunk connecting the non-cisco phones.. have a look at this discussion.. very useful :

http://cciepursuit.wordpress.com/2009/01/01/group-study-good-explanation-of-the-voice-vlan/

Hope this helps.. allt he best..

Raj

sachinraja,

I had previously read the discussion in the link you posted.  I just now read it again.  I am still confused as to what configs will work with non-cisco phones and why.  Perhaps this is a case of there being multiple ways to accomplish the same thing.?

For example near the bottom of the post I see this:

Alot of talk here about CDP, which is all well and good, but what it the IP Phone is a non Cisco phone?

I believe the best config is;

switchport mode access
switchport access vlan 50
switchport voice vlan 100

This way the Voice and Data VLANs are hard coded.  No CDP necessary so this works with non cisco phones.

     Comment by Luca — October 6, 2009 @

Bart,

The configuration I provided you should work just fine. If you have your Call Manager, Exchange Server, etc... set up you can simply plug a couple of phones to your switch and test it.

Reza

Hello Bart,

CDP is cisco proprietary and it is a component of the mini trunk, for this reason the configuration of an explicit trunk when non Cisco IP phones are involved is the likely configuration.

As suggested by Reza and I the best thing to do is to test using two phones you will find out the working configuration.

Hope to help

Giuseppe

Good info.  Thanks.  The use of the explicit trunk with a non-cisco phone makes more sense now.  I'll test it out and report back.  I'm going to start another thread regarding auto QOS.

After reviewing this for use with NON-Cisco phones I took out the line about the voice vlan.  This seems to me to be correct for the port for a phone with a PC plugged in to it(phone with builitin switch), do you agree?


data=3
voice=92


switchport trunk encapsulation dot1q
switchport trunk native vlan 3
switchport mode trunk
spanning-tree portfast trunk
switchport trunk allowed vlan 3,92

Review Cisco Networking for a $25 gift card