Link to home
Start Free TrialLog in
Avatar of DaveKall42
DaveKall42

asked on

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!
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

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 255.255.255.0
exit
vlan 66
name "Voice"
ip address 10.x.x.x 255.255.255.0
tagged 1-28
voice ! (optional)
exit 

Open in new window

Avatar of DaveKall42
DaveKall42

ASKER

Great thanks!
I will that a shot tomorrow.

What does this command do:
voice ! (optional)
It's a QOS feature.
Ok, thanks.
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?
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.
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.
ASKER CERTIFIED SOLUTION
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?
So I have an IP on Voice VLAN 5 on switch 1 of 10.0.5.1
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 10.0.5.1 from either switch or any computer attached to the switches?
Any ideas?
On switch 2 I just have Voice VLAN 5 with no IP.
I cannot ping 10.0.5.1 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?
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.  :)