cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2298
Views
0
Helpful
3
Replies

3560 VLAN access-list

rpratikno
Level 1
Level 1

I know that VLAN maps have no bidirection. Is there any other way to do bidirection access-list between VLAN?

The goal scenario:

Host A on VLAN 2, host B on VLAN 3. Host A should be able to open port on host B, but host B should not be able to open port on host A.

Anyone can help?

3 Replies 3

d-mark
Level 1
Level 1

Hi,

if there is a routing device between the 2 VLANs, then I think you can use ip access-lists to filter the traffic beetwen the 2 VLANs

HTH

Mark

Hi Mark,

Thanks for you reply.

The routing device is the 3560 itself. I enable ip routing and the VLAN interfaces is directly connected due to at the same device. I had try to use ip access-list to VLAN interface, it seems didn't work.

adavenport
Level 1
Level 1

rp,

in config:

ip access-list 101 deny tcp host b host a

ip access-list 101 permit ip any any

interface vlan 3

ip access-group 101 in

There are lots of other ways. This is just an example.

Roger

Review Cisco Networking products for a $25 gift card