Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:2824 vlan routing

Reg:2824 vlan routing

Dear sir,

We have 2824 hp switch and we have hp-800 unmanagble switches on my network now i want to create 5 vlans out of this admin vlan has to communicate all other vlans and remaining vlans should not communicate eatch other,if they want to communicate how can i configure the switch and my vlans and ip sceem is:
vlan 1
192.168.1.1/24
vlan2
192.168.2.1/24
vlan3
192.168.3.1/24
vlan4
192.168.4.1/24
vlan5
192.168.5.1/24
vlan 1 is accessble to all other vlans and vlan2,3,4,5 should not communicate eatch other.

plz give me examples how can i do this.

Thanks&Regards
srini
2 REPLIES
cenk sasmaztin
Honored Contributor

Re: Reg:2824 vlan routing

hi srini
you want seperate between vlan
this operation make access control list
because 2824 switch not contain acl

but
2824 switch contain source port filtering command you can use

for exmaple
you want vlan3 and vlan2 not communicate

int 10 vlan 3 untag port
int 11,12,13,14,15 vlan 2 untag port

(config)#filter source-port 10 drop 11,12,13,14,15

this source port filter commad seperate between ports communication

cenk



cenk

cenk sasmaztin
Honored Contributor

Re: Reg:2824 vlan routing

ProCurve Switch 2626# sh run

Running configuration:

; J4900B Configuration Editor; Created on release #H.10.50

hostname "ProCurve Switch 2626"
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1,8-26
ip address 10.0.10.1 255.255.255.0
no untagged 2-7
exit
vlan 2
name "VLAN2"
untagged 2-3
ip address 10.0.12.1 255.255.255.0
exit
vlan 3
name "VLAN3"
untagged 4-5
ip address 10.0.13.1 255.255.255.0
exit
vlan 4
name "VLAN4"
untagged 6-7
ip address 10.0.14.1 255.255.255.0
exit

ProCurve Switch 2626# conf
ProCurve Switch 2626(config)# filter p
Invalid input: p
ProCurve Switch 2626(config)# filter
source-port Specify source-port filter to manage.
ProCurve Switch 2626(config)# filter source-port 2
drop Set a list of ports to which forwarding of filtered
packets is not permitted.
forward Set a list of ports to which forwarding of filtered
packets is permitted.
named-filter Set the filter name.

ProCurve Switch 2626(config)# filter source-port 2 drop 4,5,6,7
ProCurve Switch 2626(config)# filter source-port 3 drop 4,5,6,7
ProCurve Switch 2626(config)# filter source-port 4 drop 2,3,6,7
ProCurve Switch 2626(config)# filter source-port 5 drop 2,3,6,7
ProCurve Switch 2626(config)# filter source-port 6 drop 2,3,4,5
ProCurve Switch 2626(config)# filter source-port 7 drop 2,3,4,5
ProCurve Switch 2626(config)# wr mem
ProCurve Switch 2626(config)# sh run

Running configuration:

; J4900B Configuration Editor; Created on release #H.10.50

hostname "ProCurve Switch 2626"
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1,8-26
ip address 10.0.10.1 255.255.255.0
no untagged 2-7
exit
vlan 2
name "VLAN2"
untagged 2-3
ip address 10.0.12.1 255.255.255.0
exit
vlan 3
name "VLAN3"
untagged 4-5
ip address 10.0.13.1 255.255.255.0
exit
vlan 4
name "VLAN4"
untagged 6-7
ip address 10.0.14.1 255.255.255.0
exit
filter source-port "2" drop 4-7
filter source-port "3" drop 4-7
filter source-port "4" drop 2-3,6-7
filter source-port "5" drop 2-3,6-7
filter source-port "6" drop 2-5
filter source-port "7" drop 2-5

ProCurve Switch 2626(config)#
cenk