Solved

Cisco 2910al Switch setup

Posted on 2011-02-14
7
950 Views
Last Modified: 2013-12-09
Im more of a Cisco guy, but have a 2910al HP Switch im trying to setup..  In terms of vlans I want one voice and one data vlan.  Both will run off the same port (meaning PC plugged into phone, phone into switch).  I have a dhcp server (win2k8) that will run both scopes.  Whats the HP equivalent of switchport voice vlan?
The default vlan is already setup so guessing thats 1, and they are all untagged by default
I setup vlan 2.  I think to make them run 2 vlans they need to be "trunk" ports which mean TAGGED on vlan 1 and 2, that sound right?  Then how does it know to give PC vlan1 and phone vlan2 IP address?
0
Comment
Question by:rhwimmers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 125 total points
ID: 34897524
Trunk in the Cisco world is the same as tagged in the rest of the world.

Is your phone a physical phone or soft phone (program running on your computer)?

If physical phone, then phone would connect to the switch port and your computer to the phone.

The phone would then be configured to tag the traffic with the appriorate VLAN id.  In some instances only the voice traffic is tagged, the data traffic is left untagged which means the switch will (should) tag it with the default VLAN for that port.

If your phone is a soft phone the same theory holds true, but everything is done from the computer.
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 34898176
Physical phones.  The default vlan 1 is all untagged and doesnt appear I can change the default.

It seems as though I leave vlan 1 all untagged for data, and then vlan 2 tagged for the VoIP vlan.  Do I use 2 NICs from my dhcp server (1 voice one data), or do I just turn on routing on the switch between the 2 vlans?  Any option better than the other?

It seems as though if I tag vlan 1 I hose myself and have to reset the switch.  I thought I would tag vlan 1 and 2 so it would be a trunk port but seems as though untag vlan 1 and tag vlan 2 if I want voice and data to work on the same port...
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 34898467
Ok so when I do untag vlan 1 and tag vlan 2 I get no DHCP on the data vlan (not sure on voice, trying to get data working first!
0
 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

 
LVL 57

Expert Comment

by:giltjr
ID: 34899459
I'm not sure if HP supports it, I'll try and see if I can find any doc, but in the Cicso world you can code a IP forwarder address to forward bootp requests to a DHCP server.  

I beleive the DHCP server must be on a switch port that has both (all) VLAN's so that it can identify which VLAN the request came from so it can provide the correct IP address.

This way you don't need to have multiple NIC's on your DHCP, or multiple DHCP servers.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 34899594
O.K.  It seems the 2910 may have ip helper function just like Cisco. You can read this post to see if it helps:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1297795700206+28353475&threadId=1369549
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 34935307
Ok was able to get 2 vlans setup and not use the native vlan 1.  One VoIP (with QOS) and 1 data.

Console in (have to do this to disable native vlan of 1) - create vlan 10 (or whatever number you want) for data, create vlan 20 for voice (again, number of your choice).
Set vlan 10 to default vlan, then set all ports to UNTAGGED
Set vlan 20 to TAGGED for any port that will have your VoIP traffic.  This is telling the switch that the packet will already have the packet tagged for vlan 20 (we manually typed this on our phones).
If you want a server in the 20 vlan then put that port to UNTAGGED in vlan 20.

Tagging options as best as I could figure out
NO - means that it will ALLOW traffic from other vlans on this port, but it is not the native vlan
Untagged - means to put all traffic on this port in that vlan (IE - PCs, as they dont specify what vlan they are in)
Tagged - means traffic is ALREADY tagged (phones)
Forbid - never used but guessing it would just not allow that vlan traffic from hitting it at all.

After ports are correct type ip routing to enable routing.  I did a route (voip traffic ip) vlan 20 (so it knew where all the VOIP traffic needed to get to.  Then do a 0.0.0.0 0.0.0.0 route that would go to your actual router or firewall (or last point before the internet.
I gave my vlan 10 and vlan 20 an ip address, and those IPs are what I used as the default gateway for each phone.

Trunk in HP means "port channel" in Cisco, meaning combining multiple ports for higher bandwidth.

So in summary, if your end device is putting the vlan tag on the frame - you set it for TAGGED (usually phones)
If your end device is NOT tagging the frame but you want it in a particular vlan, its UNTAGGED

You can only have one vlan as untagged obviously - so for a VoIP scenario where you have your PC plugged into your phone and phone into the switch - you do the untagged vlan as data, and tagged as VoIP and you will have good success.
Also, you do need the ip helper command to allow DHCP to forward its packets to the VoIP vlan (so in vlan 20 type ip helper x.x.x.x, where x.x.x.x is the ip of your dhcp server).

Hope this helps prevent the pain this caused me!
0
 
LVL 1

Author Closing Comment

by:rhwimmers
ID: 34935314
Thanks for getting me in the right direction.
0

Featured Post

Are You Headed to Black Hat USA 2017?

Getting ready for Black Hat next week? Kick things off with the WatchGuard Badge Challenge and test your puzzle and cipher skills. Do you have what it takes to earn our limited edition Firebox Badge? Get started today - https://crimsonthorn.net

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses
Course of the Month5 days, 10 hours left to enroll

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question