Configure voice vlan on a Cisco 2960.

Hello Experts,  

I didn't work on Cisco for a while but my new customer is cisco.  Simple network, ASA5505 and a cisco 2960. he was working with unmanaged switch before but he move over VoIP so we purchased that manage switch.

I create a vlan 30 and 40 on the switch. ( you can have a complete config on the file join to this tread.. )  30 should be Network Data and 40 is VoIP. i don't use the
default at the moment.

My issue sounds simple, my voice vlan can't get an ip from the dhcp server.
My dhcp server is set as interface GigabitEthernet1/0/1, switchport access vlan 30,  switchport trunk native vlan 30, switchport mode trunk

To test my dhcp i have configure a port set as interface GigabitEthernet1/0/37, switchport access vlan 40, switchport mode access, switchport voice vlan 40
 spanning-tree portfast without success...

Long time ago i was working on with cisco 3750, those are layer 3 and my default gateway was the vlan IP, this time, my default gateway is the ASA, is it ok ?

 No sure if i'm using the right version of System images "flash:/c2960s-universalk9-mz.122-55.SE7/c2960s-universalk9-mz.122-55.SE7.bin" ?

May be the vlan ip helper should be set on the ASA ?  by the way ASA is able to ping both vlan Ip interface..  

Any help appreciated..  The phone system should be installe next monday.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

From what you have described there is no way for the DHCP requests to get to a DHCP server. You need to either configure the DHCP server on the ASA or setup DHCP relay on the ASA.

Your switch knows nothing about IP traffic and isn't involved in the DHCP configuration. The switch just needs to make sure that VLAN 40 is assigned to your phones and that VLAN 40 can talk to the ASA via a trunk interface.
Depending on what type of phone you have, you may need to either set the VLAN on the phone, or set a DHCP scope option to point to the correct VLAN and?or VoIP server.  Will one of your phones work, if you manually set the VLAN and IP info on it?  What type of phone system and phones do you have?
Ti360Author Commented:
We purchased a Mitel phone system, i do not have the phone model at the moment only a demo.  i saw on another 2960 inter vlan routing or basic routing function. i do not know how to enable that feature on the switch but that my solve my issue..
Ti360Author Commented:
I figure it out,  after upgrading my firmware to the latest stable version, i enable routing using that command :
sdm prefer lanbase-routing than run IP routing

I start from that URL to understand it..

The 2960 has very limited vlan routing function.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ti360Author Commented:
Get it working from Cisco comunity blog
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.

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.