Educad
asked on
HP Switch Voice Vlan
Hi,
I have a scenario that I need to create a voice vlan and create trunk port for uplink which connects to Cisco router.
We have two switches 2810-48 and 24. They are connected via Trunk (Switch1 45-48 to Switch2 21-24)
Here is the current switch configuration:
Switch1
hostname "ProCurve 2810-48G"
trunk 45-48 Trk1 Trunk
ip default-gateway 192.168.0.254
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-44,Trk1
ip address 192.168.0.102 255.255.255.0
exit
spanning-tree Trk1 priority 4
Switch2
hostname "ProCurve Switch 2810-24G"
trunk 21-24 Trk1 Trunk
ip default-gateway 192.168.0.254
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-20,Trk1
ip address 192.168.0.101 255.255.255.0
exit
spanning-tree Trk1 priority 4
First of all, I need to create a trunking with vlan 100 (Voice) on uplink which connects to cisco router. Port 12 will be used to connect to uplink.
My configuration would be like this:
ProCurve 2810-48G#(Config)#vlan 1
ProCurve 2810-48G#(Vlan-1)#untagged 1-11,14-44
ProCurve 2810-48G#(Vlan-1)#tagged 12 //Enable Trunk on port 12 connecting to Router
ProCurve 2810-48G#(Config)#Vlan 100
ProCurve 2810-48G#(Config)#name "VOICE"
ProCurve 2810-48G#(vlan-100)#tagged 12 //Enable Trunk on port 12 connecting to Router ProCurve
2810-48G#(vlan-100)#untagg ed 13 //Connect to IAD (VINE2000) and IAD will connect to IP-PBX which all non-ip phones are connected.
Is this correct? or am I missing something here?
I have a scenario that I need to create a voice vlan and create trunk port for uplink which connects to Cisco router.
We have two switches 2810-48 and 24. They are connected via Trunk (Switch1 45-48 to Switch2 21-24)
Here is the current switch configuration:
Switch1
hostname "ProCurve 2810-48G"
trunk 45-48 Trk1 Trunk
ip default-gateway 192.168.0.254
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-44,Trk1
ip address 192.168.0.102 255.255.255.0
exit
spanning-tree Trk1 priority 4
Switch2
hostname "ProCurve Switch 2810-24G"
trunk 21-24 Trk1 Trunk
ip default-gateway 192.168.0.254
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-20,Trk1
ip address 192.168.0.101 255.255.255.0
exit
spanning-tree Trk1 priority 4
First of all, I need to create a trunking with vlan 100 (Voice) on uplink which connects to cisco router. Port 12 will be used to connect to uplink.
My configuration would be like this:
ProCurve 2810-48G#(Config)#vlan 1
ProCurve 2810-48G#(Vlan-1)#untagged
ProCurve 2810-48G#(Vlan-1)#tagged 12 //Enable Trunk on port 12 connecting to Router
ProCurve 2810-48G#(Config)#Vlan 100
ProCurve 2810-48G#(Config)#name "VOICE"
ProCurve 2810-48G#(vlan-100)#tagged
2810-48G#(vlan-100)#untagg
Is this correct? or am I missing something here?
ASKER
I am referring to the trunk in cisco term between a Cisco router and an HP switch. This link should be able to carry more than one vlan (vlan 1 and vlan 100) so that's why there is tagged commend in my configuration.
I am talking about trucking link in Cisco term and I think I should refer to this tagged in HP term? So I added two commends to create trunk link between a cisco router and an HP switch not Link Aggregation.
vlan1 -> tagged 12
vlan 100 -> tagged 12
And I also need to add voice vlan to HP switch as there will be a phone system which connects to the switch.
Please also have a look at the screenshot.
image1.png
I am talking about trucking link in Cisco term and I think I should refer to this tagged in HP term? So I added two commends to create trunk link between a cisco router and an HP switch not Link Aggregation.
vlan1 -> tagged 12
vlan 100 -> tagged 12
And I also need to add voice vlan to HP switch as there will be a phone system which connects to the switch.
Please also have a look at the screenshot.
image1.png
The term "Voice VLAN" is just means of simplifying the management on VoIP in a Cisco network. Functionally, there is nothing special about a VLAN used for VoIP traffic.
With respect to the HP side, you will want the native VLAN untagged and other VLAN's tagged on the port which connects to the other switch. So if VLAN 1 is the native VLAN and VLAN 50 is for data and VLAN 100 is for VoIP, you would want the following:
On the Cisco side it's much easier:
With respect to the HP side, you will want the native VLAN untagged and other VLAN's tagged on the port which connects to the other switch. So if VLAN 1 is the native VLAN and VLAN 50 is for data and VLAN 100 is for VoIP, you would want the following:
vlan 1
untagged 45
vlan 50
tagged 45
vlan 100
tagged 45
On the Cisco side it's much easier:
int g0/1
switchport mode trunk
ASKER
Can I still use default vlan 1 for data vlan instead of making another vlan 50?
Yes.
ASKER
Thank you for answering my questions.
One last question.
Does above configuration seem to be correct to you?
One last question.
ProCurve 2810-48G#(Config)#vlan 1
ProCurve 2810-48G#(Vlan-1)#untagged 1-11,14-44
ProCurve 2810-48G#(Vlan-1)#tagged 12
ProCurve 2810-48G#(Config)#Vlan 100
ProCurve 2810-48G#(Config)#name "VOICE"
ProCurve 2810-48G#(vlan-100)#tagged 12
ProCurve 2810-48G#(vlan-100)#untagged 13
Does above configuration seem to be correct to you?
What is port 12 connected to? You don't have a native VLAN defined on that port.
ASKER
It is connected to Cisco router. isn't native vlan default on vlan 1?
ASKER
And I have untagged 1-11,14-44 for vlan 1
It is connected to Cisco router. isn't native vlan default on vlan 1?
It is on Cisco switches. On HP you define it by not tagging the VLAN on that port.
ASKER
There is no Cisco switch Don. In Cisco router there is native vlan 1
encapsulation dot1Q 1 native -> on cisco router.
On an HP switch. ProCurve 2810-48G#(Vlan-1)#untagged 1-11,14-44 // this is native (untagged) vlan
encapsulation dot1Q 1 native -> on cisco router.
On an HP switch. ProCurve 2810-48G#(Vlan-1)#untagged
There is no default native VLAN on Cisco routers. The native VLAN is defined by either using the physical interface or using a sub-interfance with the "encapsulation dot1q x native" command.
So on an HP switch, you would define VLAN 1 as native by not tagging it.
vlan 1
untagged 12
So on an HP switch, you would define VLAN 1 as native by not tagging it.
vlan 1
untagged 12
ASKER
Sorry you are right. I meant using a sub-interface with the "encapsulation dot1q 1 native" command.
vlan 1
tagged 12
untagged 12
Would this work? because I need a trunk port (tagged port) on port 12 as well. I think if I add port 12 as tagged port, it will automatically remove port 12 from untagged port.
cisco speak = procurve (most industry) speak
access port = untagged port
trunk port = tagged port (802.1Q)
etherchannel/FEC = trunk or LACP
Sorry about the confusion.
vlan 1
tagged 12
untagged 12
Would this work? because I need a trunk port (tagged port) on port 12 as well. I think if I add port 12 as tagged port, it will automatically remove port 12 from untagged port.
cisco speak = procurve (most industry) speak
access port = untagged port
trunk port = tagged port (802.1Q)
etherchannel/FEC = trunk or LACP
Sorry about the confusion.
Well, that's not quite how is works. You can only have one VLAN untagged on a port. If you have no VLANs tagged on that port, then it's (what Cisco calls) an access port.
If you have any VLANs tagged for that port, then it's (what Cisco calls) a trunk port.
Adding a tagged VLAN to a port does not remove the untagged VLAN from that port. It's simply makes it a trunk port.
The VLAN which is untagged on that port is always the native VLAN.
If you have any VLANs tagged for that port, then it's (what Cisco calls) a trunk port.
Adding a tagged VLAN to a port does not remove the untagged VLAN from that port. It's simply makes it a trunk port.
The VLAN which is untagged on that port is always the native VLAN.
VLAN 10
untagged 26
This means port 26 is an access port that is a member of VLAN 10VLAN 10
untagged 26
VLAN 20
tagged 26
VLAN 30
tagged 26
This means port 26 is a trunk port with VLAN 10 being the native VLAN.
ASKER
Okay Don, thanks for your answer.
Here is my final configuration on our hp swtich.
Does this seem to be correct to you? Unfortunately, I cannot make vlan 10 for data I have to use just default vlan 1 for data. Your help would be very appreciated Don.
Here is my final configuration on our hp swtich.
hostname "ProCurve 2810-48G"
trunk 45-48 Trk1 Trunk
ip default-gateway 192.168.0.254
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-10,13-44,Trk1 //untagged port - internal PCs and servers are connected
ip address 192.168.0.102 255.255.255.0
tagged 11 //tagged port for cisco router 1941 series (inter-vlan has been configured)*
no untagged 12
exit
vlan 100
name "Voice"
untagged 12 //untagged port (access port in cisco term) for phone system -PBX
tagged 11 //tagged port(trunk port in cisco term) for cisco router 1941 series (inter-vlan has been configured)*
voice
exit
spanning-tree Trk1 priority 4
Does this seem to be correct to you? Unfortunately, I cannot make vlan 10 for data I have to use just default vlan 1 for data. Your help would be very appreciated Don.
Please post the config of the Cisco router.
ASKER
interface GigabitEthernet0/0
ip address 10.x.x.x 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
encapsulation dot1Q 1 native
ip address 192.168.0.250 255.255.255.0
!
interface GigabitEthernet0/1.100
encapsulation dot1Q 100
ip address 192.168.40.250 255.255.255.0
VLAN 1
untagged 12
VLAN 100
tagged 12
untagged 12
VLAN 100
tagged 12
ASKER
Hi Don,
Did you mean port 11 not 12?
VLAN1
untagged 11
VLAN
tagged 11
Did you mean port 11 not 12?
VLAN1
untagged 11
VLAN
tagged 11
No. Port 12. That's the port which connects to the router, right?
ASKER
No. Port 11 connects to router. And port 12 connects to Dataflex IAD (VINE2000) and this device connects Panasonic IP-PBX which all non-IP phones are connected.
hostname "ProCurve 2810-48G"
trunk 45-48 Trk1 Trunk
ip default-gateway 192.168.0.254
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-10,13-44,Trk1 //untagged port - internal PCs and servers are connected
ip address 192.168.0.102 255.255.255.0
tagged 11 //tagged port for cisco router 1941 series (inter-vlan has been configured)*
no untagged 12
exit
vlan 100
name "Voice"
untagged 12 //untagged port (access port in cisco term) for phone system -PBX
tagged 11 //tagged port(trunk port in cisco term) for cisco router 1941 series (inter-vlan has been configured)*
voice
exit
spanning-tree Trk1 priority 4
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much Don. I really appreciate your time and answers for my questions.
In Cisco, "trunking" refers to carrying multiple VLANs on a port.
In HP, it means aggregating multiple links to behave as one link.
So when you talk about creating a trunk between a Cisco router and an HP switch, I'm not sure what you're referring to.
Can you elaborate?