HP Procurve switch - Data and Voice VLAN

I am installing a new Grandstream PBX into an existing HP procurve network.
We will be plugging the phones into the HP switch and then plugging PCs into the phones.
I have a data and a voice vlan.
What do I need to do on the HP switch so that the data port on the phone will be on the data vlan and the phones on the voice vlan?
Grandstream said their phones don't separate the vlans.  It should be done at the switch or router level.  
Any help would be greatly appreciated!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Don JohnstonInstructorCommented:
AFAIK, HP doesn't have a "voice VLAN" shortcut command.

So you'll have to do the old fashioned way... manually. ;-)

Assuming that your data VLAN is 8 and your voice VLAN is 66
vlan 8 name "Data"
untagged 1-28
ip address 172.16.x.x
vlan 66
name "Voice"
ip address 10.x.x.x
tagged 1-28
voice ! (optional)

Open in new window

DaveKall42Author Commented:
Great thanks!
I will that a shot tomorrow.

What does this command do:
voice ! (optional)
Don JohnstonInstructorCommented:
It's a QOS feature.
SolarWinds® IP Control Bundle (IPCB)

Combines SolarWinds IP Address Manager and User Device Tracker to help detect IP conflicts, quickly identify affected systems, and help your team take near instantaneous action. Help improve visibility and enhance reliability with SolarWinds IP Control Bundle.

DaveKall42Author Commented:
Ok, thanks.
DaveKall42Author Commented:
So basically if I put ports 1-48 as tagged for my Voice vlan and untagged for the data vlan then when PCs plug in they will be be vlan 1 and when phones plug in they will be vlan 2?  
I am guessing then I need to put a tag on the phone lan ports for the Voice vlan?
Don JohnstonInstructorCommented:
I am guessing then I need to put a tag on the phone lan ports for the Voice vlan?
You mean the port that connects to the switch?  If the phone can't learn that on its own, then yes.
DaveKall42Author Commented:
Yes, correct.  Grand stream said I might have to do that so I put it on the LAN port as there is a spot for it in the config.

One other question.  On HP switches.  If I have a 2nd switch and I want the VLANs to work on both switches I need to create the VLAN entry on the cli for the 2nd switch as well with no IP address? Then tag uplink ports on both switches for the VLANs?  I am used to Cisco using VTP.
Don JohnstonInstructorCommented:
Yes. You will need the create the VLAN's on the other switch(es).  Then define the link carrying multiple VLANs (what Cisco calls a trunk) by tagging the VLANs for that link.  Remember that you will still need to define a native VLAN by leaving one VLAN untagged on that link.

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
DaveKall42Author Commented:
Right so I just tag the uplink ports on both switches for the Voice vlan as well as all the ports in the Voice vlan and then untagged on the native VLAN?
Don JohnstonInstructorCommented:
DaveKall42Author Commented:
So I have an IP on Voice VLAN 5 on switch 1 of
On switch 2 I just have Voice VLAN 5 with no IP.
I have tagged ports on both switches that connect to each other with Voice VLAN 5 and I cannot ping from either switch or any computer attached to the switches?
Any ideas?
Don JohnstonInstructorCommented:
On switch 2 I just have Voice VLAN 5 with no IP.
I cannot ping from either switch or any computer attached to the switches?
How can you ping from a switch that doesn't have an IP address?

Would need to see configs to be sure.

Are both switches layer-3 capable?  Is the PC you're pinging from in VLAN 5 or VLAN 1?
DaveKall42Author Commented:
I figured it out.  I didn't have a default route in the 2nd switch pointing to the 1st switch.  Now I can ping the VLAN interface on the 1st switch from the 2nd switch.  You shouldn't have to put an IP address on the VLAN interface of the 2nd switch should you?  
Both switches have IPs in the default VLAN.
The issue with pinging from the desktop is that this PC is pointing to the firewall which doesn't seem to have a route to the new VLAN I created.  :)
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.