BladeSystem - General
cancel
Showing results for 
Search instead for 
Did you mean: 

Configure vlan in gbe2c

Joakim_2
Advisor

Configure vlan in gbe2c

We've recently bought a c3000 with one gbe2c inside and two servers (480c).The servers are
going to be on different subnets in the future
and as we use VLAN I thought it would be no
problem as I'm familiar with the switches we
use. (procurve 5300 for routing and 2524 as
endswitches)

My config on 2524 is that I have port 1-20
on vlan 11 (clients) and port 21-24 on vlan 12 (server/printer) both vlans tagged to fiberports 25-26 going to next switch...
Vlan 10 has an ip so I can manage the switch

example 2524:
vlan 1
name "DEFAULT_VLAN"
no ip address
tagged 25-26
no untagged 1-24
exit
vlan 10
name "mgm"
ip address x.x.x.x x.x.x.x
tagged 25-26
exit
vlan 11
name "client"
untagged 1-20
tagged 25-26
exit
vlan 12
name "serv"
untagged 21-24
tagged 25-26
exit

How can i configure my gbe2c the same way
so my second server can reside on the client-
vlan. I want uplink port 20 to be the port
which uplink to one of my other switches.
I want a configuration like:

Example gbe2c:

vlan 1
name "DEFAULT_VLAN"
no ip address
tagged 20
no untagged 1-19,21-24
exit
vlan 10
name "mgm"
ip address x.x.x.x x.x.x.x
tagged 20
exit
vlan 11
name "client"
untagged 2,6,10,14
tagged 20
exit
vlan 12
name "serv"
untagged 1,3-5,7-9,11-13,15-16,21-24
tagged 20
exit

(I want to use port 21-24 for connecting
external servers on vlan 12 if I need)

how to?

regards

3 REPLIES
HEM_2
Honored Contributor

Re: Configure vlan in gbe2c

It should look something like this:

script start "HP c-Class GbE2c Switch" 4 /**** DO NOT EDIT THIS LINE!
/c/port 1
pvid 12
/c/port 2
pvid 11
/c/port 3
pvid 12
/c/port 4
pvid 12
/c/port 5
pvid 12
/c/port 6
pvid 11
/c/port 7
pvid 12
/c/port 8
pvid 12
/c/port 9
pvid 12
/c/port 10
pvid 11
/c/port 11
pvid 12
/c/port 12
pvid 12
/c/port 13
pvid 12
/c/port 14
pvid 11
/c/port 15
pvid 12
/c/port 16
pvid 12
/c/port 20
tag ena
/c/port 21
pvid 12
/c/port 22
pvid 12
/c/port 23
pvid 12
/c/port 24
pvid 12
/c/l2/vlan 1
def 17 18 20
/c/l2/vlan 10
ena
name "mgmt"
def 20
/c/l2/vlan 11
ena
name "client"
def 2 6 10 14 20
/c/l2/vlan 12
ena
name "serv"
def 1 3 4 5 7 8 9 11 12 13 15 16 20 21 22 23 24
/c/l2/stp 2/clear
/c/l2/stp 2/add 10
/c/l2/stp 3/clear
/c/l2/stp 3/add 11
/c/l2/stp 4/clear
/c/l2/stp 4/add 12
/c/l3/if 1
ena
addr 10.10.10.10
vlan 10
/c/l3/if 256
/* addr
/* ena
/c/l3/gw 4
/* ena
/* addr
/
script end /**** DO NOT EDIT THIS LINE
Joakim_2
Advisor

Re: Configure vlan in gbe2c

Thx for reply.
I made a fast configuration like this
and got the traffic working.

(from factory setting)

added vlan 10,11 and 12
added port 20 to all three
enabled tag on port 20
changed ports 2,6,10,14 to pvid 11
changed rest of ports to pvid 12 (not 17-19)

Haven't figured out to put an IP-adress on
VLAN 10 yet.I access the switch through
the IP-interface 256 which gets a IP from dhcp(default setting).

Dennis_L
Advisor

Re: Configure vlan in gbe2c

to add an ip to a vlan you have to create an interface on the switch and add the interface to vlan10