Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Block an IP in the same Vlan

Dear All,

How can i block a single IP with in a VLAN. this ip should not be able to access any other ips in the same vlan as well as other vlan in the network.

i have cisco WS-C3560G-48TS switch with me. please help me to do the same

Thanks

4 REPLIES
New Member

Re: Block an IP in the same Vlan

I think you can create an inbound access-list and apply it to the vlan.

access-list 101 deny ip host any

access-list 101 permit ip any any

I am assumming that you are using the switch as an L3 switch

Bronze

Re: Block an IP in the same Vlan

Try looking into the Private VLAN feature.

The ACL method mentioned will not block trafic within the same VLAN.

HTH.

Re: Block an IP in the same Vlan

Hi

U need to use vlan-maps to achieve it.

Thanks

Mahmood

Re: Block an IP in the same Vlan

As Ingolf mentionned, you need PVLAN to tale care of L2 blocking combined with an ACL for L3 blocking.

HTH

Sam

241
Views
3
Helpful
4
Replies