Switches, Hubs, and Modems
1751765 Members
4744 Online
108781 Solutions
New Discussion юеВ

Configuring Multiple vlans in HP Procurve 8212ZL

 
ramjimh
Advisor

Configuring Multiple vlans in HP Procurve 8212ZL

Our office contains 6 floors.Each floor has one or many hp procure 2610,2626 and 2650 procurve switches.We have one hp procurve 3400 switch which is acting ascore switch.Now we have only two vlans Named data and voice.We are planning to change this core switch to HP procurve 8212ZL with OFC support and planning to create vlans based on the floors.Each floor will be in different vlans and the servers will be in differnet vlans.How to configure the switches with different vlans support.Need any sample config with examples and need ur suggestions.

With Regards,

Ramji M.H.
22 REPLIES 22
cenk sasmaztin
Honored Contributor

Re: Configuring Multiple vlans in HP Procurve 8212ZL

hi ramjimh

I make example config for you

you have one core switch 8212 and many edge switch connect to core switch

you must would four seperate network

1-managemet vlan (for network device security)
2-data vlan pc,printer and any network device)
3-voip vlan (ip phone and comminication server)
4-server vlan (all server's)

yess...we can frist config core switch

I create four vlan on switch
vlan 1 managemet
vlan 2 data
vlan 3 voip
vlan 4 server

all server ,voip server,and network managemet pc, some users connect directly core switch


hostname "core"
module 1 type J9145A
interface 21
name "uplinkforfloorswitch"
exit
interface 22
name "uplinkforfloorswitch"
exit
interface 23
name "uplinkforfloorswitch"
exit
interface 24
name "uplinkforfloorswitch"
exit
ip routing
vlan 1
name "manager"
untagged 1-2,21-24
ip address 10.0.11.1 255.255.255.0
no untagged 3-20
exit
vlan 2
name "data"
untagged 3-4
ip address 10.0.12.1 255.255.255.0
tagged 21-24
exit
vlan 3
name "voip"
untagged 5-10
ip address 10.0.13.1 255.255.255.0
tagged 21-24
exit
vlan 4
name "server"
untagged 11-20
ip address 10.0.14.1 255.255.255.0
exit
snmp-server community "public" unrestricted


interface 1-2 manager vlan for managemet pc connection

interface 3-4 data vlan for core switch user connection

interface 5-10 voip vlan for comminication server connection

interface 11-20 server vlan for server connection

interface 21,22,23,24 for other edge switch uplink port


****************************************

we edge switch(floor switch ) serve pc and voip phone for user

in this case edge switch have 3 vlan
data ,voip and management


hostname "edge1"
module 1 type J9145A
vlan 1
name "manager"
ip address 10.0.11.2 255.255.255.0
no untagged 1-24
exit
vlan 2
name "data"
untagged 1-24
no ip address
exit
vlan 3
name "voip"
tagged 1-24
no ip address
exit
snmp-server community "public" unrestricted

vlan 1 only managemet for network managemet
vlan 2 data vlan connect user pc under ip phone
vlan 3 voip vlan connect ip phone all port tagged state vlan 3 for ip phone connection flexibility

switch+ip phone + pc


may it be easy

















cenk

ramjimh
Advisor

Re: Configuring Multiple vlans in HP Procurve 8212ZL

Thanks cenk Sasmatztin.
I will configure this and update the result.

With Regards,

Ramji
ramjimh
Advisor

Re: Configuring Multiple vlans in HP Procurve 8212ZL

Apart from that we have a Microsoft windows 2003 server in which we have configured dhcp.How to configure so that the switch can can assigned ip from the microsoft dhcp server.

With Regards,

Ramji
cenk sasmaztin
Honored Contributor

Re: Configuring Multiple vlans in HP Procurve 8212ZL


hi Ramji
******************************************
dhcp server ip address 10.0.14.20
subnet mask 255.255.255.0
default gateway 10.0.14.1
dhcp server connect must be server vlan untag port for example connect interface 11


scobe 1 name data
ip pool 10.0.12.10---200
subnet mask 255.255.255.0
default gateway 10.0.12.1

scobe 2 name voip
ip pool 10.0.13.10---200
subnet mask 255.255.255.0
default gateway 10.0.13.1





hostname "core"
module 1 type J9145A
interface 21
name "uplinkforfloorswitch"
exit
interface 22
name "uplinkforfloorswitch"
exit
interface 23
name "uplinkforfloorswitch"
exit
interface 24
name "uplinkforfloorswitch"
exit
ip routing
vlan 1
name "manager"
untagged 1-2,21-24
ip address 10.0.11.1 255.255.255.0
no untagged 3-20
exit
vlan 2
name "data"
untagged 3-4
ip address 10.0.12.1 255.255.255.0
ip helper-address 10.0.14.20**************
tagged 21-24
exit
vlan 3
name "voip"
untagged 5-10
ip address 10.0.13.1 255.255.255.0
ip helper-address 10.0.14.20*************
tagged 21-24
exit
vlan 4
name "server"
untagged 11-20
ip address 10.0.14.1 255.255.255.0
exit
snmp-server community "public" unrestricted
cenk

ramjimh
Advisor

Re: Configuring Multiple vlans in HP Procurve 8212ZL

I will provide the exact scenario what i need.our office has 6 floors and some of our branch office r in different place.Each Floors has 2 departments.Need to create vlans based on departments(like,finance,personnel,procurement,supply,engineering,IT and other 2 divisions based on class B networks like 172.16.2.x,172.16.3..x etc...)apart from that we have to create vlans for Servers,voice,management and internet,SAP valn and sun management vlan.We have dhcp server which is configured in microsoft windows 2003 server as well as in sun solaris 10 server and the users should have to receive ip from this dhcp server and those who r using sap they must receive ip from sun server.The IT vlan must have access to sun management vlan.kindly need sample configuration based on this.i will be very much helpful for me.
ramjimh
Advisor

Re: Configuring Multiple vlans in HP Procurve 8212ZL

Hi cenksasmaztin,

I am waiting for ur reply.Kindly help me in configuring the 8212zl switch.

cenk sasmaztin
Honored Contributor

Re: Configuring Multiple vlans in HP Procurve 8212ZL

hi Ramji

I send simple config for you

you can create config for your 8212 switch

if your config be fail at the time

send me sh run print.


good luck .

cenk

ramjimh
Advisor

Re: Configuring Multiple vlans in HP Procurve 8212ZL

There is no attachment in my mail.

With Regards,

Ramji
cenk sasmaztin
Honored Contributor

Re: Configuring Multiple vlans in HP Procurve 8212ZL

hi Ramji
******************************************
dhcp server ip address 10.0.14.20
subnet mask 255.255.255.0
default gateway 10.0.14.1
dhcp server connect must be server vlan untag port for example connect interface 11


scobe 1 name data
ip pool 10.0.12.10---200
subnet mask 255.255.255.0
default gateway 10.0.12.1

scobe 2 name voip
ip pool 10.0.13.10---200
subnet mask 255.255.255.0
default gateway 10.0.13.1





hostname "core"
module 1 type J9145A
interface 21
name "uplinkforfloorswitch"
exit
interface 22
name "uplinkforfloorswitch"
exit
interface 23
name "uplinkforfloorswitch"
exit
interface 24
name "uplinkforfloorswitch"
exit
ip routing
vlan 1
name "manager"
untagged 1-2,21-24
ip address 10.0.11.1 255.255.255.0
no untagged 3-20
exit
vlan 2
name "data"
untagged 3-4
ip address 10.0.12.1 255.255.255.0
ip helper-address 10.0.14.20**************
tagged 21-24
exit
vlan 3
name "voip"
untagged 5-10
ip address 10.0.13.1 255.255.255.0
ip helper-address 10.0.14.20*************
tagged 21-24
exit
vlan 4
name "server"
untagged 11-20
ip address 10.0.14.1 255.255.255.0
exit
snmp-server community "public" unrestricted
cenk