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

Traffic between VLAN.

mahmoodkhd
Level 1
Level 1

Dears , 

I have question regarding to control traffic between VLAN.  My VLAN located in Core switch and I need to prevent VLAN 10 from Accessing VLAN 20 and the same time I need VLAN 20 to access VLAN 10.

  Please Advice

3 Replies 3

Sandeep Choudhary
VIP Alumni
VIP Alumni

Hi Mahmood,

how to block access from  vlan 1 to other vlan 2:

access-list 100 deny ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255

access-list 100 permit ip any any

applied

interface vlan1

ip access-group 100 in

Regards

Please rate if it helps.

Hi,

if you do this then you will also restrain vlan  2 to speak to vlan 1, don't forget that IP communication is bidirectionnal.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Hi Alain,

You are right, it will block from both side.

REgards

Review Cisco Networking products for a $25 gift card